@webhouse/cms
v0.2.9
Published
AI-native CMS engine built on Hono, Drizzle ORM, and SQLite
Downloads
1,199
Maintainers
Readme
@webhouse/cms
AI-native CMS engine built on Hono, Drizzle ORM, and SQLite. Define content schemas with Zod, get a full API and static site builder out of the box.
Installation
npm install @webhouse/cmsUsage
import { defineSite, defineCollection, z } from "@webhouse/cms";
const site = defineSite({
name: "My Site",
collections: [
defineCollection({
name: "posts",
schema: {
title: z.string(),
body: z.string(),
publishedAt: z.string().datetime(),
},
}),
],
});Getting Started
The fastest way to get started is with the CLI:
npx @webhouse/cms initDocumentation
See the main repository for full documentation.
License
MIT
