A Content-First Static Site Generator
# Install
cargo install bim
# Build
bimbuild
# Serve
bimserve --watch
my-site/
index.md # Homepage
nav.md # Navigation
blog/ # Date-sorted posts
notes/ # Hierarchical garden
snippets/ # Code files
images/ # Processed images
static/ # Copied as-is
layouts/ # HTML templates
| Collection | Structure | Features |
|---|---|---|
| blog | flat | RSS, dates |
| notes | hierarchical | auto-index |
| snippets | flat | syntax highlight |
| slides | flat | no backlinks |
This is about [#rust](/tags/rust/) programming.
It applies to [@linux](/contexts/linux/) systems.
Auto-generates:
/tags/rust//contexts/linux/Link from anywhere...
See [my other post](/blog/post/)
...backlinks appear automatically!
Dynamic content in Markdown:
## Recent Posts
Simple placeholder substitution:
<title>{{title}}</title>
<main>{{content}}</main>
No template logic. Keep it simple.
cargo install bim
mkdir my-site && cd my-site
echo "# Hello" > index.md
bimserve