1.8 KiB
author: Andreas published: 2026-06-10 10:41:00 updated: 2026-06-10 10:41:00 topics: flow-web, Static web site, generator, Rust title: flow-web: A program that will allow you to generate static website snippet: flow-web is a program written in Rust that will allow you to generate luflow.net static website.
This static website is generated with a program written in Rust
called flow-web.
flow-web is specifically written to generate this static website.
Installing Rust
Install Rust from your package manager or by downloading from here:
https://rust-lang.org/.
Getting the code
Install git from your package manager or by downloading from here:
https://git-scm.com/install. The git repository
can also be browsed online.
Clone the git repository:
git clone https://luflow.net/git/hfsoulz/flow-web.git
Compiling the code
cd into the cloned dir:
cd flow-web
Build using release mode:
cargo build --release
Generating the site
Generate the site using release mode:
cargo run --release
The generated output can be found in 'output' folder.
Serve locally
Run the following command to serve locally using servez as an example:
servez output
Then, visit the following url in a web browser:
You can stop the server pressing CTRL+c.
servez can be installed through Node.js like so:
npm install -g servez