Veltox - A Minimal Static Site Generator in Rust

โš“ Rust    ๐Ÿ“… 2025-10-20    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 1      

surdeus

Hello

I just released Veltox, a minimal static site generator written in Rust. Itโ€™s fast, simple, and self-contained โ€” built for documentation, blogs, and lightweight sites. If you want a no-fuss way to turn Markdown into HTML, Veltox might be worth a look.

Features

  • Markdown to HTML via pulldown-cmark
  • Theme support with {title} and {body} placeholders
  • Asset copying (CSS, images, etc.)
  • CLI interface: build, serve, and custom output folders
  • One-file core (~150 lines of Rust)

Example Structure

my-site/
โ”œโ”€โ”€ content/
โ”œโ”€โ”€ themes/
โ”‚   โ””โ”€โ”€ default/
โ”‚       โ”œโ”€โ”€ template.html
โ”‚       โ””โ”€โ”€ assets/
โ”œโ”€โ”€ dist/

Usage

cargo run -- build
cargo run -- serve
cargo run -- build --output docs

I originally built it to generate docs for Velto, but itโ€™s general-purpose and easy to extend. If youโ€™re curious or have ideas for themes or plugins, Iโ€™d love to hear what you think.

https://github.com/pjdur/veltox

1 post - 1 participant

Read full topic

๐Ÿท๏ธ Rust_feed