Skip to content
Trokky logo

Trokky

A modern, composable Content Management System designed for developers who want full control over their content infrastructure.

Composable Architecture

Use only the packages you need. Mix and match storage adapters and framework integrations.

Local-First Development

Content stored as files by default. Git-friendly workflows with full version control.

TypeScript Native

Full type safety from schemas to frontend. Auto-generated types for your content.

Framework Agnostic

Works with Express, Next.js, Cloudflare Workers, Hono, and more.

// Define your schema
const blogSchemas = [
{
name: 'post',
title: 'Blog Post',
fields: [
{ name: 'title', type: 'string', required: true },
{ name: 'content', type: 'richtext' },
{ name: 'publishedAt', type: 'datetime' },
],
},
];
// Set up Trokky with Express
const trokky = await TrokkyExpress.create({
schemas: blogSchemas,
storage: { adapter: 'filesystem', contentDir: './content' },
security: { adminUser: { username: 'admin', password: 'demo123' } },
});
trokky.mount(app);
PackageDescription
@trokky/coreCMS engine with schemas, validation, and storage
@trokky/routesFramework-agnostic HTTP handlers
@trokky/studioReact-based admin interface
@trokky/clientFrontend SDK with TypeScript generation
@trokky/expressExpress.js integration
@trokky/nextjsNext.js App Router integration

Ready to get started? Head to the Introduction to learn more about Trokky’s architecture and capabilities.