Minimal static site generator in Rust. Zero dependencies, single binary.
brew tap dask-58/stick https://github.com/dask-58/stick
brew install stickgit clone https://github.com/dask-58/stick.git
cd stick
cargo build --release
sudo cp target/release/stick /usr/local/bin/cargo install --path .stick # content/ -> dist/
stick ./docs # docs/ -> dist/
stick -i src -o public # src/ -> public/-i, --input <DIR> Input directory (default: content)
-o, --output <DIR> Output directory (default: dist)
-h, --help Print help
-V, --version Print version
Create markdown files in content/:
# My Page
This is **bold** and *italic* text.
## Lists
- Item one
- Item two
| Column A | Column B |
|----------|----------|
| Data 1 | Data 2 |Run stick and open dist/my-page.html.
| Syntax | Output |
|---|---|
# - #### |
Headings |
**text** |
Bold |
*text* |
Italic |
`text` |
Inline code |
[text](url) |
Link |
- item |
Unordered list |
1. item |
Ordered list |
> text |
Blockquote |
--- |
Horizontal rule |
``` |
Code block |
| a | b | |
Table |
brew untap dask-58/stick
brew tap dask-58/stick https://github.com/dask-58/stick
brew install stickAlways include the full URL:
brew tap dask-58/stick https://github.com/dask-58/stickbrew uninstall stick
brew install stickstick --versionMIT