Liara

A fast, easy to use static page generator

What is Liara?

Liara is a static page generator written in Python. It creates web sites which can be deployed to any web server and require no server-side logic. Liara is ideally suited for blogs or personal pages, especially if you need good syntax highlighting. For examples of Liara in action, check out Anteru.net and Shelter13.net.

Simple to use

Liara relies on simple text configuration files to set up your page. There's no need to write any code. Templates can be written using the Jinja2 or Mako template languages.

During development, you can use Liara's built-in server to quickly iterate on the content and styles. Deployment is as simple as calling rsync.

Fast

Processing a real-world sized page with 400 documents and 100 linked files takes around 10 seconds with a cold cache. Liara symlinks files where possible so building pages with large binares or images is very fast.

$ liara --verbose build
Build started
Cleaning output directory: "output" ...
Output directory cleaned
Discovering content ...
Discovered 1610 items
Processing documents ...
Processed 424 documents
Processing resources ...
Processed 97 resources
Publishing ...
Published 424 document(s)
Published 57 indices
Published 97 resource(s)
Published 298 static file(s)
Published 733 generated file(s)
Writing redirection file ...
Wrote 732 redirections
Build finished (10.15 sec)

Install

Liara is a Python package. After obtaining pip, you can install it from PyPI using:

$ pip install liara

To get started, use the built-in quickstart which sets up a simple blog:

$ liara quickstart
$ liara serve