Skip to content

Commit 38503a2

Browse files
Open-Temp-Mail
1 parent 4fb651c commit 38503a2

3 files changed

Lines changed: 70 additions & 36 deletions

File tree

README.md

Lines changed: 68 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,88 @@
1-
# Freemail Version 2
1+
# 📬 Open-Temp-Mail
22

3-
A modern, responsive frontend for the Freemail application, built with React, Vite, and Tailwind CSS.
3+
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/deploy-button.svg)](https://deploy.workers.cloudflare.com/?url=https://github.com/yourusername/open-temp-mail)
4+
![License](https://img.shields.io/badge/license-MIT-blue.svg)
5+
![Version](https://img.shields.io/badge/version-1.0.0-green.svg)
6+
![Status](https://img.shields.io/badge/status-stable-success.svg)
47

5-
## Features
6-
- **Modern UI**: Clean interface built with Tailwind CSS v4.
7-
- **Authentication**: Secure login for Admins, Users, and Mailbox accounts.
8-
- **Dashboard**: Overview of system status and mailboxes.
9-
- **Mailbox Management**:
10-
- **Favorites**: Star important mailboxes for quick access.
11-
- **Filtering**: Easily filter by All, Favorites, or Forwarding status.
12-
- **Forwarding**: Set up auto-forwarding rules for mailboxes.
13-
- **Mailbox**: Real-time email listing and reading with sanitized HTML view.
14-
- **Responsive**: Fully optimized for mobile and desktop.
8+
**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.
159

16-
## Getting Started
10+
---
11+
12+
## ✨ Features
13+
14+
- **🚀 Blazing Fast**: Powered by Cloudflare Workers for edge-latency global performance.
15+
- **🛡️ Privacy First**: Completely anonymous and disposable inboxes.
16+
- **🎨 Stunning UI**: A beautiful, dark-mode focused interface built with **Tailwind CSS v4**.
17+
- **📱 Fully Responsive**: Optimized for mobile, tablet, and desktop experiences.
18+
- **🔐 Secure Access**: Role-based authentication for Admins and Users.
19+
- **📨 Advanced Mailbox Tools**:
20+
- **⭐ Favorites**: Pin important inboxes for quick access.
21+
- **🔄 Forwarding Rules**: Set up auto-forwarding to real email addresses.
22+
- **👁️ Sanitized Viewing**: Safe HTML email rendering with XSS protection.
23+
- **🔍 Filtering**: Filter by All, Favorites, or Forwarding status.
24+
25+
## 🛠️ Tech Stack
26+
27+
![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)
28+
![Vite](https://img.shields.io/badge/Vite-646CFF?style=for-the-badge&logo=vite&logoColor=white)
29+
![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)
30+
![Cloudflare Workers](https://img.shields.io/badge/Cloudflare_Workers-F38020?style=for-the-badge&logo=cloudflare&logoColor=white)
31+
![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
32+
![D1 Database](https://img.shields.io/badge/Cloudflare_D1-F38020?style=for-the-badge&logo=cloudflare&logoColor=white)
33+
34+
## 🚀 Getting Started
1735

1836
### Prerequisites
19-
- Node.js 18+
20-
- Backend Cloudflare Worker running locally (default port 8787).
37+
- **Node.js** 18+
38+
- **Cloudflare Account** (for Workers & D1)
2139

2240
### Installation
23-
1. Install dependencies:
24-
```bash
25-
npm install
26-
```
2741

28-
2. Start the development server:
29-
```bash
30-
npm run dev
31-
```
42+
1. **Clone the repository**
43+
```bash
44+
git clone https://github.com/yourusername/open-temp-mail.git
45+
cd open-temp-mail
46+
```
3247

33-
3. Open `http://localhost:5173` in your browser.
48+
2. **Install Dependencies**
49+
```bash
50+
npm install
51+
```
3452

35-
## Configuration
36-
The frontend is configured to proxy API requests to `http://localhost:8787`.
37-
To change this, edit `vite.config.ts`.
53+
3. **Run Development Server**
54+
```bash
55+
npm run dev
56+
```
57+
Visit `http://localhost:5173` to view the app.
3858

39-
## Deployment
40-
See [DEPLOY.md](DEPLOY.md) for detailed instructions.
59+
## 📦 Deployment
60+
61+
Open-Temp-Mail is designed to be deployed effortlessly to Cloudflare.
4162

4263
### One-Click Deployment
43-
For a quick setup, run:
64+
For a quick setup, run the automated setup script:
4465
```bash
4566
npm run deploy:setup
4667
```
47-
This script will automate resource creation, configuration, and deployment.
68+
This script will automate resource creation (D1 User DB), configuration, and initial deployment.
4869

4970
### Manual Deployment
50-
To build for production manually:
71+
For granular control over the deployment process, please refer to the detailed **[DEPLOY.md](./DEPLOY.md)** guide.
72+
73+
## 📂 Project Structure
74+
5175
```bash
52-
npm run build
76+
open-temp-mail/
77+
├── 📂 src/ # React Frontend Data & Components
78+
├── 📂 worker/ # Cloudflare Worker Backend Logic
79+
├── 📂 scripts/ # Setup & Utility Scripts
80+
├── 📜 wrangler.toml # Cloudflare Configuration
81+
└── 📄 package.json # Project Dependencies
5382
```
54-
The output will be in the `dist` directory, which is served by the Cloudflare Worker.
83+
84+
---
85+
86+
<p align="center">
87+
Built with ❤️ by the Open Source Community
88+
</p>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "version-2",
2+
"name": "open-temp-mail",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",

wrangler.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "freemail-v2"
1+
name = "open-temp-mail"
22
main = "worker/src/server.js"
33
compatibility_date = "2024-01-01"
44

0 commit comments

Comments
 (0)