A micropub server for git-backed static sites. Supports Hugo (with Jekyll, 11ty planned).
- Full Micropub protocol support (create, update, delete)
- Media endpoint for file uploads
- IndieAuth token delegation
- Direct git commits to Hugo repositories
- Plugin architecture for multiple static site generators
# Build
go build -o staticpub
# Run
export GIT_REPO_URL="git@github.com:user/blog.git"
export INDIEAUTH_TOKEN_ENDPOINT="https://tokens.indieauth.com/token"
export SITE_URL="https://example.com"
./staticpubSee config.example.toml for all options.
# Run tests
go test ./...
# Run with live reload
go run main.goMIT