souporserious/renoun

Query and Render Your Codebase

TypeScript

614

3,215 commits

updated May 11, 2026

See the code

See what people are saying

SourceMessageScoreDate

Renoun – The Documentation Toolkit for React

3

Oct 10, 2025

README

renoun

Query and Render Your Codebase

Turn your JavaScript, TypeScript, Markdown, and MDX
into reusable structured data for blogs, docs, and presentations
so your content always matches what’s in your codebase.

npx create-renoun@latest

import { Directory } from 'renoun'

const posts = new Directory({
  path: 'posts',
  loader: (path) => import(`./posts/${path}.mdx`),
})

async function Page({ slug }: { slug: string }) {
  const post = await posts.getFile(slug, 'mdx')
  const Content = await post.getContent()

  return <Content />
}

Features

  • Query files (MDX/MD/TS) like data
  • Generate navigations/indexes from the file system
  • Load and render module exports
  • Validate frontmatter/exports with schemas

Templates

The easiest way to get started using renoun is with an application template:

  • Blog — blog starter with a post index, tags, and MDX article pages (Demo · Source)
  • Docs — documentation starter that turns MDX content into a polished, full-featured site (Demo · Source)
  • Workbench — design system workbench for building, previewing, and documenting libraries (Demo · Source)

Why renoun?

Maintaining technical blogs, docs, and presentations is hard because the source of truth is split between content files, code, and examples causing drift. The renoun SDK turns your codebase into structured, queryable data (files, exports, types, and MDX) so you can render indexes, navigations, API references, and pages directly from what’s in the repo, keeping everything in sync as it changes.

Contributing

See the Contributing Guide for details on how to contribute to renoun.

License

MIT © souporserious

documentation
markdown
mdx
react
references
server-components
syntax-highlighting
typescript
zero-config

souporserious/renoun

Query and Render Your Codebase

TypeScript

614

3,215 commits

updated May 11, 2026

See the code

See what people are saying

SourceMessageScoreDate

Renoun – The Documentation Toolkit for React

3

Oct 10, 2025

README

renoun

Query and Render Your Codebase

Turn your JavaScript, TypeScript, Markdown, and MDX
into reusable structured data for blogs, docs, and presentations
so your content always matches what’s in your codebase.

npx create-renoun@latest

import { Directory } from 'renoun'

const posts = new Directory({
  path: 'posts',
  loader: (path) => import(`./posts/${path}.mdx`),
})

async function Page({ slug }: { slug: string }) {
  const post = await posts.getFile(slug, 'mdx')
  const Content = await post.getContent()

  return <Content />
}

Features

  • Query files (MDX/MD/TS) like data
  • Generate navigations/indexes from the file system
  • Load and render module exports
  • Validate frontmatter/exports with schemas

Templates

The easiest way to get started using renoun is with an application template:

  • Blog — blog starter with a post index, tags, and MDX article pages (Demo · Source)
  • Docs — documentation starter that turns MDX content into a polished, full-featured site (Demo · Source)
  • Workbench — design system workbench for building, previewing, and documenting libraries (Demo · Source)

Why renoun?

Maintaining technical blogs, docs, and presentations is hard because the source of truth is split between content files, code, and examples causing drift. The renoun SDK turns your codebase into structured, queryable data (files, exports, types, and MDX) so you can render indexes, navigations, API references, and pages directly from what’s in the repo, keeping everything in sync as it changes.

Contributing

See the Contributing Guide for details on how to contribute to renoun.

License

MIT © souporserious

documentation
markdown
mdx
react
references
server-components
syntax-highlighting
typescript
zero-config

Project health

Latest release

11.7.1 · Apr 19, 2026

Releases this year

26

Significant stargazers

(top 24 of 28)

Titus

3,574 followers · starred Dec 2023

Remco Haszing

457 followers · starred Dec 2023

Max

849 followers · starred May 2024

Arvin Xu

2,230 followers · starred Mar 2024