Cloudflare D1: save drafts with SQL
Add persistent drafts to a Hono app with Cloudflare D1. Build a schema, run migrations, write safe queries, handle conflicting edits, and keep local, preview, and production data separate.

Software engineer · product designer · digital transformation advisor
Building software since 2008, now at Booking.com. Before that, Spotify, Backbase, and Udacity. I’ve open sourced dozens of projects, and maintain the ones people use.
I run Harf Labs, and Unblock Syria with a lot of help. I’m from Aleppo, live in Amsterdam, and write here in Arabic and English.
Building something new at Harf Labs. Restoring digital access with Unblock Syria.
Experimenting with water fasting. Practicing thuluth, slowly.
Add persistent drafts to a Hono app with Cloudflare D1. Build a schema, run migrations, write safe queries, handle conflicting edits, and keep local, preview, and production data separate.
Give a Hono API a frontend, understand static assets and server rendering, and take a website through local testing, Git deployments, previews, and a custom domain.
Understand the Workers runtime, build a bilingual reading-time API with Hono, and follow it through local development, deployment, bindings, costs, and debugging.
Choose a registrar, connect your domain, and understand the records behind your website and email. A practical Cloudflare DNS guide, with diagrams and troubleshooting commands.
How Cloudflare's networking, security, compute, and storage services fit together, with Unblock Syria as a working example and a look at the five-dollar Workers plan.