Habu is likely the simplest static blog generator you'll encounter, no bullshit. If you're techie enough and need a simple page to publish your work and if you share my disgust and terror for blog platforms with massive codebases and my repulsion for all those byzantine Ruby static generators, you might find this little tool of some use.
Firstly, you can install all the required dependencies with:
pip install Jinja2 Markdown Pygments PyYAML
Now just download and extract Habu somewhere, you'll find the main script habu.py with the following available command line options:
usage: habu.py [-h] [-s] [-p] -d DESTINATION
optional arguments:
-h, --help show this help message and exit
-s, --static Install static files
-p, --pages Generate static pages
-d DESTINATION, --destination DESTINATION
Specify the destination folder where to install the
files
You simply need to execute python habu.py -d /path/to/dest and the script will automatically process the available blog posts and generate the resulting HTML pages in the destination folder.
By providing the options --static or --pages you instruct Habu to respectively install the static files (CSS, JavaScript and so on) and generate the static pages.
All available blog posts are stored in the posts/ directory and they consist in a set of YAML headers followed by the body, separated by an empty line:
Title: Blog Post
Slug: blog-post
Data: 1971-01-01 00:00:00
Blog post content.
The blog post content can be defined with the popular Markdown syntax, which makes the editing very easy and flexible, or with pure HTML.
Habu also integrates a Pygments based pre-processor, which will highlight code blocks according to the specified programming language.
Looking for other Habu-like programs? We've rounded up our favorites Habu alternatives. Try any one of these fan favorites to see if they'll support your system and meet your specific needs.
Ghost is a fully open source, hackable platform for building and running a modern online publication. We power blogs, magazines and journalists from Zappos to Sky News.
Features:
Jekyll is a simple, blog aware, static site generator. It takes a template directory (representing the raw form of a website), runs it through and Liquid converters...
Features:
Hugo is a general-purpose website framework for generating static web pages. Hugo flexibly works with many formats and is ideal for blogs, docs, portfolios and much more.
Features:
Hakyll is a Haskell library for generating static sites, mostly aimed at small-to-medium sites and personal blogs. It is written in a very configurable way and uses an...
Features:
Add your reviews & share your experience when using Habu to the world. Your opinion will be useful to others who are looking for the best Habu alternatives.
Table of Contents
Popular Alternatives
iOS Alternatives
Android Alternatives
Copyright © 2021 TopAlter.com
Sites we Love: AnswerBun, MenuIva, UKBizDB, Sharing RPP