RepositoryTypeScript
taicode-labs

taicode-labs/clarify

An open-source documentation publishing tool built for MDX and OpenAPI. Seamlessly combine markdown, interactive JSX components, and API specifications to create modern, developer-friendly docs.

625stars
14forks
4issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: generator

#1 Repository of the month

1
TINIX TRENDING·Topic: vitepress

#1 Repository of the month

1
TINIX TRENDING·Topic: readme

#1 Repository of the month

Clarify

Clarify logo

Open-source documentation publishing for MDX, OpenAPI, and AI-ready knowledge bases.

Build fast, multilingual, developer-friendly documentation sites with a local-first CLI and a fully composable React renderer.

🇨🇳 中文版


Clarify banner

Core Highlights

Clarify is built for teams that want modern documentation without giving up source ownership, local workflows, or deployment control.

HighlightWhat you get
Docs live with codeVersion MDX pages, OpenAPI specs, navigation, and theme config in the same repository.
MDX + OpenAPI in one siteCombine tutorials, product guides, and generated API reference pages without a separate docs product.
Built-in full-text searchGenerate static Pagefind indexes in dev and production, with multilingual isolation and highlighted excerpts.
Static, self-hostable outputBuild standalone HTML, assets, copied public files, raw Markdown/OpenAPI artifacts, search indexes, and llms.txt.
AI-readable by defaultExpose raw page content, raw specs, and discovery metadata so agents and internal tools can read your docs.
Typed, extensible publishingConfigure navigation, i18n, theme tokens, footer, route prefixes, and build plugins in TypeScript.

What is Clarify?

Clarify is an open-source documentation publishing tool for teams that want their docs to stay close to the codebase. It turns MDX content, OpenAPI specifications, and a typed clarify.ts configuration into a production-ready static documentation site.

The project is designed for product docs, API references, engineering handbooks, and AI-readable documentation portals that should be easy to version, customize, and self-host.

Core Features

  • MDX-first authoring — Write Markdown, embed React components, use built-in callouts/cards/code blocks, and keep examples, guides, and reference pages in one content workflow.
  • OpenAPI documentation — Render OpenAPI 3.0/3.1 specs as navigable API reference pages and embed individual operations inside MDX guides.
  • Static site generation — Build deployable static output with one HTML file per route, client-side navigation, copied public assets, and route-prefix support.
  • Built-in internationalization — Organize localized content by locale folders, configure locale fallback behavior, and localize navigation/footer labels in clarify.ts.
  • Built-in full-text search — Generate and serve Pagefind indexes in both clarify dev and clarify build, with current-language results and highlighted excerpts.
  • Typed configuration — Define tabs, sidebars, navbar links, footer links, theme tokens, route prefixes, favicon/logo variants, and metadata with TypeScript.
  • Themeable React renderer — Customize a Tailwind CSS 4 + React 19 documentation shell with presets, color tokens, radius tokens, and layout width settings.
  • AI-ready output — Generate raw .md / .openapi.* artifacts, page copy actions, stable raw-content links, and llms.txt for AI agents and developer tools.
  • Plugin-ready pipeline — Extend route resolution, virtual modules, and build completion hooks for governance, translation workflows, or custom artifacts.
  • Local-first workflow — Use clarify dev and clarify build in the repository where the docs live.

Why Clarify instead of Mintlify?

Mintlify is a polished hosted documentation platform. Clarify takes a different path: it is an open-source, codebase-owned publishing engine that keeps rendering, configuration, and deployment under your control.

AreaClarifyMintlify
OwnershipOpen-source project you can inspect, modify, and self-hostHosted platform with product-level abstractions
WorkflowLocal-first CLI: clarify dev and clarify buildPlatform-oriented workflow around Mintlify conventions
CustomizationReact renderer, Tailwind styles, and typed config are part of the codebaseEasier defaults, but deeper customization depends on platform support
DeploymentStatic output deployable to your own infrastructureTypically centered on Mintlify hosting and integrations
OpenAPIBuilt into the docs engine for local rendering and buildsStrong API docs support through the hosted platform
InternationalizationNative locale folders and fallback behaviorDepends on platform capabilities and configuration
Best fitTeams that want open-source control, self-hosting, and code-level customizationTeams that prefer managed hosting and a turnkey docs product

Clarify is not trying to clone Mintlify. It is for teams that like the modern docs experience Mintlify popularized, but want more ownership over the source, rendering layer, and deployment target.

Monorepo Structure

├── apps/
│   ├── docs/          # Documentation playground and local dev site
│   └── www/           # Marketing website and landing page
├── packages/
│   ├── renderer/      # Shared React components and UI primitives
│   └── cli/           # Clarify CLI and docs engine

Tech Stack

  • React 19 + TypeScript 5
  • Tailwind CSS 4
  • Vite-powered internals wrapped by the Clarify CLI
  • pnpm workspaces

Quick Start

pnpm install
pnpm dev:docs

Useful workspace commands:

pnpm dev:www
pnpm build
pnpm typecheck
pnpm lint

License

AGPL-3.0-only © 2026 Taicode Labs

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
scalar/scalar

Scalar is an open-source API platform:                                       🌐 Modern REST API Client                                        📖 Beautiful API References                                        ✨ 1st-Class OpenAPI/Swagger Support

16.5k
Nov 29, 2026
RepositoryTypeScript
xingwudao/xquant-beginner

《XQuant:人人都是量化交易员》量化交易入门与自学开源书:用 AI 和 Python 从零跑通策略回测、风险评估、交易执行和因子研究。

906
Nov 2, 2026
RepositoryJava
OpenAPITools/openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

26.9k
Nov 27, 2026
RepositoryJavaScript
kefranabg/readme-md-generator

📄 CLI that generates beautiful README.md files

11.1k
Sep 20, 2022
RepositoryPython
datamodel-code-generator/datamodel-code-generator

Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV, plus FastAPI servers and Python clients from OpenAPI.

4.1k
Nov 30, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryShell
ohmyzsh/ohmyzsh

🙃 A delightful, community-driven framework for managing your zsh configuration. Built by 2,600+ contributors, with hundreds of plugins (git, rails, laravel, node, python, docker, kubectl, aws, and more), themes to spice up your terminal, and automatic updates to keep your command line feeling like home.

191.0k
Nov 29, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Oct 31, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.9k
Dec 2, 2026