OkiDoki is a free, open-source static site generator specifically designed for creating professional API documentation websites and technical documentation sites. Automatically generate API docs from OpenAPI/Swagger specs or transform your Markdown files into beautiful, searchable documentation with zero configuration required. Perfect for developer teams, software projects, and API providers who need fast documentation builds (sub-second generation) and lightweight, responsive websites.
Create beautiful API documentation with minimal effort and zero maintenance.
Visit the full documentation at the OkiDoki website.
The default OkiDoki start page:
Example API documentation page:
Install the OkiDoki documentation generator globally via npm from the official package:
npm install -g okidoki
-
Create a new documentation project directory:
mkdir mydocs && cd mydocs
-
Initialize your documentation site:
okidoki init
Automatically creates project structure with configuration files and sample content.
-
Build your static documentation site:
okidoki generate
Generates optimized HTML, CSS, and JavaScript files for deployment.
Tip: Use
okidoki openapi -i your-api-spec.yamlto automatically generate API documentation from OpenAPI/Swagger files. -
Preview your documentation locally:
npx serve dist
Your documentation website will be available at
http://localhost:3000Alternative web servers: You can use any static file server -
npx node-static dist,python -m http.server, or deploy to GitHub Pages, Netlify, Vercel, etc.
After running okidoki init, you'll have:
mydocs/
├── docs/
│ ├── index.md # Beautiful homepage
│ ├── start.md # This getting started guide
│ ├── help.md # Help and support page
│ └── test.md # Sample content page
├── okidoki.yaml # Main configuration
├── sidebars.yaml # Navigation structure
└── dist/ # Generated site (after build)
site: title: "My Documentation" description: "Documentation for my project"
menu: - title: Getting Started document: /start.md - title: API Reference document: /api.md - title: Examples document: /examples.md
Create a new markdown file start.md in the docs/ directory:
# My First Page This is my first documentation page with **bold text** and `code`. ## My API Documentation OkiDoki converts Markdown documents into beautiful documentation: **example code:** ```http GET /api/users Content-Type: application/json { "users": [ { "id": 1, "name": "John Doe" } ] }
The run the okidoki generate command again and refresh your browser to see the updated documentation site.
- Advanced Configuration: Explore the complete documentation reference for custom themes, search optimization, and advanced features
- Documentation Examples: Browse real-world Markdown examples and templates for API docs, tutorials, and guides
- Support & Troubleshooting: Visit our comprehensive help guide or GitHub Issues for community support
- Automatic OpenAPI/Swagger Integration: Generate beautiful API documentation directly from your existing OpenAPI specifications - no manual work required
- Zero Configuration Setup: Works out-of-the-box with sensible defaults - perfect for developers who want great docs without complexity
- 100% Free & Open Source: No subscriptions, no limits, no vendor lock-in - perfect for startups and enterprises
- Lightning-Fast Build Process: Generate complete documentation sites in under 1 second - ideal for CI/CD pipelines and rapid iteration
- Markdown-Based Documentation: Write in standard GitHub-flavored Markdown alongside auto-generated API docs
- Advanced Search Functionality: Built-in full-text search across all documentation pages with instant results
- Professional Documentation Themes: Beautiful, mobile-responsive themes optimized for technical content and API documentation
- Developer-Friendly: Perfect for GitHub workflows, automated deployments, and modern development practices
- Optimized Performance: Generated sites are ~50KB with excellent Core Web Vitals scores for SEO
OkiDoki is a community-driven open source project and we welcome contributions from developers worldwide. Join our growing community:
- Bug Reports & Issues - Report bugs to help improve the documentation generator
- Feature Requests - Suggest new features for API documentation and technical writing tools
- Documentation Improvements - Submit pull requests to enhance guides, examples, and tutorials
- Code Contributions - Check our open issues and contribute to the static site generator
- GitHub Star - Help other developers discover this free documentation tool by starring the repository
- Community Support - Help answer questions and support fellow documentation creators
OkiDoki is released under the MIT License. You're free to use, modify, and distribute it for any purpose.
Compare OkiDoki with other popular API documentation tools and static site generators:
- Docusaurus - React-based documentation platform with extensive plugins (requires more setup and configuration)
- Slate - API-focused documentation generator with three-column layout (Markdown only, no OpenAPI integration)
- VitePress - Vue-powered static site generator with excellent performance (requires manual API doc creation)
- GitBook - Commercial documentation platform with collaboration features (paid plans, limited OpenAPI support)
- MkDocs - Python-based documentation generator with Material Design theme (requires plugins for OpenAPI)
- Nextra - Next.js powered documentation framework with React components (more complex for API docs)
- Redoc - OpenAPI-focused tool (API docs only, no mixed content support)
- Jekyll - Ruby-based static site generator popular on GitHub Pages (requires manual setup for API docs)
Detailed Comparison Guide: Read our in-depth documentation generator comparison and feature analysis to find the best tool for your API documentation and technical writing needs.


