Skip to content

opencoredev/openblocks

Repository files navigation

Openblocks

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.

Quick Start

bun install
bun run dev

Docs run on http://localhost:4000.

Scripts

bun run dev
bun run dev:docs
bun run build
bun run check-types
bun run check

Project Structure

  • apps/docs: the Fumadocs site
  • packages/registry: shared starter block/template entries used by the docs

Current Docs Routes

  • /docs/introduction
  • /docs/get-started
  • /docs/blocks
  • /docs/blocks/ai-command-palette
  • /docs/templates
  • /docs/templates/activity-feed

Preview System

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

Notes

The workspace uses Turborepo at the root, so development, builds, and type checks all run from the project root.

Releases

No releases published

Packages

 
 
 

Contributors