eklausme/saaze

A fast, all-inclusive, flat-file CMS for simple websites and blogs

v2.5 2024-12-02 17:25 UTC

README

Latest Stable Version License

Simplified Saaze

Simplified Saaze is a fast, all-inclusive, flat-file CMS for simple websites and blogs. It comes with no graphical user-interface, but rather is used entirely via command-line.

Static site builders are fast but normally have a steep learning curve and require lots of tooling to make them work. We believe building a personal site should be stupidly simple. That's why Simplified Saaze is built on the following principles.

  • Easy to run - All you need is PHP8, a C compiler, and Composer; no dependency hell
  • Easy to host - Serve dynamically or statically
  • Easy to edit - Edit content using simple Markdown files
  • Easy to theme - Templates use plain PHP/HTML
  • Fast and secure - No database = less moving parts + more speed, 30-times faster than Hugo, and 4-times faster than Zola
  • Simple to understand - Everything is a collection of entries

Simplified Saaze is, as the name implies, a simplifed version of Saaze. For more info and documentation for the original Saaze see https://saaze.dev. Read Simplified Saaze for installation and usage.

Easy to understand

Entire code is ca. 1.5kLines of PHP and C code.

wc *.php *.c
  277  1123 12274 BuildCommand.php
   41   127  1266 CollectionArray.php
  132   530  4702 Collection.php
   50   236  2175 Config.php
   93   406  3734 Entry.php
  680  2840 25985 MarkdownContentParser.php
  103   380  3569 SaazeCli.php
  124   548  7134 Saaze.php
   94   363  3654 TemplateManager.php
   83   263  2030 php_md4c_toHtml.c
 1677  6816 66523 total

Examples

There are a number of example themes for Simplified Saaze.

Credits

Simplified Saaze was created by Elmar Klausmeier.

Saaze was created by Gilbert Pellegrom. Released under the MIT license.