/saaze

Simplified Saaze is a static site generator. It aims to be fast, easy to understand and easy to use.

Primary LanguagePHPMIT LicenseMIT

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. 1kLines of PHP and C code.

wc *.php *.c
  236   877  9950 BuildCommand.php
   40   111  1116 CollectionArray.php
  137   478  4239 Collection.php
   46   206  1827 Config.php
   92   373  3401 Entry.php
  565  2267 20595 MarkdownContentParser.php
   76   239  2292 SaazeCli.php
  104   450  5654 Saaze.php
   87   294  2934 TemplateManager.php
   82   242  1929 php_md4c_toHtml.c
 1465  5537 53937 total

Credits

Simplified Saaze was created by Elmar Klausmeier.

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