A fast, zero-dependency static site generator for documentation and API references, built in Go.
Godoku takes your Markdown files and OpenAPI v3 specs and generates a beautiful, dark-themed documentation site — complete with sidebar navigation, syntax highlighting, and an interactive API playground.
Features
Markdown-powered — Write docs in Markdown with GFM extensions (tables, task lists, strikethrough, autolinks)
OpenAPI v3 — Auto-discover specs from apis/ and generate full API reference pages with $ref resolution
API Playground — Interactive request builder on every endpoint page
Nested sections — Subdirectories become sidebar groups with customizable ordering
Nav ordering — Control page order with nav lists in _index.md or order frontmatter
Prev/Next navigation — Automatic page-to-page links across sections and groups
Dev server — Live rebuild on file changes with godoku serve -w
Single binary — No runtime dependencies, templates and assets are embedded
Fast — Builds in milliseconds
Quick Start
# Install
go install github.com/omurilo/godoku/cmd/godoku@latest
# Create a new project
mkdir my-docs && cd my-docs
godoku init .
# Start the dev server
godoku serve -w
AppFS holds the React shell (App.tsx, components, index.css, tsconfig.json).
The MDX builder materializes it to a temp dir at build time so esbuild can
resolve its files on disk. `all:` ensures nested directories are embedded.