Crates.io | nph-ssg |
lib.rs | nph-ssg |
version | 0.1.0 |
source | src |
created_at | 2021-10-01 20:38:00.632771 |
updated_at | 2021-10-01 20:38:00.632771 |
description | A tiny static site generator. |
homepage | |
repository | |
max_upload_size | |
id | 459239 |
size | 21,537 |
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.
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.