Tape 1 of 3
Orkide
An open-source monorepo template for Cloudflare Workers, with a blog, a portfolio and an admin already built. My web products start from it and keep merging its fixes; this site is one of them.
- On air
- October 1, 2026 – present
- Website
- orkide.ouzx.me
- Source code
- github.com/Ouzx/orkide
- Running time
- 0:01:45 of reading
- Labels
What it is
Orkide is a starting point for web products on Cloudflare. It runs as two Workers on one origin: an Astro Worker renders the pages and hands every /api request to a Hono Worker through a Service Binding. The browser only ever talks to one origin, so there is no CORS and no extra network hop.
It ships what most products need on day one:
A blog and a portfolio, translated row by row into English and Turkish, with RSS, Atom and JSON feeds, a sitemap,
llms.txtand a Markdown copy of every post and project.An admin for posts, projects, media, site content, an inbox and analytics, with owner, editor and viewer roles and sign-in through GitHub or a passkey.
D1 with Drizzle for data, R2 for media, Queues for background jobs, Analytics Engine for page views and Flagship for feature flags.
How it is built
Types are derived, not written. Drizzle tables generate the Zod models, the validators refine them, and the API client is typed from the routes.
Pages are cached at the edge by tag. Every page is the same for every visitor and carries the tags of what it shows; a save in the admin purges exactly those.
Errors are RFC 9457 problems, the Content Security Policy is hashed per build, and every interface string goes through Paraglide.
Tests run inside `workerd` with Vitest, and Playwright drives the production build at 375, 768, 1440 and 2560 px wide.
Decisions are written down. The ADR log holds 34 of them, each with its context and consequences.
How products use it
A product is a full-history clone that keeps Orkide as its upstream remote. It changes its look through one package (tokens, fonts, motion and brand drawings) and keeps merging the template's fixes. When the template is redesigned, the redesign lands as design-only commits, so a product with its own look skips it with git merge -s ours and still takes everything else. AbanTCon'27 and this site are built this way.
Status
Live at orkide.ouzx.me with its Blueprint skin, where every page is a sheet of a drawing set. Next on the roadmap: error tracking with Sentry, payments through Polar, and a mobile app with Expo that reuses the API client and validators.
