Spaz
Welcome to Spaz, a Rust-based static site generator that transforms markdown files into a blazingly fast website.
What is Spaz?
Spaz takes your markdown files and generates a fast, interactive SPA with:
- Zero Runtime Dependencies: All content is generated at build time
- JavaScript Routing: Client-side navigation without any external libraries
- Smart Prefetching: Pages load on hover for instant transitions
- Simple to Use: Just write markdown, run
spaz, get a complete site
Quick Start
# Clone and install
git clone git@github.com:lucky/spaz.git
cd spaz && cargo install --path .
# Create your markdown files
mkdir my-site
echo "# Hello World" > my-site/index.md
# Generate your site
spaz --input my-site --output dist
# View it locally
cd dist && python3 -m http.server 8000
Key Features
- Markdown to HTML: Write content in markdown, get semantic HTML
- Nested Routes: Directory structure becomes your site structure
- Fast Navigation: Client-side routing with instant page transitions
- No Configuration: Works out of the box
- No Dependencies: Everything is self-contained