whatisgithub

What is temp-mail?

fluffyhowl/temp-mail — explained in plain English

Analysis updated 2026-05-18

13JavaScriptAudience · developerComplexity · 4/5Setup · hard

In one sentence

A disposable temporary email service built on Cloudflare Workers, D1, and Vue, with public inboxes, member accounts, and API key access.

Mindmap

mindmap
  root((repo))
    What it does
      Temporary email inboxes
      Member dashboard
      Admin tools
    Tech stack
      Cloudflare Workers
      D1 database
      Vue frontend
    Security
      Owner scoped access
      Password hashing
      Rate limits
    Use cases
      Disposable signup email
      API driven inbox access

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate a disposable email address to sign up for a service without using a real inbox.

USE CASE 2

Give an application programmatic access to a temporary inbox through a bearer-token API key.

USE CASE 3

Run a self-hosted temp-mail service on your own domain with admin-controlled access.

What is it built with?

Cloudflare WorkersCloudflare D1VueViteWranglerJavaScript

How does it compare?

fluffyhowl/temp-mail09catho/axonabdulrdeveloper/react--tic-tac-toe
Stars131313
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyhardmoderateeasy
Complexity4/54/51/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Needs a Cloudflare account with Workers, D1, and a domain verified for Email Routing before mail can be received.

So what is it?

Temp-Mail is a web application that gives people temporary, disposable email addresses. It is built to run entirely on Cloudflare's infrastructure, using Cloudflare Workers to run the backend code, Cloudflare D1 as the database, and Cloudflare's Email Routing feature to actually receive incoming mail. The visible part of the site is built with Vue, a JavaScript framework for building web interfaces. Anyone visiting the site can generate a temporary inbox without creating an account and read whatever mail arrives there. People who sign up for an account get a dashboard where they can save inboxes they want to keep track of and request an API key, which lets other programs create inboxes and read messages through code instead of a browser. An administrator can manage user accounts, approve or reject API key requests, and review messages, though the readme notes there is a "Privacy Lock" setting that can restrict even the administrator from inspecting message contents. The project pays close attention to security and access control. Every inbox, message, and API key is scoped to whoever owns it, checked on the server rather than trusted from the browser. Passwords are hashed with PBKDF2-SHA256, disabled users cannot log in, and revoked API keys stop working immediately. The readme is explicit about which files should never be committed to the repository, such as local secrets and environment files, and states that real secrets belong in Cloudflare's own secret storage rather than in the source code. Running this project requires a Cloudflare account with Workers and D1 enabled, plus a domain that has been set up and verified for Cloudflare Email Routing so incoming mail actually reaches the Worker. Setup involves creating the database, applying its schema, generating a set of secret keys, and seeding at least one verified mail domain before the first admin account can be created. The readme provides the exact commands for each of these steps using Wrangler, Cloudflare's command line tool, along with a combined test and verification command meant to be run before deploying to production.

Copy-paste prompts

Prompt 1
Walk me through setting up a Cloudflare D1 database and Email Routing for this temp-mail project.
Prompt 2
Help me write the Wrangler secrets I need before deploying this Worker.
Prompt 3
Explain how the owner-scoped access control works for inboxes and API keys in this codebase.
Prompt 4
How do I bootstrap the first admin account after deploying this app?

Frequently asked questions

What is temp-mail?

A disposable temporary email service built on Cloudflare Workers, D1, and Vue, with public inboxes, member accounts, and API key access.

What language is temp-mail written in?

Mainly JavaScript. The stack also includes Cloudflare Workers, Cloudflare D1, Vue.

How hard is temp-mail to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is temp-mail for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.