跳到正文

smail

活跃
akazwz/smail

smail.pw 的源代码:运行在 Cloudflare Workers 上的只收不发临时邮箱,通过 WebSocket 实时推送收件箱,使用 D1、R2 和 Durable Objects。

在 GitHub 查看
星标
935
Fork
188
关注
935
未关闭 Issue
0

该介绍目前仅提供英文版本。

Overview

smail is the source code of smail.pw, a temporary email service that runs on Cloudflare Workers.

Features

  • Get an address without signing up; it stays the same until you replace or delete it
  • New mail appears within seconds, pushed over a WebSocket (no polling)
  • All pages are static files; the Worker only handles the inbox API, the push connection and incoming mail
  • Emails render in a sandboxed iframe — scripts don’t run and links open in a new tab
  • 19 interface languages, including right-to-left ones
  • Receive only: no sending, and attachments are not shown

Stack

Solid 2, StyleX, Cloudflare Workers, D1, R2, Durable Objects and Email Routing.

Self-hosting

To run your own copy you edit a single file, site.config.ts, then follow the deploy steps in the README; the final Email Routing step is done in the Cloudflare dashboard.

按共同分类和标签排序的同类开源项目。

全部工具项目 →