Instant documentation for your HTML.
Docco is an open-source documentation platform that instantly turns your HTML files into a searchable, navigable documentation site. It is designed for speed, simplicity, and extensibility, making it easy to publish and maintain documentation for any project.
- ⚡ Instant Import: Convert HTML files into a beautiful documentation site in seconds.
- 🔍 Full-Text Search: Blazing-fast search powered by Meilisearch.
- 🧭 Automatic Navigation: Sidebar navigation is generated from your folder structure.
- 🖥️ Modern UI: Responsive, accessible, and customizable interface built with Next.js and Tailwind CSS.
git clone https://github.com/yourusername/docco.git
cd doccoCreate initial environment variables
cp .env.example .env
cp web/.env.example web/.envCreate a meilisearch master key and update
MEILISEARCH_MASTER_KEYin.env.MEILISEARCH_API_KEYinweb/.env.
Start meilisearch with
docker-compose up -dInstall dependencies and start web app
cd web
bun install
bun run devOpen http://localhost:3000 in your browser.
Use the CLI to import your HTML files:
cd ../cli
bun install
bun run index.ts content:create ./path/to/your/htmlContributions are welcome! Please open issues or pull requests.