Skip to content

Syntax-Error-1337/Open-Temp-Mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ“¬ Open-Temp-Mail

Deploy to Cloudflare Workers Open in GitHub Codespaces License Version Status

Open-Temp-Mail is a modern, high-performance temporary email service built for speed, privacy, and ease of deployment. Engineered with React, Vite, and Cloudflare Workers, it provides a seamless disposable email experience with a premium UI.


✨ Features

  • πŸš€ Blazing Fast: Powered by Cloudflare Workers for edge-latency global performance.
  • πŸ›‘οΈ Privacy First: Completely anonymous and disposable inboxes.
  • 🎨 Stunning UI: A beautiful, dark-mode focused interface built with Tailwind CSS v4.
  • πŸ“± Fully Responsive: Optimized for mobile, tablet, and desktop experiences.
  • πŸ” Secure Access: Role-based authentication for Admins and Users.
  • πŸ“¨ Advanced Mailbox Tools:
    • ⭐ Favorites: Pin important inboxes for quick access.
    • πŸ”„ Forwarding Rules: Set up auto-forwarding to real email addresses.
    • πŸ‘οΈ Sanitized Viewing: Safe HTML email rendering with XSS protection.
    • πŸ” Filtering: Filter by All, Favorites, or Forwarding status.

πŸ› οΈ Tech Stack

React Vite Tailwind CSS Cloudflare Workers TypeScript D1 Database

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • Cloudflare Account (for Workers & D1)
  • Wrangler CLI (npm install -g wrangler)

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/open-temp-mail.git
    cd open-temp-mail
  2. Install Dependencies

    npm install
  3. Run Development Server

    npm run dev

    Visit http://localhost:5173 to view the app.

🀝 Contributing

We love contributions! Please read our Contributing Guide to get started.

βš™οΈ Configuration

Open-Temp-Mail uses wrangler.toml for configuration.

Variable Description Example
MAIL_DOMAIN Your email domain(s), comma-separated "example.com, temp.io"
ADMIN_NAME Username for the admin dashboard "admin"

Secrets (Set via wrangler secret put):

  • ADMIN_PASSWORD: Secure password for admin access.
  • JWT_TOKEN: Random string for session security.
  • RESEND_API_KEY: (Optional) For sending emails via Resend.

    Note: Resend offers a free tier with 3000 emails/month, which is perfect for personal use.

πŸ“¦ Deployment

One-Click Deployment

Run the automated setup script to create resources and deploy:

npm run deploy:setup

Manual Deployment

For detailed steps on manually configuring Cloudflare D1, R2, and Secrets, please refer to our Deployment Guide.

πŸ“‚ Project Structure

open-temp-mail/
β”œβ”€β”€ πŸ“‚ src/             # React Frontend Data & Components
β”œβ”€β”€ πŸ“‚ worker/          # Cloudflare Worker Backend Logic
β”œβ”€β”€ πŸ“‚ scripts/         # Setup & Utility Scripts
β”œβ”€β”€ πŸ“œ wrangler.toml    # Cloudflare Configuration
└── πŸ“„ package.json     # Project Dependencies

Built with ❀️ by the Syntax-Error-1337

About

πŸš€ Open-Temp-Mail: A blazing fast, privacy-first temporary email service built with Cloudflare Workers, D1, and React. Create disposable inboxes instantly, manage custom domains, and more.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors