incbin
Publii
incbin | Publii | |
---|---|---|
9 | 97 | |
917 | 5,967 | |
- | - | |
0.0 | 9.3 | |
4 months ago | 18 days ago | |
C | HTML | |
The Unlicense | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
incbin
-
Self-contained Linux applications with lone Lisp
OK, yes, that does work. You can totally put application specific stuff in the elf and reflect on it at runtime. Much easier is to embed it directly and point a symbol value at the start of the data.
See https://github.com/graphitemaster/incbin for a pretty wrapper around that.
Aside from there being a drastically simpler answer to this problem available in sketchily documented fashion (the asm guys know .incbin is a thing, but higher level languages overcomplicate it), it's a good post. Idea is sound and goal was achieved.
-
The theory versus the practice of “static websites”
Thanks for the link. We also make static websites by direct inclusion their HTML code in the C++ binary of ClickHouse.
I've tried to use this library but found a bug: https://github.com/graphitemaster/incbin/issues/61
-
Olive.c: a simple graphics library that does not have any dependencies
won't work, since the preprocessor won't interpret directives inside string literals of course.
In many assemblers, there is a directive called "incbin" which pastes in unstructured binary data at the point of usage. I just found a very clever C and C++ wrapper [1] for that, which gives you an INCBIN() macro. Nice!
[1]: https://github.com/graphitemaster/incbin
-
embed workaround
There's always this: https://github.com/graphitemaster/incbin
-
Finally. Embed
Haven't the people making the standards other things to do, like, integrating useful features instead of duplicating incbin.h [0] years after that feature worked?
https://github.com/graphitemaster/incbin/blob/main/incbin.h
- How do I embed files or access them without an operating system?
-
Include files into the Sketch automatically with incbin
There is a project "https://github.com/graphitemaster/incbin" that can take a file and put that file content into the sketch ROM segment as constant / resource. It is an even nicer alternative to "xxd -i" or using string literals like: const char bla[] PROGMEM = R"CERT( ... )CERT";
Publii
-
Soupault: A static website management tool
Those have complicated stacks that likely won't serve the person that can't grasp a CLI SSG.
https://getpublii.com has a simple GUI and is just a directory on your computer (inside the Dropbox directory for crude backup?).
-
Show HN: Pages CMS – A CMS for GitHub
Very nice! It looks a bit like Publii [0], but the editor part is cloud hosted instead of running as an app on your machine.
[0] https://getpublii.com/
-
No CMS? Writing Our Blog in React
Publii is one of the few competent attempts at a desktop CMS app.
https://getpublii.com/
They do a lot of things right.
-
Ask HN: Looking for lightweight personal blogging platform
Most SSGs, or if you want to have it easy: https://getpublii.com/ - generates static sites, can publish to github pages (among others), has themes.
- Let's make the indie web easier
- Ask HN: Local Wysiwyg HTML Editor for Mac
- Publii: Static CMS with GUI for Secure, Fast, and GDPR Compliant Websites
-
What's your favorite static site generator?
I also consider https://getpublii.com interesting, but I have not yet had any personal experience with it.
-
How to migrate my static website from GitHub to a NAS, while using Publii?
I'd like to ask for some help regarding on how to "migrate" my website to my personal storage, more specifically how to do that while having everything made with Publii.
-
The theory versus the practice of “static websites”
I haven't used it, but Publii[0] might be along the lines of what you're thinking of. I ran across it in a previous HN discussion, and it seems to be static site generator with a pretty user-friendly graphical interface.
[0]: https://getpublii.com/
What are some alternatives?
aoc-2020 - Advent of Code 2020 in 25 Different Languages
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
xplain - Interactive demos
Hugo - The world’s fastest framework for building websites.
ComputerGraphics - Basic computer graphics implementation , with linux framebuffer
GDIndex - A Google Drive Index built with Vue Running on CloudFlare Workers
execfs - Proof of concept userspace filesystem that executes filenames as shell commands and makes the result accessible though reading the file.
gatsby-source-sanity - Gatsby source plugin for building websites using Sanity.io as a backend.
pl_mpeg - Single file C library for decoding MPEG1 Video and MP2 Audio
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
SuperSimpleGraphics - An SVG generating single header file C library appropriate for "intro to programming" classes in C/C++.
Ghost - Independent technology for modern publishing, memberships, subscriptions and newsletters.