finds.dev← search

// the find

SonicJs-Org/sonicjs

★ 1,610 · TypeScript · MIT · updated Jun 2026

SonicJS - The edge-native headless CMS for Cloudflare Workers. Sub-100ms response times, zero cold starts, TypeScript-first. Built on D1, R2, and Hono.

SonicJS is a headless CMS built specifically for Cloudflare Workers, using D1 (SQLite at edge), R2, and Hono.js. It targets developers who want a self-hosted CMS without the cold-start latency of Node-based alternatives like Strapi or Payload. If you're already in the Cloudflare ecosystem and need content management, this is the only real option built around those primitives.

The edge-native architecture is genuine, not bolted on — D1, R2, and KV are first-class, and the migration bundler (compiling SQL into TypeScript at build time) is a clever workaround for Workers' no-filesystem constraint. The plugin system has a real test suite covering hooks, lifecycle, cron, and event dispatch — not just a happy-path smoke test. TypeScript throughout with Drizzle means the schema is actually type-safe rather than stringly typed. The `create-sonicjs` CLI and monorepo separation between core package and test app shows someone thought about the developer-facing API.

Full Cloudflare lock-in with no escape hatch — D1 is SQLite with limited write concurrency and no advanced query features, so anything beyond basic CRUD content will hit walls fast. The repo has three separate plugin system plan documents (PLUGIN_FRAMEWORK_CONVERGENCE_PLAN, PLUGIN_FRAMEWORK_DEV_PLAN, PLUGIN_SYSTEM_OVERHAUL_PLAN) sitting at root, which is a signal the architecture is still being figured out rather than settled. The admin UI uses HTMX, which is fine for basic forms but means you'll feel the limitations quickly compared to React-based CMS UIs, and TinyMCE requires a commercial license for production use. The `.claude/` directory with 14 custom AI agent commands and heavy AI-generated planning docs in `docs/ai/` suggest much of this was written by LLM, which tends to produce inconsistent abstractions and a lot of code that looks right but has subtle bugs in edge cases.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →