Skip to content

Micropub server for publishing to git-backed static sites (Hugo, Jekyll, 11ty)

Notifications You must be signed in to change notification settings

harperreed/staticpub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

staticpub

A micropub server for git-backed static sites. Supports Hugo (with Jekyll, 11ty planned).

Features

  • 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

Quick Start

# 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"
./staticpub

Configuration

See config.example.toml for all options.

Development

# Run tests
go test ./...

# Run with live reload
go run main.go

License

MIT

About

Micropub server for publishing to git-backed static sites (Hugo, Jekyll, 11ty)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •