Git
Read, search and manipulate Git repositories: status, diff, log, commit, branch and more
MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star
RapiDoc: open-source tools for OpenAPI and Arazzo: the <rapi-doc> web component for interactive API references, a docs-as-code developer portal, a mock server, Arazzo workflows, PDFs and MCP
Open-source tools for OpenAPI and Arazzo: interactive API references, embedded endpoints, PDFs, a mock server, workflows and developer portals.
RapiDoc started as <rapi-doc>, a web component that turns an OpenAPI spec into an interactive API reference. It is now a family of tools that share one spec reader, one look and one set of names, from a single HTML element to a complete developer portal with sign-in. Everything here is MIT-licensed. Website: rapidocui.com.
| Product | What it does | Package | Docs |
|---|---|---|---|
RapiDoc <rapi-doc> | Interactive API reference from an OpenAPI 3.0, 3.1 or Swagger 2.0 spec, with Try, an in-browser mock, themes and MCP server export. One HTML element, no runtime dependencies. | rapidoc | rapidocui.com/docs |
RapiDoc Mini <rapi-doc-mini> | A few operations, with Try, inside a blog post, guide or dashboard. | rapidoc | Docs |
RapiFlow <rapi-flow> | Draws the workflows of an Arazzo spec next to the API reference and runs them in the browser, against the API or a mock. | rapidoc (rapidoc/flow) | flow.rapidocui.com |
| RapiDoc Portal | A docs-as-code developer portal: OpenAPI specs and Markdown or Markdoc guides become one static site with an API catalog, references, search, workflows, MCP manifests and llms.txt, plus optional single sign-on (OpenID Connect) with access rules. | @rapidoc/portal, @rapidoc/server | portal.rapidocui.com |
| RapiMock | A mock server from an OpenAPI spec: request validation, token and scope checks, state between requests, a UI to look inside, and endpoints for tests in any language. | @rapidoc/mock | mock.rapidocui.com |
RapiPdf <rapi-pdf> | Turns an OpenAPI spec into a PDF, in the browser or in Node. | rapipdf | Docs |
| RapiDoc CLI | The rapidoc command: preview, validate, lint and bundle specs, write PDFs, run the mock, turn specs into MCP servers, and build portals. | @rapidoc/cli | Docs |
| Integrations | RapiDoc for Express, Fastify, Hono, FastAPI, ASP.NET Core, Go, Starlight, VitePress and Docusaurus. | below | Docs |
See it running: the examples on rapidocui.com, and Rapid Parcels, a demo developer portal with several APIs, guides, workflows and sign-in.
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
</head>
<body>
<rapi-doc spec-url="https://petstore3.swagger.io/api/v3/openapi.json" color-scheme="dark"></rapi-doc>
</body>
</html>
read, view and focused.mock-server).<rapi-doc> is a standard custom element, with TypeScript types for React and Vue.Every attribute, method and event: the reference.
npm create rapidoc@latest my-portal
cd my-portal && npm install
npx rapidoc dev # http://localhost:4321
npx rapidoc build # a static site in ./dist
Specs go in specs/, guides in docs/, and rapidoc.config.yaml ties them together:
site:
title: Acme Developer Portal
url: https://developers.acme.com
navigation:
- label: Guides
items:
- getting-started # docs/getting-started.md
- label: Orders API
api: orders
apis:
- id: orders
spec: ./specs/orders.yaml # the reference page at /apis/orders
{% api-operation %}).{% workflow %}).llms.txt and llms-full.txt, MCP manifests for each API, and a /mcp endpoint with rapidoc serve.rapidoc serve keeps pages, specs and search results for signed-in readers, groups or emails.npx rapidoc migrate --from redocly|zudoku converts the config.Quickstart and configuration: portal.rapidocui.com.
npx @rapidoc/cli mock ./openapi.yaml
Validates requests against the spec, checks tokens and OAuth scopes, keeps state between requests (--stateful), and has a UI to look inside. Docs: mock.rapidocui.com.
Official packages that add a RapiDoc reference to your app or docs site. Each one ships a pinned RapiDoc bundle (nothing is loaded from another site unless you ask for a CDN), takes the same options, and serves the OAuth sign-in return page for you.
Server frameworks: the reference at /docs, reading your app's OpenAPI document.
| Framework | Install | Use |
|---|---|---|
| Hono | npm i @rapidoc/hono | app.use(rapidoc({ specUrl: "/openapi.json" })) |
| Express | npm i @rapidoc/express | app.use(rapidoc({ specUrl: "/openapi.json" })) |
| Fastify | npm i @rapidoc/fastify | await fastify.register(rapidoc, { specUrl: "/openapi.json" }) |
| FastAPI, Starlette | pip install rapidoc | setup_rapidoc(app) |
| ASP.NET Core | dotnet add package RapiDoc.AspNetCore | app.MapRapiDoc(); |
Go (net/http, chi, Gin, Echo, Fiber, Huma) | go get github.com/rapi-doc/rapidoc-go | rapidoc.Handler(rapidoc.Options{SpecURL: "/openapi.json"}) |
Documentation sites: API reference pages in your site's own layout, with the operations in its sidebar.
| Site generator | Install |
|---|---|
| Starlight | npm i @rapidoc/starlight |
| VitePress | npm i @rapidoc/vitepress |
| Docusaurus | npm i @rapidoc/docusaurus |
React, Next.js, Vue, Nuxt, Angular and Svelte need no package: <rapi-doc> is a standard custom element. Setup for all of the above is in the framework integration guide.
Building one for another framework or language? Start from @rapidoc/embed and the integration guide: it defines the options, routes and HTML every integration shares, with fixtures to test a port against.
This repository holds every package of the family, the four websites and their tests. How to set it up, build, test and release: CONTRIBUTING.md.
MIT © Mrinmoy Majumdar
Read, search and manipulate Git repositories: status, diff, log, commit, branch and more
MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star
Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
COcompiler-explorer/compiler-explorer19k近 7 天新增 7 个 star