Skip to content

Installation

  • Go 1.26+ (for building from source)
  • Or Docker, or Nix
Terminal window
docker run -p 8080:8080 -v ./content:/content ghcr.io/larsartmann/dynamic-markdown-site:latest

Open http://localhost:8080.

Terminal window
git clone https://github.com/LarsArtmann/dynamic-markdown-site.git
cd dynamic-markdown-site
# Install Templ CLI
go install github.com/a-h/templ/cmd/templ@latest
# Generate templates
templ generate
# Build the binary
go build -o dynamic-markdown-site ./cmd/dynamic-markdown-site
# Run against a directory of markdown
./dynamic-markdown-site -root ./content
Terminal window
NIXPKGS_ALLOW_UNFREE=1 nix run github:LarsArtmann/dynamic-markdown-site --impure

Download the latest release from GitHub Releases.

Terminal window
dynamic-markdown-site -root ./content
# Server starting on :8080

Open http://localhost:8080 to see your markdown files rendered as a website.