15 releases

0.1.15 Mar 6, 2024
0.1.14 Mar 1, 2024
0.1.13 Nov 29, 2023
0.1.8 Oct 17, 2023
0.1.3 Sep 29, 2023

#264 in HTTP server

Download history 3/week @ 2024-02-23 291/week @ 2024-03-01 79/week @ 2024-03-08 9/week @ 2024-03-15 61/week @ 2024-03-29 18/week @ 2024-04-05

406 downloads per month

GPL-3.0-or-later

39KB
761 lines

Heiwa

A minimalist dynamic flat-file CMS.

Heiwa is currently in BETA state.

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

Crates.io Version Crates.io License CI/CD Mastodon

Description

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.

Licence

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

Installation

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.

Contribute

TODO

Development

TODO

ko-fi

Dependencies

~28–41MB
~695K SLoC