Simple app to generate and serve static content.More info in this article (ru).
- install the package
go install larana.tech/go/electrostatic@latest - initialize the project
electrostatic -m init -r /path/to/source - edit
template.htmlandconfig.tomlas you wish - You are ready to go!
This app supports 2 modes:
Just run it with electrostatic -m serve -r /path/to/source
Build it with electrostatic -m export -r /paht/to/source.
Your static site will be written in ./dist directory.
Copy it to your static server and that's all.
Links will be created in /posts/2026-02-27-post-title format, not
/posts/2026-02-27-post-title.html (the .html will be missing).
If you want them to work, you'll need to config your server config.
Check out this issue: #18