Palila is a minimal, hackable, dependency-free Python static site generator. There are hundreds of Jamstack static site generators. Palila was created to facilitate automated deployment of small websites on LAMP stack servers with PHP and Python.
How it works: Palila crawls a directory tree and whenever it finds index.md
it generates index.html
according to template.html
containing mustache tags.
- No dependencies - Runs on servers without access to
pip
- Folder names are URLs -
index.html
is generated in folders containingindex.md
- No routing - No need to engage PHP or
.htaccess
to route requests - Simple development - Just markdown and Python (no Apache, PhP, or Docker)
- Automated deployment - A GitHub action requests
deploy.php
togit pull
andpython build.py
to rebuild the site server-side. - Easy customization - Syntax highlighting, table of contents, anchor headings, embedded YouTube videos, etc...
palila.py --root ./demo --template demo/style/template.html
Pelican is a full-featured static site generator powered by Python. Compared to the pelican, the palila is quite small.