← All topics

#cloudflare

14 posts

Birthdays on a budget

My bot runs every five minutes with a fixed number of calls to Discord. On a busy day it ran out halfway through the birthdays, and wrote everyone down as done anyway. Some people never got their role.

Two clicks, one ticket

A member double-clicks "Open a ticket" and gets two tickets, past the limit of one. The check was there. It just ran twice before either click had finished. How I made a button do its work once.

My own password manager, with a new email address for every site

Keyhaven is a password manager and an email-alias inbox in one, made for exactly one person: me. It's inspired by AliasVault, everything is encrypted on my own devices, and it runs on free plans.

Zero-knowledge on a free plan: what my own server can't see

Keyhaven's server stores all my passwords and has never seen one. Here's the key split that makes that work, using only the browser's built-in crypto, and the limits I'm not going to hide.

Receiving email for free with a Cloudflare Worker

Every alias on my domain lands in one small Worker that decides what to do, seals the message and stores it, on Cloudflare's free plan. No mail server, no file storage, no card on file.

I tried 20 free temp-mail services from Cloudflare's network. 9 worked.

For sign-ups I don't care about, Keyhaven can put an alias on a public temp-mail service. I tested 20 of them from where Keyhaven actually runs. Here's what worked, what didn't and why, and why public really means public.

Sending mail from a free domain: Resend said no, Brevo said yes, Gmail said 550

Receiving mail on a free domain was easy. Sending was a lesson: one service refused the domain, the next one took it, and Gmail turned the mail away anyway. Domain reputation is real.

The whole stack for $0, and the one date I can't forget

Keyhaven runs on free plans only: Cloudflare Pages, Workers, D1 and Email Routing, a free domain and Brevo. Here is every limit, what resets each day, what never does, and the yearly renewal that keeps it all working.

Three Tunisian card games, one engine

After Chkobba, I wanted Rami and Belote online too. Instead of writing the online part twice more, I took it out of Chkobba and gave each new game only its own rules.

Two people, one code box, no conflicts

Interview Room lets an interviewer and a candidate type in the same code at the same time. This is how both copies stay identical, and how the hidden tests stay hidden.

My corner of the internet is a pixel room

nani.is-a.dev is a tiny pixel-art room with a computer in it. Click the screen and it boots into a whole pretend desktop, and everyone visiting at the same time shows up in the room.

I used three tab savers. So I built my own.

Each of the extensions I used to save my tabs lost me something. Linkvault does what I needed from all three: save tabs and sessions, read suspended tabs, and never lose a link.

A status page on 1,000 writes a day

Cloudflare's free plan gives you 1,000 storage writes a day. My status page checks 16 sites every 5 minutes and uses 288 of them. Here's the maths I did before writing any code.

Short links that delete themselves

I wanted my own link shortener, but not one whose database grows forever. So every link in Poof gets a lifetime, and the database removes it by itself, right on time.