4 ms·
I also published my own static website generator. (Excuse my albeit-related shameless plug.) https://github.com/shazow/composer https://github.com/shazow/compo
by shazow 14y ago
I also published my own static website generator. (Excuse my albeit-related shameless plug.)
https://github.com/shazow/composer https://github.com/shazow/composer
Composer is framework for building your own static site generator. It's not opinionated about what kind of website you want, or which templates you want to use, or what kind of pre/post processing you want to do, etc.
For example, shazow.net is composed by pulling metadata from a git repo and using author/timestamps those as variables in each Mako template container for Markdown+Pygments processed text.
Composer comes with a bunch of pre-built filters for convenience (Mako, Markdown, Jinja2, RST, Pygments—adding your own is bordering trivial), a site compiler and auto-reloading server, and some other reusable components.
If you're interested in doing something completely custom, this might be a good starting point. I haven't worked on it in several months but I like the core philosophy and design—I think others might too. Forks and pull requests welcome.