karl.berlin
naif-blog-engine
karl.berlin | naif-blog-engine | |
---|---|---|
4 | 1 | |
65 | 0 | |
- | - | |
4.3 | 5.1 | |
4 months ago | 3 months ago | |
Shell | JavaScript | |
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.
karl.berlin
-
“Make” as a Static Site Generator
> I found his GEMINI approach quite funny - it strips out most of the formatting with a regexp.
Do you mean the regexp in https://github.com/karlb/karl.berlin/blob/master/blog.sh#L4 ? It doesn't remove the formatting, just HTML comments (because they would show up on the page, otherwise) and rel="me" attributes (because they don't work with md2gemini). Feel free to read the blog post about adding Gemini support for more details: https://www.karl.berlin/gemini-blog.html
- Show HN: Shite: The little hot-reloadin' static site maker from shell
naif-blog-engine
-
“Make” as a Static Site Generator
I check for orphan files in 'build' only before doing deploy. It's easy enough:
* save a sorted list of targets in file A
* save a sorted list of files from an output dir in file B
* diff -u A B
an example: https://github.com/gromnitsky/naif-blog-engine/blob/58c55497...
What are some alternatives?
shite - The little hot-reloadin' static site maker from shell.
static-page-generators - Static Page Generator Experiments
utterson - a minimal static blog generator written using old-school unix tools (make, ksh, m4, awk, procmail and a pinch of elisp)
xml2 - This is a git clone of the xml2 sources at http://dan.egnor.name/xml2/
bash-toolkit - Could be my ever-growing, ever-improving, Swiss Army Toolkit of functions-as-cmd-line-tools and useful-to-me patterns.
minblog
blogs - Here is where I store the supporting files for my blog entries on https://jeffmdavies.medium/com
askiiart - Config files for my GitHub profile.
just - 🤖 Just a command runner