Skip to content

ItsSVK/mailme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MailMe

A modern, privacy-focused temporary email service that allows users to create instant disposable email addresses. Built with React, Express, Bun, and Cloudflare Email Routing.

Preview

MailMe Homepage

Homepage - Create temporary email addresses instantly

MailMe Mailbox

Mailbox - View and manage your temporary emails

Features

  • πŸš€ Instant Setup - Create temporary email addresses instantly, no registration required
  • πŸ”’ Privacy First - Protect your real email from spam and unwanted messages
  • ⚑ Real-time Updates - Auto-refreshing mailbox with 15-second polling
  • 🎨 Modern UI - Beautiful, responsive interface with dark mode support
  • 🧹 Auto Cleanup - Emails and empty mailboxes automatically deleted after 24 hours
  • πŸ“§ Cloudflare Integration - Leverages Cloudflare Email Routing for reliable email delivery
  • 🐳 Docker Support - Easy deployment with Docker Compose

Tech Stack

Frontend: React 19, TypeScript, Vite, TanStack Query, Tailwind CSS, Radix UI
Backend: Bun, Express, Prisma (SQLite), Cloudflare Workers

Quick Start

Prerequisites

  • Bun installed
  • Docker and Docker Compose (for containerized deployment)

Development Setup

  1. Clone and install dependencies

    git clone <repository-url>
    cd mailme
    cd mailme-backend && bun install && bun run prisma:generate && bun run prisma:migrate
    cd ../mailme-frontend && bun install
  2. Configure environment variables

    Create .env files in both directories (see example values in the individual README files).

  3. Start development servers

    # Terminal 1
    cd mailme-backend && bun dev
    
    # Terminal 2
    cd mailme-frontend && bun dev

    Access at http://localhost:5173

Docker Deployment

docker-compose up -d

Access at http://localhost:8080

Project Structure

mailme/
β”œβ”€β”€ mailme-backend/          # Backend API server
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ app.ts          # Express app setup
β”‚   β”‚   β”œβ”€β”€ index.ts        # Server entry point
β”‚   β”‚   β”œβ”€β”€ routes/         # API routes
β”‚   β”‚   β”œβ”€β”€ cleanup.ts      # Background cleanup job
β”‚   β”‚   └── prisma.ts       # Prisma client
β”‚   β”œβ”€β”€ cloudflare/         # Cloudflare Worker
β”‚   β”œβ”€β”€ prisma/             # Database schema & migrations
β”‚   └── README.md           # Backend-specific docs
β”‚
β”œβ”€β”€ mailme-frontend/         # React frontend
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ pages/          # Page components
β”‚   β”‚   β”œβ”€β”€ components/     # Reusable components
β”‚   β”‚   β”œβ”€β”€ hooks/          # Custom React hooks
β”‚   β”‚   └── lib/            # Utilities & API client
β”‚   └── README.md           # Frontend-specific docs
β”‚
└── docker-compose.yml       # Docker orchestration

For detailed setup, API documentation, and deployment instructions, see the README files in mailme-backend/ and mailme-frontend/.

⭐ Star this Repo

If you find this project useful, please consider giving it a star on GitHub! It helps others discover the project and shows your support.

Star on GitHub

License

This project is open source and available for personal use.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

πŸ”’ Privacy-first temporary email service | React + Express + Cloudflare | Instant disposable emails with auto-cleanup | Zero registration required

Resources

Stars

Watchers

Forks

Contributors