A simple static site generator written in rust.
Do build from source, you need rust installed. You can install it here.
First, clone the repo.
sh
git clone https://github.com/nph278/rust-ssg.git
Then, run cargo build --release
to build out the project. You can install the build on your computer with install target/release/rust-ssg usr/local/bin/rust-ssg
.
Run rust-ssg init
in an empty folder to create a website.
You can now build the default site with rust-ssg build
.
To start developing, run rust-ssg dev
and go to localhost:3000
in you browser.