All tags

TAG

#d1

3articles

🪣Rewriting JSONkeeper on Cloudflare Workers + D1 — A 360-Line Hono + jose Replacement for the IIIF Curation Viewer's Save Backend

A from-scratch rewrite of JSONkeeper — the save backend for the IIIF Curation Viewer — not on top of the original Flask code, but as a Cloudflare Workers + D1 service. Covers Firebase ID-token verification with Hono + jose (no Admin SDK, no service-account key needed), the D1 SQLite schema, top-level + nested JSON-LD `@id` rewriting, a minimal Activity Stream collection, CORS and Viewer-compatible headers, a wrangler-based deployment runbook, and a feature-by-feature diff against upstream JSONkeeper.

cloudflarecloudflare-workersd1hono

💳Building a Personal Tech Blog Membership on Cloudflare Workers + better-auth + Stripe

Notes from migrating tech.ldas.jp from Hugo to Next.js (Cloudflare Workers + OpenNext) and adding a Stripe-backed membership with members-only post gating. Covers Workers Free plan CPU limits, Stripe SDK on Workers, SSG/dynamic interplay, and Japan-specific business onboarding details — the parts that the official docs don't quite spell out for this combination.

cloudflare-workersstripebetter-authnextjs

Elasticsearch → Static JSON / D1 Migration — You Don't Need a Search Engine for Small Datasets

Benchmarking Elasticsearch, Cloudflare D1, and Static JSON for full-text search across ~1,800 Japanese text records.

cloudflareelasticsearchd1sqlite