Skip to content
An inelegent, slow, but static, site generator. Everyone needs to write one. Or several.
Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add README Jan 18, 2020
.gitignore put pages into directories Jan 14, 2020
Cargo.lock add Date Jan 15, 2020
Cargo.toml add Date Jan 15, 2020
LICENSE Add LICENSE and build instructions Jan 18, 2020
README.md Add LICENSE and build instructions Jan 18, 2020
config.toml.default RSS Jan 16, 2020

README.md

nextgen

A static site generator in Rust.

Built to see how much code is really needed to replicate my website that is built with hugo.

The result are 333 lines of code (282 NCLOC) and using 6 crates.

Here's a detailed writeup about the development.

How to build

Have a somewhat current version of stable Rust, 1.38.0 works fine.

# get a theme
git clone https://github.com/winks/nextgen-themes
ln -s nextgen-themes/f5n.org theme
# build and run
cargo build --release

mkdir public
./target/release/nextgen

License

ISC

You can’t perform that action at this time.