Back

Mail, Drive and music on Cloudflare

August 2026 · Damien Mazeas

Three tools I built for my own use and use every day, in place of a commercial service. Each one runs on a Cloudflare Worker, with its data in my own buckets.

A Drive on a private bucket

One Worker serves the app and the API. The files sit in an R2 bucket that is never public: previews, a 30-day trash and share links that expire. There is no database; the state lives in the bucket, and the tests run against one held in memory. Sign-in takes a password and a one-time code.

It also answers questions from my PDFs and Word files. A search finds the passages, then Claude writes the answer with a citation for every claim. Each answer shows what it cost, and a monthly budget stops questions past the cap. An MCP server lets an assistant search these documents after OAuth, with no access to the rest of the Drive.

The Drive: the folder tree and the file list on the left, and on the right an answer drawn from my documents, with numbered citations, the sources and the cost of the answer
The files on the left, a cited answer on the right. Folder, file and source names are blurred.

Code: github.com/mazeasdamien/dmzs-drive

A mailbox, and a weekly digest

My iCloud mailbox as a web app: the Worker speaks IMAP and SMTP itself. On request, Claude corrects a draft or writes a reply.

Every Monday, a scheduled agent searches, reads and sends me a digest, like the one open below. It can write to one address only, and its budget is capped.

The mailbox: the message list on the left, and on the right the weekly digest sent by the agent on 9 November, with its sources as links
The mailbox, open on the digest the agent sent on 9 November. The other messages are blurred.

Code: github.com/mazeasdamien/stratus

A music library on the iPhone

A Chrome extension adds a track in one click. A Cloudflare container picks it up, stores it in R2 and goes back to sleep, and a web app on the iPhone plays the library, offline too. It costs about $5 a month.

The library and the player, as a web app added to the Home Screen.