Back to the map

C03Cloud2026 – Present

German study app + cross-device sync

Design, build & deploy

Migrated a personal app from AWS to Cloudflare Workers + Durable Objects

01 The problem

I needed a lightweight, resilient way to study German across my phone and laptop, with progress that syncs between devices without losing data when both go offline and back.

02 What I built

Static HTML/JS lessons on GitHub Pages with an offline-first sync shim, backed by a Cloudflare Worker and a SQLite Durable Object. Writes get server-assigned sequence numbers; merges are per-key by kind (monotonic for completion, per-card max for flashcards) so concurrent devices never clobber each other. Started on AWS (S3 + Lambda + Terraform), then re-platformed.

03 The result

A reliable, nearly free deployment in daily use across devices, with the conflict-free merge model documented and the old AWS stack cleanly retired.

Try it

Two devices, offline, one result

Take either device offline and study on both. When they reconnect, the server numbers every write and merges it: a finished lesson stays finished, a flashcard keeps its highest level. Nothing is overwritten.

Phone

  • Lesson 5 done
  • Lesson 6 done
  • Card der Hund level 4

Cloudflare Worker

Durable Object (SQLite) seq 44

  1. seq 43 laptop · der Hund = 4 · highest wins
  2. seq 44 phone · Lesson 6 = done · stays done

Laptop

  • Lesson 5 done
  • Lesson 6 done
  • Card der Hund level 4

Stack

  • Cloudflare Workers
  • Durable Objects
  • SQLite
  • GitHub Pages
  • AWS (migrated from)
  • Terraform