The monolithic headless CMS.
Move the admin, the API and content into the app you already deploy and write your schema in TypeScript. Data stores in SQLite, Postgres or a Cloudflare Durable Object and runs on Node, Vercel or Cloudflare. Free and MIT licensed.



Create a project
Then open
/admin and create the first admin account. npm create tenoncms@latest
pnpm create tenoncms
yarn create tenoncms
bun create tenoncms
Needs Node 24 or newer.
$npm create tenoncms@latest
◇Where should we put your new project?./my-site
◇Which framework would you like to work with?Astro
◇Where will it run?Node
◇Which database should we use?SQLite / Turso
◇Where should media files go?Local disk
✓Created my-site
→Next stepscd my-site && npm run dev
Headless CMSs work with any framework because they talk REST or GraphQL. The price is a second service with its own deployment and database server. Tenon takes the other route: the admin and the API are routes in your app.
- One repo, one deploy, one database
- Server code reads content without HTTP
- Types flow from the schema into your pages
- Hono
- Simple, easy to use and integrate
- Vite
- Bundles with your app
- Kysely
- SQL on every supported database
- better-auth
- Trusted and easy to extend
- Zod
- Validation from the schema
- Vue
- Fast and extensible Admin UI
Everything a CMS needs, built in
Schema
- Collections, globals, relations, lists and blocks
- Validation, conditions and hooks
- Types inferred from the schema
import { defineCollection } from "tenoncms";
export const posts = defineCollection({
titleField: "title",
fields: {
title: { type: "text", required: true },
slug: { type: "slug", from: "title", unique: true },
body: { type: "richtext" },
},
});
Local API
- Results typed from the schema
- The same validation and access rules everywhere
- One browser client for everything else
const [post] = await cms.find("posts", {
where: { slug: "hello" },
limit: 1,
});
Config
- SQLite or Turso, Postgres, PGlite or a Durable Object
- Media on local disk, S3 or R2
- Password, passkey, magic link or email code
import { DATABASE_URL, TENON_SECRET } from "astro:env/server";
import { defineCms } from "tenoncms";
import { libsql } from "tenoncms/libsql";
import { posts } from "./cms/collections/posts";
export default defineCms({
collections: { posts },
database: libsql(DATABASE_URL),
secret: TENON_SECRET,
site: { name: "My site" },
});
CLI
- Full backups: content, versions, media and users
- Invite or recover users from the terminal
- A flag for every question, for scripts and CI
npx tenon backup
npx tenon restore tenon-my-site-2026-11-12-1530.zip
npx tenon users create editor@example.com
npx tenon media regenerate
Batteries Included
This is not a complete list of features, but the most important key features are already built in. More information about each topic in the docs.
Get started
Try it in your own project
Run the wizard, pick your framework and database, then open /admin. Or read the docs first.

npm create tenoncms@latest