Recent Articles
Turso + Cloudflare Setup
1 Go to turso.tech, sign up free, then run
2 Go to turso.tech, create a database, then copy the Database URL and generate an Auth Token.
3 In Cloudflare → Pages → Settings → Environment Variables, add these as secrets:
4 In Cloudflare → R2 → Create bucket (e.g.
5 In Pages → Settings → Functions → R2 bucket bindings, add: variable name
6 Add
7 Trigger a new Cloudflare deploy, then enter your
Note: The secret is stored only in this browser's localStorage. Tables are created automatically on first connection.
1 Go to turso.tech, sign up free, then run
turso db create inkwell in the Turso CLI — or create a database from their dashboard.2 Go to turso.tech, create a database, then copy the Database URL and generate an Auth Token.
3 In Cloudflare → Pages → Settings → Environment Variables, add these as secrets:
TURSO_URL = your Turso database URL — use https:// not libsql:// (e.g. https://your-db.turso.io)TURSO_TOKEN = your Turso auth tokenCMS_SECRET = any strong password you choose (protects write access)4 In Cloudflare → R2 → Create bucket (e.g.
cahs-effect-images). Enable Public access and note your public URL (https://pub-xxx.r2.dev).5 In Pages → Settings → Functions → R2 bucket bindings, add: variable name
IMAGES_BUCKET, select your bucket.6 Add
R2_PUBLIC_URL as a secret env var (your https://pub-xxx.r2.dev URL from step 4).7 Trigger a new Cloudflare deploy, then enter your
CMS_SECRET below and click Save & Test.Note: The secret is stored only in this browser's localStorage. Tables are created automatically on first connection.
Image Uploads — Cloudinary
Free setup (no credit card needed):
1 Sign up free at cloudinary.com.
2 In your Cloudinary dashboard go to Settings → Upload → Upload presets.
3 Click Add upload preset, set Signing mode to Unsigned, save it.
4 Copy your Cloud name (top of dashboard) and the Upload preset name into the fields below.
1 Sign up free at cloudinary.com.
2 In your Cloudinary dashboard go to Settings → Upload → Upload presets.
3 Click Add upload preset, set Signing mode to Unsigned, save it.
4 Copy your Cloud name (top of dashboard) and the Upload preset name into the fields below.