Roxy, a command line static site generator
Go to file
kitsunecafe c2ef25c9cf update readme 2024-02-22 01:39:05 -05:00
src fixes #1 2024-02-22 01:14:29 -05:00
.gitignore init 2024-01-17 04:26:21 -05:00
Cargo.lock bump version 2024-02-22 01:16:04 -05:00
Cargo.toml bump version 2024-02-22 01:16:04 -05:00 update readme 2024-02-22 01:39:05 -05:00
rust-toolchain.toml i dont remember 2024-01-24 02:13:16 -05:00


this is a wip overhaul for my static site generator, roxy. it technically works but it's very rough around the edges.


cargo install roxy_cli


roxy_cli [INPUT] [OUTPUT]

Roxy will read each file from INPUT for valid files. It will look for toml for data and md, html, or tera for layout an content files. toml data is loaded into an object and given to content files (which can be used as variables with Tera placeholders). The content files will be processed first as Markdown, then as a Tera template. The output of this process will write to OUTPUT, preserving the original path (relative to INPUT).


Currently, Roxy only has two configuration keys

# config.toml
slug_word_limit = 8 # the max word limit for a slug

theme = "base16-ocean.dark" # the name of the theme for syntax highlighting
theme_dir = "./themes" # directory to load themes into syntect