Stapy
Static site generator written in Python that builds sites from JSON page data and templates, with a local development server.
stapy.magentix.frrepositorydocs
Stapy is a static site generator written in Python that works on any operating system without additional packages. Pages are defined as JSON files in a source/pages directory and rendered through HTML templates and themes, with an expression syntax for variables and blocks and Python plugins for custom code.
A local HTTP server serves the site while it is being written, and an official editor plugin runs in the browser from that server. A build writes the static files of each environment to the web directory, so the production folder can be sent to a classic host by SFTP or pushed to a static host. The documentation describes the steps.
Worth knowing
The old address stapy.net no longer resolves; the README names stapy.magentix.fr as the official website. The source is on Sourcehut.
Identity
Rendering and deploy
- Runs as
- Dev only, Static files2
- Rendering
- Static output2
- Install with
- download release archive (tar.gz or zip)12
Releases
Sources
- 2026-10-23: links, Written in, Categories, Runtime, Minimum runtime, Install with
git.sr.ht/~magentix/stapy/blob/master/README.md - 2026-10-23: links, Install with, Rendering, Runs as, Templating, Content storage
stapy.magentix.fr/ - 2026-10-23: Maintainer, License, License model
git.sr.ht/~magentix/stapy/blob/master/LICENCE - 2026-10-23: Admin interface
stapy.magentix.fr/editor.html - 2026-10-23: First release, Last release
git.sr.ht/~magentix/stapy/blob/master/CHANGELOG.md - 2026-10-23: Current major version
git.sr.ht/~magentix/stapy/refs