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.

A screenshot of the Tenon admin (light mode)

Create a project

Follow the wizard: pick your framework, database and media storage.
Then open /admin and create the first admin account.
npm create tenoncms@latest

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

Works with your framework
Starters and guides for Astro, Nuxt and TanStack Start. Or run it standalone.
AstroNuxtTanStack Start+ more to come
Your preferred database
Content lives in a relational database of your liking near your site or remote.
SQLiteTursoPostgresPGliteDurable Objects
Deploy where you want
The core is a Hono app, so it runs where your app runs.
NodeVercelCloudflare
One app instead of two

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
A stack you already know and trust
Built on web standards and on libraries you may already use.
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, API, admin, media and auth ship in one package.

Schema

Your schema is plain TypeScript
Collections and globals are plain TypeScript in your repo. Their types flow into your pages.
  • Collections, globals, relations, lists and blocks
  • Validation, conditions and hooks
  • Types inferred from the schema
cms/collections/posts.ts
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

Read content without HTTP
Server code calls the CMS directly. The HTTP API is a thin layer over the same functions.
  • 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

One config file
Database, media, email and sign-in are easy to configure in one file. The admin and the API become routes of your app.
  • SQLite or Turso, Postgres, PGlite or a Durable Object
  • Media on local disk, S3 or R2
  • Password, passkey, magic link or email code
tenon.config.ts
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

Manage your CMS through the CLI
The tenon command comes with the package. It backs up a project, restores it, upgrades it and manages its users.
  • 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.

  • Drafts and versions
    Drafts, scheduled publishing and a version history.
  • Localization
    Localized content and a localized admin, out of the box.
  • Live preview
    A visual editor and an admin bar on your own pages.
  • Media
    A media library with image transformations.
  • Users and access
    Roles, invites, access rules, API keys and edit locks.
  • Jobs and webhooks
    Background jobs, cron schedules and webhooks.
  • Email
    SMTP email for invites, magic links and codes.
  • Plugins
    A plugin system, with presets for marketing pages.
  • Easy to use presets
    Pages, SEO fields, sitemap, robots and menus.

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
Free and open source
Tenon is MIT licensed. Issues and pull requests are welcome.
See what's next!
Tenon is in version 0.x. The roadmap shows what is done and what comes next.