Docora — An open-source documentation framework for Next.js and React
Hey everyone I've been building Docora , an open-source documentation framework for Next.js and React — inspired by Docus in the Nuxt ecosystem, but built from the ground up for this stack. What it does: File-based routing — every file under content/ becomes a route MDC syntax — write Markdown, get callouts, cards, tabs and steps with no imports Built-in search (compile-time command palette, no…
Docora is an open-source documentation framework designed for the Next.js and React ecosystem. Inspired by Docus in the Nuxt ecosystem, it was created from the ground up to cater specifically to this stack. The framework offers several key features:
File-based routing, where each file under the "content/" directory becomes a route.
Markdown syntax with built-in elements like callouts, cards, tabs, and steps, without requiring any additional imports.
Built-in search functionality, utilizing a compile-time command palette that does not rely on any hosted services.
SEO optimization by default, with generated sitemaps, robots.txt, canonical links, and Open Graph images.
Internationalization support, organized into separate folders per locale, with hreflang tags included.
An MCP server accessible at "/mcp" on every deployed site, along with an auto-generated "llms.txt" file to enable AI tools like Cursor and Claude to directly read the documentation.
An optional AI chat widget, built using the AI SDK and routed through the AI Gateway, allowing for interactive AI-powered assistance within the documentation.
To get started with Docora, users can run the command "npx create-docora my-docs" to create a new documentation project, then navigate into the project folder with "cd my-docs" and start the development server using "npm run dev".
The source code for Docora can be found on GitHub at https://github.com/StaticMania/docora.
A live demo of the framework can be accessed at https://docora-docs.vercel.app/.
The author of Docora is seeking community assistance, particularly in the following areas:
Improving the Ask AI feature, which is currently limited by the free tier of Vercel's AI Gateway. The author hopes to make this feature more accessible for the Next.js community to experiment with and learn from.
Seeking guidance on how to leverage the Open Source Program or similar support to help enhance the open-source aspect of the framework.
Open to answering any questions and welcomes feedback on the framework's development experience, missing features, and any identified bugs.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.