17 releases

Uses new Rust 2024

0.2.3 Oct 10, 2025
0.2.1 Aug 22, 2025
0.1.15 Mar 6, 2024
0.1.13 Nov 29, 2023
0.1.3 Sep 29, 2023

#356 in HTTP server

Download history 120/week @ 2025-08-20 10/week @ 2025-08-27 3/week @ 2025-09-03 8/week @ 2025-10-01 196/week @ 2025-10-08 14/week @ 2025-10-15

218 downloads per month

GPL-3.0-or-later

48KB
1K SLoC

Heiwa

Crates.io Version Crates.io License Mastodon Ko-fi

Heiwa is currently in BETA state.

Bugs may occurs and there is still a lot of work to do on optimizing the code.

Heiwa is a minimalist flat-file CMS using Markdown to generate HTML pages. There is no build step, as static site generator, since pages are generated on the fly when accessing them from the browser.

The Rust language, also known for is performance regarding strings and files operations, makes Heiwa very fast, to dynamically render web pages.

TODO screenshot

Licence

The Heiwa project is under GPLv3 licence : https://www.gnu.org/licenses/gpl-3.0.en.html

Installation

Depedencies :

sudo apt install libssl-dev # on Ubuntu
sudo dnf install openssl-devel # on Fedora

Using Rust package manager :

cargo install heiwa

Documentation

Initialize a new Heiwa website project :

heiwa init project_name

Add a theme in the project_name/themes/theme_name directory. The Heiwa default theme can be found here : Shizen

Edit the project_name/config.toml file accordingly.

Launch the builtin web server :

cd project_name
heiwa serve

Access your website at localhost:3000.

Contributing

Prerequisites :

sudo apt install libssl-dev pkg-config

Support

For support, please create an issue on Codeberg.

Authors

Haruka, follow me on Mastodon or support me on Ko-fi

Dependencies

~32–48MB
~783K SLoC