Sign up Log in
n/website · 1mo ago · Edited · 649 views
u/WOAILSilver
n/websiteu/WOAIL · 1mo ago

[Open Source Showcase] 1m Mail: A Ready-to-Use Temporary Email Service Built on Cloudflare Workers

Sharing an open-source disposable email service I built: 1m Mail.

No signup needed, addresses generate in 1 second, and they self-destruct once you're done. You can also deploy it on your own domain.

Repo: https://github.com/linxk8/-1m-mail

Live demo: https://1m.de5.net (no signup, just open it and try)

🛠️ Tech stack
Frontend: vanilla HTML / CSS / JS (no framework, as lightweight as it gets)

Backend: Hono + Cloudflare D1

Inbound mail: Cloudflare Email Routing (catch-all)

App form: installable as a PWA, opens offline

✨ Highlights
⚡ Fast receiving: address generated in 1 second, auto-polling every 4 seconds, OTP codes auto-detected, highlighted and enlarged, one click to copy.

🎨 Crystal Lumière design language:

Soft visuals: warm paper background paired with electric indigo, coral pink, and emerald green, plus glassmorphic cards, soft light blooms, and film grain — easy on the eyes.

Seamless hero transition: the generator view (paper plane) and inbox view (crystal envelope) cross-fade in pure CSS over 0.9s, giving a visual loop from "send" to "receive."

Single page, no reloads: generation and inbox flip within the hero, with a realistic incoming-mail card and mouse parallax on the right.

⏳ Countdown and branded ceremony:

Choose from 10 minutes / 1 hour / 24 hours, with one-click renewal and a red warning during the last 5 minutes.

Mail is fully destroyed on expiry; expired or nonexistent public links land on custom-branded 404 / 410 pages instead of the cold default error.

🔒 Security and privacy:

Auto-destroy on expiry with zero data retention.

Built-in CSP policy blocks tracking pixels in external email links.

70+ reserved system names (admin, noreply, etc.) to prevent abuse of sensitive words.

📱 Careful typography and performance:

Bricolage Grotesque + Noto Serif SC + JetBrains Mono, with consistent details in mixed CJK/Latin typesetting.

Single-column reflow on mobile, nicely responsive. Images fall back automatically across AVIF/WebP/PNG based on browser support.

Feel free to try it out and deploy it — any suggestions or issues are welcome on GitHub!

Translated by AI from 简体中文

7
10
Log into join the discussion.

10 replies

Sort order
  1. for Gold 1mo ago #2

    Nice one, thanks boss!

    Translated by AI from 简体中文

    0
  2. WOAIL Silver OP 1mo ago #3
    Reply @for: 好东西,感谢大佬

    Ha, glad it helped

    Translated by AI from 简体中文

    0
  3. fhreg Silver 3 YEARS 1mo ago #4

    Nice one, thanks for sharing, legend!

    Translated by AI from 简体中文

    0
  4. S_Frantz Silver 1mo ago #5

    The UI looks really nice, what did you build it with?

    Translated by AI from 简体中文

    0
  5. loc-yes Diamond Diamond member 1mo ago #6

    Way too many email accounts now

    Translated by AI from 简体中文

    0
  6. zhojin Platinum 1mo ago #7

    I've already got the case open in step one—what now?

    Translated by AI from 简体中文

    0
  7. lovoup Diamond 3 YEARS 1mo ago #8

    Thanks for sharing

    Translated by AI from 简体中文

    0
  8. updated the topic's status 21d ago
  9. updated the topic's status 21d ago
  10. caiya Silver 18d ago #11

    Nice, nice.

    Translated by AI from 简体中文

    0
  11. yuwuyanwu Silver 17d ago #12

    Works great :03-xiexie:

    Translated by AI from 简体中文

    0
  12. Tiger Silver 17d ago #13

    The CF Workers approach is really lightweight — saves you all the maintenance overhead of running your own backend. Thanks for open-sourcing and sharing it! Heading over to drop a star in support.

    Translated by AI from 简体中文

    0