skip to content

Docs, from source.

Full control over your docs. No content layer abstraction. No vendor lock-in. Just MDX, components, and builds that work at any scale.

$bunx create-fromsrc
---
title: Authentication
---
 
import { ApiEndpoint } from "@/components"
 
# OAuth 2.0
 
Configure OAuth providers for SSO.
 
<ApiEndpoint method="POST" path="/auth/token" />

Just MDX and components.

Import any React component directly into your markdown. No content layer abstraction. No vendor lock-in. Write docs the way you write code.

  • direct component imports in MDX
  • incremental builds at 3,000+ pages
  • 120+ built-in components
---
title: Authentication
---
 
import { Endpoint } from 'fromsrc/client'
 
# OAuth 2.0
 
Configure providers for single sign-on.
 
<Endpoint method="POST" path="/auth/token" />

Your docs speak AI.

Every page exposes content endpoints. Feed docs to LLMs, build RAG pipelines, or connect via Model Context Protocol. AI-native out of the box.

  • llms.txt and per-page API endpoints
  • built-in MCP server
  • raw markdown and AI-optimized formats
$ curl https://docs.example.com/api/llms/auth
 
# Authentication
Secure your API with bearer tokens and OAuth 2.0.
 
# Endpoints
POST /auth/token — generate access token
POST /auth/refresh — refresh expired token
DELETE /auth/revoke — revoke active session
 
200 ok · text/plain · 248ms

Zero to docs in seconds.

One command to scaffold a complete docs site. Works with Next.js, Vite, Astro, React Router, TanStack, and Remix. Pick your framework, start writing.

  • scaffold with bunx create-fromsrc
  • 6 framework adapters included
  • search, sidebar, and syntax highlighting built in
$ bunx create-fromsrc
 
title: my-docs
framework: next.js
search: orama
theme: dark
 
installing dependencies...
created 12 files
 
ready. run bun dev to start.

Built for developers who want control.

No abstraction. Just MDX and components. Open source, MIT licensed, free forever.

$bunx create-fromsrc
001

120+ components

Sidebar, TOC, code blocks, tabs, callouts, steps, search, accordion, cards, OpenAPI, math, mermaid. Import what you need.

002

Shiki highlighting

VS Code quality syntax highlighting with dual themes, line diffs, word highlights, and twoslash type annotations.

003

Built-in search

Full-text search with fuzzy matching and keyboard navigation. Orama, Algolia, or local. Zero config required.

004

Any framework

Works with Next.js, Vite, Astro, React Router, TanStack, and Remix. Same components, any stack.