okidoki
v1.1.36
Published
OkiDoki – convert Markdown to beautiful docs with Tailwind/DaisyUI. Docs: okidoki.dev
Downloads
60
Maintainers
Readme
OkiDoki - Free Static Site Generator for API Documentation & Technical Docs
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:

Responsive design:
Installation & Setup
Install the OkiDoki documentation generator globally via npm from the official package:
npm install -g okidokiQuick Start Guide - Create Documentation in 4 Steps
Create a new documentation project directory:
mkdir mydocs && cd mydocsInitialize your documentation site:
okidoki initAutomatically creates project structure with configuration files and sample content.
Build your static documentation site:
okidoki generateGenerates 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 distYour 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.
Project Structure
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)Basic Configuration
okidoki.yaml
site:
title: "My Documentation"
description: "Documentation for my project"sidebars.yaml
menu:
- title: Getting Started
document: /start.md
- title: API Reference
document: /api.md
- title: Examples
document: /examples.mdWriting Your First Page
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.
Getting Started with Your 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
Why Choose OkiDoki for API Documentation?
- 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
Open Source Community & Contributing
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
License
OkiDoki is released under the MIT License. You're free to use, modify, and distribute it for any purpose.
Documentation Generator Alternatives & Comparisons
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.
