incbin
decap-cms
incbin | decap-cms | |
---|---|---|
9 | 80 | |
917 | 17,499 | |
- | 0.2% | |
0.0 | 9.2 | |
4 months ago | 10 days ago | |
C | JavaScript | |
The Unlicense | MIT License |
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";
decap-cms
-
Show HN: Pages CMS – A CMS for GitHub
Following one of the comments in this thread I reviewed two other products in this space - https://www.staticcms.org/ and https://decapcms.org/ - and it looks like the webpages are almost a direct copy of one another, one in dark mode and one in light mode.
I'm a technical product marketer, and I find these type of landing page copying amusing to no end.
-
9 best Git-based CMS platforms for your next project
Decap CMS, formerly Netlify CMS, is an extensible headless CMS built as a single-page React app. It’s an open source and completely free-to-use option that offers rich-text editing, real-time preview, and drag-and-drop media uploads.
-
Ask HN: Tools for Managing Static Sites?
You can look into a Git-based CMS, such as https://github.com/decaporg/decap-cms
These typically are designed to support static site generators.
-
Looking for the Best Way to Create and Update a One-Page Event Grid for My City
I found https://decapcms.org/ which seems like an easy to use.
-
Casidoo on TinaCMS
Did you consider https://decapcms.org/ (previously Netlify CMS)? I'm surprised it never really caught on as it seems a good fit for most small Markdown based sites. Looks like Smashing Magazine was using it before they moved to Tina CMS (https://www.smashingmagazine.com/2020/01/migration-from-word...).
-
The theory versus the practice of “static websites”
Products like [decap CMS](https://github.com/decaporg/decap-cms) try to bridge that gap, but I agree that this space needs to be further developed. In fact I think there needs to be a bunch more work to allow mere mortals to use version control and branch workflows in day to day work.
-
How to build a website without frameworks and tons of libraries
I've thought of something similar! A git-based flow for a friend's static portfolio site, where he can make text edits and upload images, and the site builds that content with HTML templates.
Not sure how the GitHub markdown editor would feel for the user. It might be really great, even for uploading images.
I was imagining a static admin page, WYSIWYG, that makes git pushes on submit. These were the headless CMSs that seem to be able to accomplish that:
https://www.siteleaf.com/
https://decapcms.org/
And not git based, but similar idea: https://editable.website/
And this is what the admin edit page usually looks like: https://quick-edit-demo.vercel.app/admin/index.html#/collect...
But was taking a bit of work to configure.
-
Looking for a statically deployed site-builder / CMS that stores content in GitHub
Since I made my post, I've also discovered Decap CMS. This looks fairly close to what I was looking for - it deploys as a static SPA alongside the site on a /admin route, allows login with Github (and several other platforms), and builds the site using a choice of static site generator like Gatsby/Hugo/Jekyll etc. The templates are relatively rigid by default though - page layouts are defined up front, and to add a page with a different layout you need to manually add some files to the repo. It seems like there's a way to work around this and add flexibility, but it needs a bit of custom React development. It seems like this might be worth the time investment for me though, since it's the closest thing I've found to what I need so far.
-
Suggestions for a CMS
If you've got the content in .md and .json files and you just need a way to add or modify that content, I would recommend you look into decap CMS (formerly netlify CMS)
- Best CMS/SSG for small business website?
What are some alternatives?
aoc-2020 - Advent of Code 2020 in 25 Different Languages
Strapi - 🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable and developer-first.
xplain - Interactive demos
tinacms - A fully open-source headless CMS that supports Markdown and Visual Editing
ComputerGraphics - Basic computer graphics implementation , with linux framebuffer
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
execfs - Proof of concept userspace filesystem that executes filenames as shell commands and makes the result accessible though reading the file.
sanity - Sanity Studio – Rapidly configure content workspaces powered by structured content
pl_mpeg - Single file C library for decoding MPEG1 Video and MP2 Audio
firecms - Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
SuperSimpleGraphics - An SVG generating single header file C library appropriate for "intro to programming" classes in C/C++.
Directus - The Modern Data Stack 🐰 — Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.