Openblocks is a Bun-powered monorepo for a block and template library. It uses Fumadocs for documentation and a shared registry package for reusable example blocks and templates.
bun install
bun run devDocs run on http://localhost:4000.
bun run dev
bun run dev:docs
bun run build
bun run check-types
bun run checkapps/docs: the Fumadocs sitepackages/registry: shared starter block/template entries used by the docs
/docs/introduction/docs/get-started/docs/blocks/docs/blocks/ai-command-palette/docs/templates/docs/templates/activity-feed
Registry examples are rendered through isolated preview routes so docs pages stay clean while components still get a dedicated stage.
- Docs preview wrapper:
apps/docs/components/registry-preview-frame.tsx - Preview route:
apps/docs/app/preview/[slug]/page.tsx
The workspace uses Turborepo at the root, so development, builds, and type checks all run from the project root.