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.
Lets compare the best apps like Habu, shall we? We've picked out some really great programs for your platform. Check them out!
Grav is an easy to use, yet powerful, opensource CMS that requires no database. In a nutshell, installing Grav is a matter of unzipping the file. It is fast, has...
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:
Static site generator, written in Python, that requires no database or server-side logic.
Features:
Hexo is a fast, simple and powerful blog framework powered by Node.js which have extensive plugins selections for a Static Site Generator and a great communities.
Features:
Modern web tech without the headache Enjoy the power of the latest web technologies – React.js, Webpack, modern JavaScript and CSS and more — all setup and waiting for...
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:
Simplicity First Minimal setup with markdown-centered project structure helps you focus on writing. Vue-Powered Enjoy the dev experience of Vue + webpack, use Vue...
Vapid is an intentionally simple content management system built on the idea that you can create a custom dashboard without ever leaving the HTML. FASTEST WAY TO...
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.
Popular Alternatives
iOS Alternatives
Android Alternatives
Copyright © 2021 TopAlter.com
Sites we Love: AnswerBun, MenuIva, UKBizDB, Sharing RPP