cloudflareworld
03:22:28 UTC

Ehren Simonsmeier · Oct 28 – Dec 2, 2026

What one engineer
can build on
Cloudflare.

Critical vulnerabilities land faster than one engineer can patch a server. So I built a platform that owns no servers. Twelve live services run on Cloudflare's managed Workers runtime, keep members' files chunked and encrypted at rest, and scale to zero: idle, my bill is about the $5-a-month Workers plan, a domain, and the storage kept.

Rust end to end · domain-driven · built custom · 35 days · one engineer

  • Hyper secure. Every rule that keeps it safe is a test, so a shortcut breaks the build instead of production. Try to break in.
  • Scales to zero. No servers and nothing running while nobody's using it: idle, the bill is about $5 a month.
  • Private, even from Cloudflare. Files are sealed and chat is encrypted before they're stored, so they sit in Cloudflare's storage as ciphertext. It still runs the code; the limits say what that means.

right nowrequests this hour –today –Cloudflare bill this month, so far –security checks passing –

how I workthe trades I madesay hi

00

A nearby city.
No region to pick.

  1. A request lands in a nearby city, one of 330+. No region to pick, no origin server.
  2. A Worker answers it: Rust, compiled to Wasm.
  3. Its state sits in a Durable Object: one per game night, one per member's video queue.
  4. Heavy work starts a container, which stops when the work is done.
  5. And back. Idle, no server and no container is running.

01

Built custom.
Its own tools, all of them.

Most platforms are a bill of SaaS. This one rents nothing but Cloudflare's primitives and open-source tools: every service it runs on is built here, on the same primitives as the apps, in the same repository, in the same language.

control
no vendor decides what breaks, changes or leaves
cost
pay for what runs; an idle tool runs no server
one look
every app wears the same theme and switch
one language
Rust from the edge to the browser

02

Domains, not layers.
Boundaries that hold.

Seven bounded contexts, each with a written contract: what it owns, what others may rely on, its words. Each keeps its own data: a guard test fails any binding to another domain's data, and none is left.

  1. Say chat's Worker binds identity's accounts database.
  2. cargo test -p domain-guard fails on it.
  3. It asks identity's contract instead: a service binding.
try to break it
  • identity
    • d1platform-accounts
    • r2keys-registry
    • r2account-avatars

    contract · ACCOUNT

  • chat
    • d1chat
    • r2chat-blobs
    • doHub

    contract · CHAT

    ACCOUNTS · d1ACCOUNT · svc

  • media
    • r2ytdl-files
    • doDownloader

    contract · YTDL

  • web
    • d1thirstday
    • d1opgg
    • doRoom

    contract · OPGG

  • ops
    • d1platform-security
    • r2platform-logs
    • qplatform-logs-new-files

    contract · OPS

  • platform
    • d1platform-browser

    contract · PROXY

  • devtools
    • r2git-files
    • r2runner-cache
    • doRepo
    • doJob

    contract · RUNNER

  • guard

    watching

    failed

    passed

    pending 6

03

Rust, top to bottom.
No hand-written JavaScript.

Workers and Durable Objects at the edge, the servers in the containers, the browser's Wasm: Leptos for most apps, plain web-sys for ytdl and this page. The only JavaScript a browser gets is what wasm-bindgen generates.

javascript shipped, by hand
0
lines of rust
113,656

$ cargo test -p domain-guard semgrep

  1. no-handwritten-javascripterror
  2. no-nodeerror
  3. no-committed-secretserror
  4. no-hardcoded-domainerror
  5. no-cargo-fmterror
  6. no-var-overrides-in-applyerror
  7. r2-writes-through-chunkererror
  8. raw-logs-only-where-anonymizederror
  9. logs-download-through-exporterror
  10. icons-not-emojiserror
  11. no-native-dialogserror
  12. no-native-tooltipserror
  13. minimal-gradientsinfo

test rules_catch_their_fixtures_and_nothing_else ... ok

git ls-files

every tracked source file, sized by its lines

$ git ls-files '*.js'
workers/internal/design/pkg/theme.js wasm-bindgen output
tools/chat-e2e/probe/pkg/probe.js    wasm-bindgen output, never shipped

04

Sealed by default.

  • Stored files are sealed at rest, chunk by chunk, each chunk bound to its place in the file.
  • One key per account, a key per app made from it: one app's data opens nothing else.
  • Chat is encrypted in the browser: the server relays and stores ciphertext; the account host holds the keys in escrow.
  • Logs leave only anonymized: every line of a download through the anonymizer, under a key that changes daily.
  1. a file, cut into chunks
  2. sealed one by one, each bound to its place
  3. someone with the bucket swaps two chunks
  4. read back: they refuse to open out of place
break into one yourself: the vault

05

Written on one Mac.
Applied in one command.

  1. One Mac writes the code and runs terraform apply. Git keeps the code and the state durable; nothing else builds or deploys.
  2. Members get what's live: a launcher, a video library that cuts clips, and chat. Game night needs no account: a four-letter room code and you're in.
  3. The clip maker works: in and out to the frame, then cut. In ytdl, ffmpeg cuts in the member's own container and each clip is sealed; here nothing is uploaded. The other screens are mock-ups on made-up people.
ytdl · clip makertry it
ytdl/ dance · ascii25 fps
00:01.240f 031 / 185

00:01.240

00:03.560

2.320 s · 58 f

15 fps480 px

clips 1the rows ytdl makes · nothing here is uploaded

  • 00:01.240–00:03.560gif · 15 fps · 480 pxsealed

06

One apply.
The world is up to date.

One Terraform configuration holds every app. An app is one block in it; the rest follows.

lines of rust
113,656
tests
673
crates
35
domains
7
written decisions
101
~/cloudflare-stack/terraform
  1. $ terraform apply
  2. module.dev.module.apps["home"].module.worker.data.external.build: Read complete after 38s
  3. module.dev.module.apps["account"].module.worker.data.external.build: Read complete after 44s
  4. module.dev.module.apps["chat"].module.worker.data.external.build: Read complete after 61s
  5. module.dev.module.apps["thirstday"].module.worker.data.external.build: Read complete after 52s
  6. module.dev.module.apps["ytdl"].module.worker.data.external.build: Read complete after 47s
  7. module.dev.module.apps["apps"].module.worker.data.external.build: Read complete after 29s
  8. module.dev.module.apps["runner"].module.worker.data.external.build: Read complete after 33s
  9. module.dev.module.apps["git"].module.worker.data.external.build: Read complete after 58s
  10. module.dev.module.admin_site.module.worker.data.external.build: Read complete after 71s
  11. module.dev.module.proxy.module.worker.data.external.build: Read complete after 26s
  12. module.dev.module.opgg.module.worker.data.external.build: Read complete after 31s
  13. module.dev.module.logging.module.processor.data.external.build: Read complete after 24s
  14. Terraform will perform the following actions:
  15. ~ module.dev.module.apps["chat"].module.worker.cloudflare_workers_script.this[0] will be updated in-place
  16. -/+ module.dev.module.apps["ytdl"].module.worker.terraform_data.container[0] must be replaced
  17. -/+ module.dev.module.app_migrations["chat/DB"].terraform_data.migrate must be replaced
  18. …
  19. Plan: 4 to add, 9 to change, 4 to destroy.
  20. Do you want to perform these actions?
  21. Enter a value: yes
  22. module.dev.module.app_migrations["chat/DB"].terraform_data.migrate: Destroying...
  23. module.dev.module.app_migrations["chat/DB"].terraform_data.migrate: Destruction complete after 0s
  24. module.dev.module.app_migrations["chat/DB"].terraform_data.migrate: Creating...
  25. module.dev.module.app_migrations["chat/DB"].terraform_data.migrate (local-exec): applied 0014_identity_profiles.sql
  26. module.dev.module.app_migrations["chat/DB"].terraform_data.migrate (local-exec): 1 migration(s) applied, database up to date
  27. module.dev.module.app_migrations["chat/DB"].terraform_data.migrate: Creation complete after 3s
  28. module.dev.module.apps["home"].module.worker.cloudflare_workers_script.this[0]: Modifying...
  29. module.dev.module.apps["account"].module.worker.cloudflare_workers_script.this[0]: Modifying...
  30. module.dev.module.apps["chat"].module.worker.cloudflare_workers_script.this[0]: Modifying...
  31. module.dev.module.apps["thirstday"].module.worker.cloudflare_workers_script.this[0]: Modifying...
  32. module.dev.module.apps["apps"].module.worker.cloudflare_workers_script.this[0]: Modifying...
  33. module.dev.module.admin_site.module.worker.cloudflare_workers_script.this[0]: Modifying...
  34. module.dev.module.proxy.module.worker.cloudflare_workers_script.this[0]: Modifying...
  35. module.dev.module.opgg.module.worker.cloudflare_workers_script.this[0]: Modifying...
  36. module.dev.module.apps["ytdl"].module.worker.terraform_data.container[0]: Destroying...
  37. module.dev.module.logging.module.processor.cloudflare_workers_script.this[0]: Modifying...
  38. module.dev.module.apps["ytdl"].module.worker.terraform_data.container[0]: Destruction complete after 0s
  39. module.dev.module.apps["ytdl"].module.worker.terraform_data.container[0]: Creating...
  40. module.dev.module.apps["runner"].module.worker.terraform_data.container[0]: Destroying...
  41. module.dev.module.apps["runner"].module.worker.terraform_data.container[0]: Destruction complete after 0s
  42. module.dev.module.apps["home"].module.worker.cloudflare_workers_script.this[0]: Modifications complete after 4s
  43. module.dev.module.apps["runner"].module.worker.terraform_data.container[0]: Creating...
  44. module.dev.module.apps["account"].module.worker.cloudflare_workers_script.this[0]: Modifications complete after 6s
  45. module.dev.module.apps["git"].module.worker.terraform_data.container[0]: Destroying...
  46. module.dev.module.apps["git"].module.worker.terraform_data.container[0]: Destruction complete after 0s
  47. module.dev.module.apps["git"].module.worker.terraform_data.container[0]: Creating...
  48. module.dev.module.apps["chat"].module.worker.cloudflare_workers_script.this[0]: Modifications complete after 5s
  49. module.dev.module.apps["thirstday"].module.worker.cloudflare_workers_script.this[0]: Modifications complete after 4s
  50. module.dev.module.apps["apps"].module.worker.cloudflare_workers_script.this[0]: Modifications complete after 3s
  51. module.dev.module.admin_site.module.worker.cloudflare_workers_script.this[0]: Modifications complete after 7s
  52. module.dev.module.proxy.module.worker.cloudflare_workers_script.this[0]: Modifications complete after 5s
  53. module.dev.module.opgg.module.worker.cloudflare_workers_script.this[0]: Modifications complete after 3s
  54. module.dev.module.logging.module.processor.cloudflare_workers_script.this[0]: Modifications complete after 4s
  55. module.dev.module.apps["ytdl"].module.worker.terraform_data.container[0] (local-exec): uploaded ytdl-dev
  56. module.dev.module.apps["ytdl"].module.worker.terraform_data.container[0]: Creation complete after 1m12s
  57. module.dev.module.apps["runner"].module.worker.terraform_data.container[0] (local-exec): uploaded runner-dev
  58. module.dev.module.apps["runner"].module.worker.terraform_data.container[0]: Creation complete after 1m31s
  59. module.dev.module.apps["git"].module.worker.terraform_data.container[0] (local-exec): uploaded git-dev
  60. module.dev.module.apps["git"].module.worker.terraform_data.container[0]: Creation complete after 58s
  61. Apply complete! Resources: 4 added, 9 changed, 4 destroyed.

07

Bind another domain's data.
The guard fails the build.

  • identity

  • chat

  • media

  • web

  • ops

  • platform

  • devtools

  • guard

    0failed0passed

    pick a Worker

terraform/ · zsh
$ cargo test -p domain-guard
running 9 tests
test tests::no_worker_binds_another_domains_data ... FAILED
…
thread 'tests::no_worker_binds_another_domains_data' panicked at terraform/guard/lib.rs:494:9:
a Worker binds another domain's data; use the owner's contract (docs/domains/README.md):
workers/public/chat (chat) binds d1 ACCOUNTS of identity at modules/environment/main.tf:447

test result: FAILED. 7 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out

pending0terraform/guard/lib.rs · PENDING · empty

read the source · the guard test

how I work

Fast, careful,
and easy to work with.

I build like this for fun, all the time. Here's what that's like from the other side of the table.

  1. 01 · AI

    AI is a power tool. The craft is still yours.

    Coding by hand is still an incredible skill, and juniors should learn it. You have to understand the patterns to write them, maintain them and optimize them, and to tell good output from plausible output.

    I was building with AI before it was big. With the right guardrails, coding with AI agents, Claude Code and its subagents in a terminal I supervise, doesn't need to be a joke. Here's what that takes:

    • a platform that doesn't collect sensitive data in the first place, when it can
    • supervising the work: reviewing, steering, guiding the model and its memory in the right direction
    • every correction turned into code: semgrep rules and guard tests that fail a bad pattern and enforce a good one
    • regression tests, and full end-to-end tests in a real browser, possible because strong modules and one Terraform stand the whole thing up

    Two corrections from building this site's platform, each now a rule that fails the build:

    1. no-cargo-fmtThe agent ran cargo fmt over four crates. 71 hand-formatted files were rewritten; 44 couldn't be restored exactly, and three tests broke. Now any script or doc that formats in place fails.
    2. no-var-overrides-in-applyA targeted terraform apply with a -var override destroyed a mail subdomain another session had just made. Now any apply with -var fails, and I read every plan's destroy count before saying yes.
    try to slip one past

      try

      read the source · the rules

      There are a lot of ways to do it wrong, and I tried plenty: letting agents build on their own in the cloud was one. I reverted what they wrote and kept what I learned. You learn best by having fun first, and trying everything.

    1. 02 · listening

      I start with what's clunky for you.

      Then I sketch the domains, what each one owns, and write the decisions down, so you can disagree with them in writing before a line is built. This platform has 101 of those, warts and reversals included.

    2. 03 · teams

      Built so other people can join.

      Each domain has a written contract, and the rules teach the codebase's habits on a teammate's first cargo test, not in a review three days later. Old shortcuts go on a list that only shrinks: that's how I move a legacy system without a big bang.

    3. 04 · build or rent

      I rent when renting wins.

      I've spent years making AWS bills smaller with Terraform and Kubernetes. Here I built nearly everything, because showing what's possible is the point. On your team I'd rent auth, payments or email if they aren't your edge. The boundaries and the rules matter more than who wrote the parts.

    4. 05 · fun

      Fun is how I learn the edges.

      The pool table, the ASCII clips, the vault you can break into: I find a platform's limits by playing with it, so I already know them when your project needs them.

    5. 06 · changing my mind

      Four decisions I reversed, in writing.

      1. Nov 16Members unlock their key with their password.The account host keeps it in escrow.Keys you have to manage get lost. Written down with its cost: whoever holds the escrow key and the database can open the data.
      2. Nov 22No containers, ever.Containers for tools that need one, asleep when idle.yt-dlp needs a real machine. The Worker in front stays Rust.
      3. Nov 30Email codes only, no passwords.Passwords too, and one invite link per chat server.Friends joining from a link shouldn't wait on an email.
      4. Dec 2Agents that build on their own in the cloud.Claude Code in a terminal I supervise.What they built alone wasn't worth keeping. I reverted it and kept the lessons as rules.
    ASCII · 01 / 03Containers sleep.
    Idle costs about $5.

    08

    Private by construction.
    Not by promise.

    I've written PII and PHI governance and logging standards before; here they're code. The safe way is the only way that passes. Org rules fail any R2 write that skips the chunker, and any code that reads raw logs outside three places: the processor, the Logs tab and the download. Of the three, only the download anonymizes every line.

    logs · download · errorskey …
    1. 14:02:11 UTC account POST /sign-in 401 ada@example.com from 203.0.113.24
    2. 14:02:19 UTC account POST /sign-in 401 ada@example.com from 203.0.113.24
    3. 14:03:40 UTC chat GET /api/servers?token=8f2kQ9xLmP3vT7wRzz 500
    4. 14:05:02 UTC ytdl POST /api/queue 429 user 3f1b6c1e-8a1d-4c4e-9f0e-2b7d5e6a9c10
    5. 14:06:55 UTC thirstday POST /api/fix 400 "call me on +1 312 555 0147"
    6. 14:07:12 UTC account POST /sign-in 401 ada@example.com from 203.0.113.24

    try

    day 1
    • Same value, same placeholder. A download still says "one address, three failures" without the address. The key changes daily, so days don't link.
    • Chunked and sealed in R2. Each 4 MB chunk is AES-256-GCM, bound to its file and its place; owners are keyed hashes, file IDs random, the manifest written last.
    • A key per owner. Derived from the app's key, so one account's key opens no other account's files.
    • r2-writes-through-chunkerR2 writes go through the chunker; four exceptions, each saying why
    • raw-logs-only-where-anonymizedraw Logpush files: the processor, the Logs tab, the download
    • logs-download-through-exportthe admin site hands out files one way, anonymized
    • no-committed-secretsno key, token or password in the repository
    read the source · the anonymizer

    09

    The vault.
    Break in, if you can.

    The crate that seals files in R2, compiled to Wasm and running in this page. Seal something, then attack the bucket: every verdict below is a real AES-256-GCM decryption.

    vault · platform_storage::sealed · wasm32owner …

    DATA_KEY random, this visit─HKDF-SHA-512─▶ root─HMAC(owner tag)─▶ the owner's key─AES-256-GCM─▶ each chunk

    1. $ swap the bytes of f/9c1e04…/3f2a91….1 and f/9c1e04…/3f2a91….2
    2. $ read f/9c1e04…/3f2a91… as owner 9c1e04…
    3. manifest OPEN diary.txt · 150 B · 3 chunks
    4. chunk 0 OPEN 64 B "Dear diary, no…"
    5. chunk 1 REFUSED aead::Error: bad tag
    6. chunk 2 REFUSED aead::Error: bad tag
    7. = ABORT "chunk 1 is missing or doesn't open"
    real
    platform-storage's Keys::seal_chunk, open_chunk, seal_meta, open_meta and owner_tag, the same code the Workers run
    staged
    the bucket is a list in this page, not R2; chunks are 64 B, not 4 MiB; the keys are made for this visit
    read the source · seal_chunk in sealed.rs

    be the server

    You're chat's server now.
    Read the message.

    Ada writes to Kenji. Their browsers seal and open with chat's own code, compiled into this page; you get exactly what chat's Hub gets. Try anything.

    ada · browser

    sealed here: AES-256-GCM under the server key, bound to msg/<channel>

    you · chat's hub
      kenji · browser
        real
        chat's Sealer, ad::message and keyring (Me::wrap, unwrap), the same file the chat app builds
        staged
        one server and two people in this page; Ada's escrowed app key is made for this visit
        read the source · Sealer in chat's crypto.rs

        limits

        The trades I made.
        And what comes next.

        Every design trades something. These are the trades I made here, and what I'd change first for a bigger team or a regulator.

        who can read what
        who could reada strangera leaked bucket or databaseanother memberCloudflareme, the operator
        Files in ytdlnociphertextnowith the keywith the key
        Chat messages and callsnociphertextif they're in itvia escrowvia escrow
        Member profilesnociphertextname and picturewith the keywith the key
        Log downloadsnoplaceholdersnoredacted linesplaceholders
        Live request logsnoredacted linesnoredacted linesredacted lines

        only noisea part, by designonly with a key held inside the platform, while the code runs

        does not protect against
        • The operator. Chat is encrypted in the browser, but the account host escrows the keys, so I could open them. The trade: new devices and password resets without lost history.
        • Cloudflare itself. Sealing defends against a leaked bucket, not the platform that holds the data key.
        • Raw request logs. Only the download is anonymized; the admin's live Logs tab reads raw lines.
        • Code I serve. The page that encrypts comes from the same host; a compromised deploy could change it.
        breaks first, fixes next
        • Chat history in one database. Live chat is spread out: a gateway per person and a hub per server, each a Durable Object made on demand. The messages still sit in chat's one D1 database. Next: each server's history in its own hub.
        • Key rotation. The data key isn't rotated and sealed files carry no key ID yet. Next: key IDs, then re-wrap.
        • Sessions. Signing out everywhere is instant at the account host; the other apps trust a signed session for up to 12 hours.
        • Short log tags. Anonymizer placeholders are 16 bits, so two values can share one. Next: longer tags.
        • Rules are patterns. The semgrep rules match text, not types; a determined author can slip one. Reviews still matter.
        • One Mac. Today one person applies. The state lives in R2, so a second operator is a credential away, not a rewrite.

        10

        Real physics.
        The same bits everywhere.

        Thirstday's pool table, running here on the same Rust crate the game's Durable Object runs. No float crosses the wire, and the engine brings its own sine and cosine, so the Room and every phone land on the same table to the micrometre.

        angle · 2−32 turns
        0x00062000
        power · millionths
        930,000
        played out
        –
        balls · cushions · down
        –
        table at rest · fnv-64
        –

        the Room and every phone land here

        point to aim · press, pull back · let go

        • time of impacteach contact solved exactly inside the 960 Hz step: nothing tunnels, cuts land on the ghost-ball line
        • slide, then rollspin kept per ball; cloth friction turns a slide into a roll, so stun, follow and draw come out of it
        • cushionsrestitution by speed: a hard ball comes back with less
        • the wirea shot is two integers; the table at rest, whole micrometres
        read the source · simulate in sim.rs
        thirstday · game night
        QR code: a fresh Thirstday game night

        Play it on your phone.

        Scan the code and you're in a fresh game night: no app, no account. The four-letter code on screen brings friends into the same room, and every tap lands on every phone.

        start a night here
        ASCII · 02 / 03No region to pick.
        No VM to patch.

        11

        One theme.
        Every app, one switch.

        One stylesheet and one switch, in every app. The choice is a cookie on the parent domain, so every app follows it, and each page arrives already wearing it: nothing flashes. Seasons turn at midnight, Chicago time.

        palette

        mode

        • account

        • chat

        • ytdl

        • thirstday

        • apps

        • dashboard

        12

        The architecture.
        All of it, on one page.

        Who comes in, the one way in, and every app by who can reach it, with what it keeps. Under them: the logs, the encryption, and the one apply that builds it all.

        Kept as

        a requestlater: a queue, a schedule, LogpushFIG. 3

        Who comes in

        The edge

        The apps, and what each keeps

        Cloudflare

        the one way in

        • a domain per app
        • TLS 1.3, post-quantum
        • WAF
        • rate limits
        • the nearest city answers
        • homeweb

          This page.

          • nothing kept
        • thirstdayweb

          Game night with friends.

          • DOa room per night
          • D1house rules, votes
        • accountidentity

          One sign-in for every app.

          • D1names, emails
          • D1each member's key
          • R2pictures
        • appsweb

          Every app, one page.

          • nothing kept
        • chatchat

          Servers, messages, calls.

          • DOlive connections
          • D1messages
          • R2files
          • calls on Realtime
        • ytdlmedia

          Videos you want to keep.

          • DOyour library
          • CTyt-dlp, ffmpeg
          • R2videos, clips
          • YouTube
        • dashboardops

          The whole platform, one screen.

          • R2log rollups
          • D1security events
          • cronself-checks
        • gitdevtools

          Repos, merge requests.

          • DOCTa repo each
          • R2one bundle per repo
        • runnerdevtools

          Pipelines.

          • DOCTa box per stage
          • R2build cache

        no way in

        • log processorops

          Raw lines into rollups.

          • Qa note per file
          • R2hours and days
        • collectorweb

          League match results.

          • D1matches
          • cronevery 15 min
        • proxyplatform

          The one way out.

          • nothing kept
          • other sites

        Every request, logged

        1. every applines with a trace ID, anything sensitive redacted
        2. Logpushevery 30 s
        3. R2raw files, kept 90 days
        4. Queuea note per new file
        5. log processorrolls up hours and days
        6. dashboardtraffic, latency, the bill

        End to end

        1. accountkeeps your one key, sealed
        2. your browsergets the app's own key, made from yours, and seals before sending

        ciphertext from here on

        • chatpasses messages on, can't read them
        • D1, R2hold only ciphertext
        • Realtimecarries calls, sealed frame by frame

        Built by Terraform

        $ terraform apply on one Mac

        12
        Workers, a domain each
        6
        Durable Object classes
        3
        container images
        5
        D1 databases
        7
        R2 buckets
        1
        queue
        4
        schedules
        9
        Workers on Logpush

        13

        How each one works

        What happens when someone opens it, step by step, and why it's here at all.

        account

        One door for everything.

        One sign-in for every app, invite-only, and one account key nobody ever has to handle. Each app gets its own key made from it, so one app's data opens nothing else.

        1. You join from a link a member sends you. Nobody wanders in.
        2. Sign in once, and every app already knows you.
        3. Your account holds one key, kept sealed. Each app gets its own, made from it.
        4. Apps encrypt in your browser with their key; their storage only ever holds ciphertext.
        • Workers
        • D1
        • R2
        • Service bindings

        apps

        Every app, one page.

        Where a member starts: a tile for each app they can open, under their own name and picture.

        1. Signed out, it hands you to the account sign-in and back.
        2. Your name and picture come from identity, over a service binding.
        3. A tile per app you can open. Admin-only apps are never listed.
        4. A tile opens that app's own host, where you're already signed in.
        • Workers
        • Service bindings

        chat

        Talk without the server reading along.

        Servers, text and voice channels, direct messages, calls with camera and screen sharing. Everything a group chat should do, encrypted in the browser.

        1. Messages are encrypted in your browser before they leave it. The database only ever holds ciphertext; the keys come from the account host, which keeps them in escrow.
        2. A Durable Object holds everyone's live connection and passes each message on the instant it arrives.
        3. Calls run on Cloudflare Realtime, encrypted frame by frame before they leave your browser.
        4. One link invites a friend: it signs them up on the way if they're new, and drops them in the server.
        • Workers
        • Durable Objects
        • D1
        • R2
        • Realtime SFU
        • TURN

        ytdl

        Keep the videos you care about.

        Videos disappear, and watching shouldn't come with ad breaks. Paste a link and it's in your library at once; the video itself is fetched only when someone presses play.

        1. Paste a link. Only its details are fetched ahead of time, so the library fills instantly.
        2. Press play: your queue starts your own container, which fetches it in 1080p with captions.
        3. It is sealed chunk by chunk as it streams in. Nothing is stored in the clear.
        4. Watch with your place saved. It's kept thirty days, or for good once you favorite it.
        5. Clip it: in and out points to the frame, cut by ffmpeg in your container, each clip sealed as a file of its own.
        • Workers
        • Durable Objects
        • Containers
        • R2
        • Cron Triggers

        thirstday

        Game night, with house rules.

        A League of Legends drinking game for friends in the same room. It deals the specials, holds the bets and keeps the count, so nobody has to; between games, pool on real physics or bar dice.

        1. Start a night and get a short room code. No accounts, no sign-up.
        2. Friends join from their phones. Everyone shares one room.
        3. Any tap shows up on every phone, with sound for everyone. Only your own pull tabs stay secret to you.
        4. When a game ends, its results come in from op.gg by themselves. Between games, pool or bar dice: Ship, Captain & Crew, two to five players, every die rolled by the Room. Every minigame ends in drinks.
        5. Call a special cringe or suggest a fix to it; D1 keeps both for review.
        • Workers
        • Rust / Wasm UI
        • Durable Objects
        • D1
        • Service bindings

        14

        Underneath

        The part nobody opens, which keeps the rest honest.

        logs · dashboard

        Every request, traceable.

        A trace ID follows each request from the edge to the rollup. Traffic, errors, latency and the bill for every app on one screen, built from log files no third party ever sees. When raw lines are needed, they leave anonymized.

        1. Each Worker writes structured log lines with a trace ID, and anything sensitive is redacted first.
        2. Logpush delivers them to R2, and each new file drops a note on a Queue.
        3. The log processor wakes for each note and rolls the lines up by hour and by day.
        4. The dashboard draws the rollups as graphs and rings, and the month's bill product by product, under Cloudflare's own names: a new product shows up without a code change.
        5. Every 15 minutes the admin site calls each protected route without a session; each must refuse.
        6. A download takes errors, slow requests or security events out for debugging, every line through the anonymizer.
        • Workers Logpush
        • R2
        • Queues
        • Event notifications
        • Leptos
        ASCII · 03 / 03Twelve Workers.
        One apply.

        FIG. 401 / 06point to disturb · scroll to change

        15

        Own no servers.
        Keep safe what's left.

        • Cloudflare, all the way down

          Workers, Durable Objects, Containers, R2, D1, Queues, Realtime and Logpush. No server or VM of its own; a few container images are the only operating system it ships.

        • Domain-driven

          Seven bounded contexts with written contracts. Each owns its data, and a guard test fails any new binding to another domain's.

        • Built custom

          The dashboard, the anonymizer, accounts, chat, the launcher and the theme: written here, not rented.

        • Rust Workers

          Every Worker and Durable Object is Rust, and so is the server inside every container.

        • Rust in the browser

          Leptos for most apps, plain web-sys for ytdl and this page, compiled to Wasm. The only JavaScript a browser gets is the loader wasm-bindgen generates.

        • Private by construction

          Sealed and chunked at rest, a key per app, chat encrypted in the browser, logs that leave only anonymized, and rules that fail any code going around them.

        Cloudflare patches the runtime: the isolates, the network and the machines under them. The code on top is this platform's to keep safe, and it does that with Rust, thirteen org rules checked by semgrep, data sealed at rest, and a key per app.

        Why Cloudflare: compute in 330+ cities, D1 databases cheap enough to give each app that needs one its own, R2 storage with no egress fees, and a platform solid enough to build a whole stack on. Idle, the bill is about the $5-a-month Workers plan, a domain, and the storage kept.

        ~ · zsh
        $ whoami
        ehren simonsmeier · one engineer · 35 days · Oct 28 – Dec 2, 2026
        workers ........... 12      rust, every one
        lines of rust ..... 113,656
        tests ............. 673
        crates ............ 35
        domains ........... 7       each owns its data
        written decisions . 101
        semgrep rules ..... 13
        servers ........... 0
        idle .............. ~$5/mo  plus a domain and the storage kept
        $ contact
        email ............. ehren@example.com
        github ............ not really  I'm busy using my own git host, built here
        linkedin .......... none
        $