2 published: 2026-06-10 10:41:00
3 updated: 2026-06-10 10:41:00
4 topics: flow-web, Static web site, generator, Rust
5 title: flow-web: A program that will allow you to generate static website
6 snippet: flow-web is a program written in Rust that will allow you to generate luflow.net static website.
10 This static website is generated with a program written in [Rust](https://rust-lang.org/)
11 called [flow-web](https://luflow.net/git-repos/flow-web.git).
12 `flow-web` is specifically written to generate this static website.
16 Install `Rust` from your package manager or by downloading from here:
17 [https://rust-lang.org/](https://rust-lang.org/).
21 Install `git` from your package manager or by downloading from here:
22 [https://git-scm.com/install](https://git-scm.com/install). The [git repository](https://luflow.net/git-repos/flow-web.git)
23 can also be browsed online.
25 Clone the `git` repository:
28 git clone https://luflow.net/git/flow-web.git
31 ### Compiling the code
33 cd into the cloned dir:
39 Build using release mode:
45 ### Generating the site
47 Generate the site using release mode:
53 The generated output can be found in '**output**' folder.
57 Run the following command to serve locally using **[servez](https://www.npmjs.com/package/servez)** as an example:
63 Then, visit the following url in a web browser:
65 [http://localhost:8080/](http://localhost:8080)
67 You can stop the server pressing CTRL+c.
69 servez can be installed through [Node.js](https://nodejs.org/en) like so:
77 [flow-web](https://luflow.net/git-repos/flow-web.git) is licensed under the
78 [GNU AGPL](https://gnu.org/licenses/agpl-3.0.html) license.