Statix is a stand-alone Bash script aimed at generating full-featured, routable static websites from reusable HTML snippets. It features the most basic templating engine ever possible but allows to organize your content in a SEO-friendly way. All Statix-based websites contain these parts:
- Templates: a directory where all HTML templates are stored
- Route configuration: a file that maps each publicly accessible template to a SEO-friendly URL
- Assets: a directory with optional files copied to the output website directory with no processing.
This script is also lightweight. Aside from some standard file management commands such as cp
, mkdir
and rm
, the only serious dependency for Statix is GNU Grep compiled with PCRE support (i.e. the version that supports -P
flag, included in most Linux distributions).