7 releases
Uses new Rust 2024
new 0.1.6 | Mar 28, 2025 |
---|---|
0.1.5 | Mar 28, 2025 |
#291 in Web programming
250 downloads per month
14KB
251 lines
Nadir
Static site builder focused on simplicity.
Status
This project is in early development. Currently it supports:
- Partials
- Templates
- Dev Mode (Watcher)
Installation
Cargo
To install with cargo, just install the tool globally with:
cargo install nadir
Then you can run the static site builder in your project directory:
nadir
Usage
For example usage and syntax, check out the example folder.
Configuration
In your project create a nadir.config.json file, with the following structure:
{
"inputDir": "src",
"outputDir": "dist"
}
inputDir
- is the directory where your html (and other files) for your site areoutputDir
- is the directory where the build static site will be written/saved to
Dependencies
~15–23MB
~284K SLoC