eklausme / saaze
A fast, all-inclusive, flat-file CMS for simple websites and blogs
Requires
- php: >=8.0
- ext-yaml: >=2.2.1
README
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 679 2837 25942 MarkdownContentParser.php 103 380 3569 SaazeCli.php 124 542 7026 Saaze.php 93 341 3446 TemplateManager.php 83 263 2030 php_md4c_toHtml.c 1675 6785 66164 total
Examples
Credits
Simplified Saaze was created by Elmar Klausmeier.
Saaze was created by Gilbert Pellegrom. Released under the MIT license.