eklausme / saaze-lemire
An example theme and content using the Simplified Saaze static site generator
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- eklausme/saaze: >=1.34
README
Example theme for Simplified Saaze: Lemire
Here is another theme called Lemire for Simplified Saaze. The example content is from Daniel Lemire.
Some key features of the Lemire-theme:
- Lightweight as there are no gimmicks, no social media icons, no categories+tags, no dark theme switcher
- Fully responsive with media breaks at 39rem, 60em, 78rem
- Uses the HashOver commenting system.
See Example Theme for Simplified Saaze: Lemire for installation, conversion, and usage.
Simplified Saaze
Simplified Saaze is a fast, all-inclusive, flat-file CMS for simple websites and blogs.
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
- 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
- Simple to understand - Everything is a collection of entries
For more info and documentation for the original Saaze see https://saaze.dev. Read Simplified Saaze for installation and usage.
Speed
The entire WordPress blog including comments has been migrated to a static site as of 08-Dec-2023. The new site has comments, a commenting system using HashOver, and instant search via Pagefind using WebAssembly.
The migration, theme, and installation is explained in Example Theme for Simplified Saaze: Lemire. The migration of all the content, blog posts and comments, was done via two simple Perl scripts, less than 300 lines.
Running the static site generator on a regular basis: Converting all 2,259 blog posts to static without comments takes 0.41 seconds, including all comments it takes 0.91 seconds for all the 3,935 entries (CPU is Ryzen 7 5700G). This runtime is single threaded (one core). Using multithreading would further reduce this time. The static site generator Simplified Saaze is known to be more than 10-times faster than Hugo, see Performance Comparison Saaze vs. Hugo vs. Zola.
The resulting static site is served three times faster than the WordPress site from Frankfurt and San Francisco as checked by Pingdom. See Performance Comparison of Lemire Website: WordPress vs. Simplified Saaze.
If you want to check the numbers, use:
composer create-project eklausme/saaze-lemire
Credits
Simplified Saaze was created by Elmar Klausmeier.
Saaze was created by Gilbert Pellegrom from Dev7studios. Released under the MIT license.