Beautiful docs.
Open source. One command.
API reference from your OpenAPI spec. Markdown guides with rich components. One build, static HTML, deploy it yourself.
npx sourcey init Config. Write. Ship.
One TypeScript config, your content, one command. No accounts, no dashboards, no build pipelines to assemble.
01Configure
Define your entire docs site in a single TypeScript file. Tabs, pages, theme, logo — all type-checked with full autocomplete.
import { defineConfig } from "sourcey";
export default defineConfig({
name: "My API",
theme: {
preset: "default",
colors: { primary: "#6366F1" },
},
navigation: {
tabs: [
{
tab: "Documentation",
groups: [{
group: "Getting Started",
pages: ["introduction", "quickstart"],
}],
},
...
],
},
}); # Authentication
Keys are scoped to **read**, **write**, or **admin**.
Rotate them under Settings → API Keys. Revoked
keys return `401` immediately.
<CardGroup cols={2}>
<Card title="REST API" icon="book" href="/api">
Full endpoint reference
</Card>
<Card title="Webhooks" icon="zap" href="/webhooks">
Event payloads and retry logic
</Card>
</CardGroup> Write
Standard markdown with rich components when you need them — cards, steps, accordions, tabbed code blocks. Your OpenAPI spec renders as full API reference with code samples in 10 languages.
Guides and API reference share the same design, the same navigation, the same build. One tool, one output.
Build
One command. Static HTML with zero JavaScript framework runtime. Every page is a real HTML file that loads instantly and works without client-side rendering.
Deploy to GitHub Pages, Vercel, Netlify, S3, or your own server. No vendor dependency. Your docs survive even if we don't.
npx sourcey init Docs → Batteries included.
Every feature ships in the box. Nothing to install, configure, or pay for separately.
OpenAPI reference
Endpoints, schemas, request/response examples. Auto-generated code samples in cURL, JavaScript, Python, Go, Ruby, Rust, and more.
Markdown guides
Steps, cards, accordions, tabbed code blocks. Rich components in standard markdown alongside your API reference.
TypeScript config
sourcey.config.ts with defineConfig(). Full autocomplete, type checking. One file defines your entire docs site.
Three theme presets
Default sidebar + TOC. Minimal single column. API-first three-column like Stripe. Colors, fonts, and custom CSS on top.
Dark mode
Semantic design tokens, light/dark logo variants, localStorage persistence. Looks great either way.
Vite dev server
SSR hot reload on every component and CSS change. Spec and markdown changes trigger instant refresh.
Instant search
Client-side fuzzy search across all pages and API operations. Cmd+K to find anything. Works offline.
Static HTML output
Zero framework runtime shipped. No vendor lock-in. Deploy to GitHub Pages, Vercel, S3, anywhere.
Built in, not bolted on.
Dark mode, search, and themes work out of the box. No config, no extra dependencies.
Looks great either way.
Semantic design tokens, light and dark logo variants, localStorage persistence. Every component designed for both modes.
Find anything. Instantly.
Client-side fuzzy search across every page and API operation. Cmd+K, start typing. Works offline, no server required.
Three layouts. Your brand.
Pick a preset that fits your docs. Set your colors and fonts. Add custom CSS on top. Ship it.
How Sourcey compares.
Your docs shouldn't depend on someone else's SaaS. Same output quality as the tools that charge hundreds monthly. Static HTML, self-hosted, no vendor between you and your users.
| Sourcey | Redocly | GitBook | Mintlify | Fern | VitePress | |
|---|---|---|---|---|---|---|
| OpenAPI reference | Native | Native | No | Native | Native | Plugin |
| Rich components | Yes | No | Limited | Yes | Yes | Vue |
| Static output | Yes | Yes | No | No | No | Yes |
| Zero JS shipped | Yes | No | No | No | No | No |
| Config format | TypeScript | YAML | GUI | JSON | YAML | TypeScript |
| Dev server | Vite SSR | Webpack | Cloud | Cloud | Cloud | Vite SPA |
| Self-hosted | Yes | Yes | No | No | No | Yes |
| Pricing | Free | Freemium | Freemium | Freemium | Paid | Free |
Free forever. Own your docs.
Open source. Self-host it, fork it, ship it on your own infrastructure. No account required to build your own docs.