Workers Mail は、 Cloudflare Workers 上で独自ドメインの電子メール ホスティングを行うアプリケーションです。 API とフロントエンドを提供しており、簡単にあなたのドメイン名のメールアドレスを管理できます。
メールの送受信には Cloudflare の Email Routing 機能を使用します。
3MQWxLvLFbY_EiVJ.mp4
- メール作成
- メール送信
- ラベリング
- メッセージ検索
- ロギング
- エンドツーエンド暗号化 (ProtonMail-like)
フロントエンドは SvelteKit と Tailwind CSS で構築されたシングルページアプリケーションです。
APIは Hono を利用しています。 Hono は Cloudflare Workers などのエッジ環境で API を構築するためのフレームワークです。
API ドキュメントは API.md を参照してください。
git clone https://github.com/shinosaki/workers-mail.git
cd workers-mail/
npm install
npm run front:build
When the API route is api.mail.lain.im
, the route of the front end MUST be the route of the API with "api." removed. (e.g. mail.lain.im
)
git clone https://github.com/shinosaki/workers-mail.git
cd workers-mail/
npm install
- Edit
wrangler.toml
wrangler login
npm run kv:create
npm run kv:init
npm run deploy
- Set
PUBLIC_API_ENDPOINT
from./front/.env
npm run deploy:front
- Set custom domains from Cloudflare Pages dashboards
- API
- Front
- SvelteKit (Github)
- Tailwind CSS (Github)
- Vite (Github)
- Tabler Icons (Github)
- Day.js (Github)
- PostalMime (Github)
- Fonts