(unmaintained) static blog generator in python with incremental rendering ⛺
Oh, and it can also generate a static blog with articles, static pages, tags, RSS/Atom feeds (also per tag), article listing and a sitemap.
I'm studying bioinformatics and I was experimenting with Acrylamide at this time. I'm really bad at naming. If you have a better name, please tell me! Two requirements: reasonably speakable and tab-completion after 3 characters.
With Acrylamid you can write your weblog entries with your editor of choice in Markdown, reStructuredText or textile. With several content filters you can pimp your HTML (typography, math, hyphenation). Acrylamid provides a very sophisticated CLI and integrates perfectly with any DVCes. It generates completely static HTML you can host everywhere.
supported markup languages
You miss one? Extend Acrylamid in less than 30 LoC_!
easy_install -U acrylamid
This installs Acrylamid with Jinja2_ as templating engine. For Mako use:
easy_install -U acrylamid[mako]
This installs two additional but not required dependencies:
translitcodec. To get a list of all supported modules, head over to additional supported modules.
If you rather use non-ascii characters, you're better off with:
easy_install -U acrylamid python-magic unidecode
Initialize the base structure, edit conf.py and layouts/ and compile with:
$ acrylamid init myblog # --mako, defaults to --jinja2 create myblog/conf.py ... $ cd myblog/ $ acrylamid compile && acrylamid view create [0.05s] output/articles/index.html create [0.37s] output/2012/die-verwandlung/index.html create [0.00s] output/index.html create [0.00s] output/tag/die-verwandlung/index.html create [0.00s] output/tag/franz-kafka/index.html create [0.03s] output/atom/index.html create [0.04s] output/rss/index.html create [0.00s] output/sitemap.xml create output/style.css 9 new, 0 updated, 0 skipped [0.72s] * Running on http://127.0.0.1:8000/
Real World Examples?
mecker. mecker. mecker. – Martin Zimmermann [source https://github.com/posativ/blog.posativ.org/]
Groovematic – Isman Firmansyah [`source https://github.com/iromli/groovematic]
Christoph Polcin – Christoph Polcin [source http://git.christoph-polcin.com/blog/, theme http://git.christoph-polcin.com/acrylamid-theme-bipolar/]
Knitatoms – Tom Atkins [source https://github.com/knitatoms/knitatoms.net]
blubee.me – Owen Hogarth [source https://github.com/teamblubee/http-blubee.me]
See commands for a detailed overview.
$ acrylamid --help usage: acrylamid [-h] [-v] [-q] [-C] [--version] ...
init initializes base structure in DIR compile compile blog view fire up built-in webserver autocompile automatic compilation and serving new create a new entry check run W3C or validate links deploy run task import import content from URL or FILE info short summary ping notify ressources
optional arguments: -h, --help show this help message and exit -v, --verbose more verbose -q, --quiet less verbose -C, --no-color disable color --version show program's version number and exit
#acrylamidon Freenode! If you found a bug, please report it on GitHub Issues. The project has also a mailing list [Archive_], just send an email to [email protected] and you have subscribed.