{"id":51417716,"url":"https://github.com/taicode-labs/clarify","last_synced_at":"2026-07-04T21:30:32.342Z","repository":{"id":365032559,"uuid":"1269991424","full_name":"taicode-labs/clarify","owner":"taicode-labs","description":"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.","archived":false,"fork":false,"pushed_at":"2026-06-30T10:42:00.000Z","size":3467,"stargazers_count":119,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-30T12:23:41.908Z","etag":null,"topics":["docs","generator","gitbook","mintlify","openapi","readme","vitepress"],"latest_commit_sha":null,"homepage":"https://clarify.pub/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taicode-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-15T09:27:08.000Z","updated_at":"2026-06-30T10:41:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/taicode-labs/clarify","commit_stats":null,"previous_names":["taicode-labs/clarify"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/taicode-labs/clarify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taicode-labs%2Fclarify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taicode-labs%2Fclarify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taicode-labs%2Fclarify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taicode-labs%2Fclarify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taicode-labs","download_url":"https://codeload.github.com/taicode-labs/clarify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taicode-labs%2Fclarify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35136712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docs","generator","gitbook","mintlify","openapi","readme","vitepress"],"created_at":"2026-07-04T21:30:31.861Z","updated_at":"2026-07-04T21:30:32.332Z","avatar_url":"https://github.com/taicode-labs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clarify\n\nShip a modern docs site from your own repository.\n\nClarify turns MDX, OpenAPI, and project content into a fast, multilingual, self-hostable documentation experience your team actually owns.\n\n[中文版本](./README.zh-CN.md)\n\n---\n\n![Clarify banner](./design/x-promo.png)\n\n## Why teams choose Clarify\n\nClarify is built for teams that want polished docs without moving content into a hosted black box.\n\n| Highlight | What you get |\n|-----------|--------------|\n| **Keep docs in your repo** | Version docs, API specs, navigation, and branding together with the product they describe. |\n| **Publish guides and API docs together** | Put MDX pages, tutorials, changelogs, and generated OpenAPI references in one coherent site. |\n| **Own the experience** | Self-host the output, customize the renderer, and keep deployment on infrastructure you control. |\n| **Built for multilingual teams** | Organize localized content by locale and keep navigation, search, and raw content aligned by language. |\n| **Search and AI readiness included** | Generate Pagefind indexes, raw content artifacts, and `llms.txt` without extra systems. |\n| **Grow without switching tools** | Start with a local CLI, then extend with typed config, theme tokens, and plugins when you need more. |\n\n## What Clarify helps you ship\n\nWith Clarify, you can publish:\n\n- Product documentation that evolves with your codebase\n- API references generated from OpenAPI 3.0 and 3.1 specs\n- Internal engineering guides and team handbooks\n- Multilingual help centers and developer portals\n- AI-readable knowledge bases for agents and internal tooling\n\nClarify turns MDX content, OpenAPI specifications, and a typed `clarify.ts` configuration into a production-ready static documentation site.\n\n## Built for teams that care about ownership\n\nMost documentation tools optimize for convenience first. Clarify optimizes for long-term control.\n\n- Your content stays in Git.\n- Your docs build locally.\n- Your output is static and portable.\n- Your renderer is part of the codebase.\n- Your team can customize without waiting on a hosted platform roadmap.\n\nIf you like the modern docs experience of tools like Mintlify, but want the source, rendering, and deployment model to stay under your control, Clarify is the fit.\n\n## VSCode Extension\n\nThe Clarify VSCode extension provides live preview and instant navigation for your documentation projects directly in the editor.\n\n### Features\n\n- **Live Preview** — View your documentation with real-time hot module replacement as you edit MDX, OpenAPI specs, or config files.\n- **Smart Navigation** — Automatically refresh the preview when switching between content files.\n- **Integrated Dev Server** — Start, stop, and manage the Clarify dev server without leaving the editor.\n- **Route Resolution** — Preview panel intelligently resolves the current route based on your open file.\n\n### Installation\n\nDownload the latest `.vsix` extension package from the [GitHub Releases](https://github.com/taicode-labs/clarify/releases) page.\n\nThen install it manually in VSCode:\n\n```bash\ncode --install-extension clarify-vscode-extension-*.vsix\n```\n\nOr install through VSCode UI:\n\n1. Open **Extensions** sidebar (`Ctrl+Shift+X` / `Cmd+Shift+X`)\n2. Click the `...` menu at the top-right of the Extensions view\n3. Select **Install from VSIX...**\n4. Choose the downloaded `.vsix` file\n\n### Usage\n\nOnce installed, the extension automatically detects Clarify projects (by the presence of `clarify.ts` in the workspace).\n\n- Click the **Clarify icon** in the editor title bar to open the live preview panel\n- The preview will auto-refresh when you edit and save content files\n- Use **Clarify: Stop Dev Server** from the command palette to stop the background server\n\n![VSCode Extension Screenshot](./design/extensions.png)\n\n## Quick start\n\nStart a new Clarify project:\n\n```bash\nnpx @clarify-labs/cli init my-docs\ncd my-docs\n```\n\nThen install dependencies and start the local site through the project script:\n\n```bash\nnpm install\nnpm run dev\n```\n\nIf your team uses pnpm or yarn, the generated `dev` script also works with `pnpm dev` or `yarn dev`.\n\n## Create your first docs site\n\nThe starter includes a typed `clarify.ts` config, MDX pages, public assets, and scripts for local preview and production builds.\n\nAdd or edit pages in the generated content folder:\n\n```text\nsource/\n├── index.mdx\n├── guides/\n│   └── writing-content.mdx\n└── api.openapi.json\n```\n\nThen build static output:\n\n```bash\nnpm run build\n```\n\nThe generated `output/` directory can be deployed to any static host.\n\n## Core workflow\n\nUse Clarify from the documentation project where your content lives:\n\n```bash\nnpx clarify dev\nnpx clarify build\n```\n\nConfigure navigation, OpenAPI references, theme tokens, locale behavior, and metadata in `clarify.ts`.\n\n## What you get out of the box\n\n- **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.\n- **OpenAPI documentation** — Render OpenAPI 3.0/3.1 specs as navigable API reference pages and embed individual operations inside MDX guides.\n- **Project variables** — Define reusable project-wide content values once and reference them across pages and specs.\n- **Static site generation** — Build deployable static output with one HTML file per route, client-side navigation, copied public assets, and route-prefix support.\n- **Built-in internationalization** — Organize localized content by locale folders, configure locale fallback behavior, and localize navigation/footer labels in `clarify.ts`.\n- **Built-in full-text search** — Generate and serve Pagefind indexes in both `clarify dev` and `clarify build`, with current-language results and highlighted excerpts.\n- **Typed configuration** — Define tabs, sidebars, navbar links, footer links, theme tokens, route prefixes, favicon/logo variants, and metadata with TypeScript.\n- **Themeable React renderer** — Customize a Tailwind CSS 4 + React 19 documentation shell with presets, color tokens, radius tokens, and layout width settings.\n- **AI-ready output** — Generate raw `.md` / `.openapi.*` artifacts, page copy actions, stable raw-content links, and `llms.txt` for AI agents and developer tools.\n- **Plugin-ready pipeline** — Extend route resolution, virtual modules, and build completion hooks for governance, translation workflows, or custom artifacts.\n- **Local-first workflow** — Use `clarify dev` and `clarify build` in the repository where the docs live.\n\n## A good fit if you want to\n\n- Replace scattered Markdown folders with a polished docs site\n- Publish product docs and API docs from the same repository\n- Keep documentation review inside normal pull requests\n- Self-host docs without giving up modern UX\n- Prepare documentation for both humans and AI agents\n\n## Why Clarify instead of Mintlify?\n\nMintlify 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.\n\n| Area | Clarify | Mintlify |\n|------|---------|----------|\n| Ownership | Open-source project you can inspect, modify, and self-host | Hosted platform with product-level abstractions |\n| Workflow | Local-first CLI: `clarify dev` and `clarify build` | Platform-oriented workflow around Mintlify conventions |\n| Customization | React renderer, Tailwind styles, and typed config are part of the codebase | Easier defaults, but deeper customization depends on platform support |\n| Deployment | Static output deployable to your own infrastructure | Typically centered on Mintlify hosting and integrations |\n| OpenAPI | Built into the docs engine for local rendering and builds | Strong API docs support through the hosted platform |\n| Internationalization | Native locale folders and fallback behavior | Depends on platform capabilities and configuration |\n| Best fit | Teams that want open-source control, self-hosting, and code-level customization | Teams that prefer managed hosting and a turnkey docs product |\n\nClarify 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.\n\n## License\n\nAGPL-3.0-only © 2026 Taicode Labs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaicode-labs%2Fclarify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaicode-labs%2Fclarify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaicode-labs%2Fclarify/lists"}