A single-binary blog engine. Everything is embedded — just copy and run.
- Single Binary: Templates, static files, and posts all embedded
- Zero Dependencies: Download and run, that's it
- Markdown Posts: Write posts in markdown with frontmatter
- Tags & Search: Organize andfind posts easily
- RSS Feed: Auto-generated at
/rss
# Create a new post
go run main.go new "My First Post"
go run main.go new --tags "go,web" "Learning Go"
# Run locally (with hot reload)
go run main.gogo build -ldflags="-s -w" -o blog main.goThat's it. Run the binary:
./blogThe binary contains everything. No config files, no static directories needed.
# Copy to server
scp blog user@server:~
# Run
./blog -port ":80" -title "My Blog"Push a tag to trigger automatic builds:
git tag v1.0.0
git push origin v1.0.0Downloads appear under Releases with binaries for:
- Linux (amd64, arm64)
- macOS (amd64, arm64)
- Windows (amd64)
- Write/edit posts locally in
posts/ - Test with
go run main.go - Commit and push
- Tag a release:
git tag v1.x.x && git push --tags - GitHub Actions builds binaries
- Download binary, copy to server, run
Filename: YYYYMMDDHHMMSS-slug.md
title: Your Post Title
tag: tag1, tag2, tag3
Your markdown content here..../blog -port ":3000" -perpage 10 -title "My Blog"