Zebric Overview
Welcome to the Zebric documentation. This page orients you to the framework’s architecture and key concepts.
Key Concepts
Section titled “Key Concepts”- Blueprints are TOML files that declare your data models, pages, access rules, workflows, and notifications. One blueprint defines one application.
- Runtime Engines interpret blueprints at run time — no code generation. Changes hot-reload instantly during development.
- Entities define your data model (fields, relations, access rules). The runtime auto-creates database tables and REST API endpoints.
- Pages bind URL paths to layouts (list, detail, form, dashboard) and queries.
- Workflows automate multi-step processes — triggered by entity events, webhooks, or manual actions.
- Themes control the look and feel. Built-in themes ship with Tailwind CSS classes.
Packages
Section titled “Packages”| Package | Description |
|---|---|
@zebric/runtime-core | Rendering, routing, types, and blueprint parsing |
@zebric/runtime-node | Node.js runtime engine (Hono + SQLite/Postgres) |
@zebric/runtime-hono | Hono HTTP adapter |
@zebric/runtime-worker | Cloudflare Workers runtime |
@zebric/cli | zebric dev and zebric validate commands |
@zebric/notifications | Slack, email, and console notification adapters |
@zebric/plugin-sdk | Plugin development kit |
@zebric/themes | Built-in themes (default, minimal, dashboard) |
@zebric/framework-stories | Integration test stories for example blueprints |
How It Works
Section titled “How It Works”blueprint.toml → BlueprintParser → Runtime Engine → HTTP Server ↓ SQLite / Postgres- You write a
blueprint.tomldescribing your application - The
BlueprintParservalidates and parses it into aBlueprintobject - The runtime engine creates database tables, registers routes, and renders pages
- The HTTP server (Hono) handles requests, enforces access control, and executes workflows
Quick Start
Section titled “Quick Start”npm install -g @zebric/clizebric dev --blueprint blueprint.toml --seedSee the Quickstart guide for a complete walkthrough.