Render the same docs to any framework.
IR-based compiler emits framework-native modules. React today, Svelte tomorrow, Vue when you need it — same source.
Cloud-locked competitors trade your deployment choice and framework choice for a polished theme. docvia gives you the polish and the choice.
IR-based compiler emits framework-native modules. React today, Svelte tomorrow, Vue when you need it — same source.
No proprietary runtime, no required cloud. Drop the build artifact on Vercel, Cloudflare, an S3 bucket, or your own infrastructure.
Define frontmatter with Zod once. docvia emits a typed Frontmatter interface for every collection — caught at build, not at runtime.
type Frontmatter = { title: string; tags: string[]; publishedAt: Date; }
Content-addressable cache keyed on source, frontmatter, config, and plugin state. Unchanged files take fractions of a millisecond.
Tap into the compiler at any stage. Add OpenAPI rendering, link checking, or your own AST transforms without forking.
Section-level Orama indexing ships client-side. Add semantic search with your own Claude or OpenAI key — no per-credit metering.
docvia treats your docs the way a modern bundler treats source code: hash, transform, cache, emit. Six stages, parallelized across cores, gated by a content-addressable cache.
import { defineConfig } from "@docvia/cli";
import { createReactRenderer } from "@docvia/renderer-react";
import { shiki } from "@docvia/plugin-shiki";
export default defineConfig({
sourceDir: "docs",
outDir: ".docvia",
renderer: createReactRenderer(),
plugins: [
shiki({ theme: "github-dark", langs: ["typescript", "bash", "json"] }),
],
}); The same primitives — collections, frontmatter, plugins — adapt to whatever you're publishing.
Generate fully-typed API docs from Markdown. Embed live examples inline via the OpenAPI plugin.
Ship a polished docs site that lives next to your app code. Same repo, same deploy, same review process.
Wiki-grade content with the rigor of compiled code. Link checking, typed frontmatter, search by default.
Long-form learning content with embedded interactive components and predictable navigation.
Most hosted docs platforms ship a beautiful theme and an AI agent, then lock you into one framework, one cloud, and a per-credit pricing model. docvia is the build pipeline underneath — yours to own.
| Capability | docvia | Hosted docs platforms | DIY (Docusaurus, etc.) |
|---|---|---|---|
| Self-host on your own infrastructure | |||
| Framework choice (React, Svelte, more) | Single | Single | |
| Build-time compiled — no runtime parser | |||
| Incremental, content-addressable cache | Cloud only | ||
| Typed frontmatter via Zod schema | |||
| Pluggable compiler pipeline (5 hooks) | |||
| Bring your own AI keys — no credit metering | Metered | N/A | |
| Open source, MIT licensed | |||
| Predictable per-seat pricing | Tier jumps | Free | |
| No vendor lock-in |
Comparison reflects publicly documented capabilities of category leaders. "Hosted docs platforms" refers to managed, cloud-only documentation SaaS.
The compiler and every renderer are MIT-licensed and self-hostable. Team and Enterprise add managed builds and governance on top of the same open core — never instead of it.
Self-host. Ship anywhere. Forever free.
Everything in OSS, plus managed builds and collaboration.
Per-seat pricing. No per-credit metering.
Self-host the managed control plane on your infrastructure.
Open source is available today. Team and Enterprise are in active development — join the waitlist to shape what ships.
pnpm add -D @docvia/cli Install the CLI as a dev dependency.npx docvia init --renderer react Scaffold a docs/ directory and a working config.npx docvia build Compile your documentation into a typed module graph.docvia is a build pipeline you own. It produces a static module graph that you deploy wherever you want — Vercel, Cloudflare, an S3 bucket, your VPC, or an on-prem box. There is no required cloud, no proprietary runtime, and no telemetry calling home.
Open source, MIT licensed, in public preview. Install it now, deploy anywhere, and help shape the v1.0 release.