[GH-ISSUE #23] 功能建议:添加一个通知功能 #21

Closed
opened 2026-02-27 06:01:39 +03:00 by kerem · 8 comments
Owner

Originally created by @xf959211192 on GitHub (Jan 22, 2026).
Original GitHub issue: https://github.com/idinging/freemail/issues/23

例如关注某临时邮箱之后,如收到邮件通知就转发给用户常用邮箱或者类似青龙的通知(server酱,tgbot等)

Originally created by @xf959211192 on GitHub (Jan 22, 2026). Original GitHub issue: https://github.com/idinging/freemail/issues/23 例如关注某临时邮箱之后,如收到邮件通知就转发给用户常用邮箱或者类似青龙的通知(server酱,tgbot等)
kerem closed this issue 2026-02-27 06:01:39 +03:00
Author
Owner

@idinging commented on GitHub (Jan 25, 2026):

已经添加该功能,可更新使用(将新代码推送到你自己的仓库上即可,或者重新部署)

<!-- gh-comment-id:3796431683 --> @idinging commented on GitHub (Jan 25, 2026): 已经添加该功能,可更新使用(将新代码推送到你自己的仓库上即可,或者重新部署)
Author
Owner

@xf959211192 commented on GitHub (Jan 25, 2026):

感谢作者修改

<!-- gh-comment-id:3796432981 --> @xf959211192 commented on GitHub (Jan 25, 2026): 感谢作者修改
Author
Owner

@xf959211192 commented on GitHub (Jan 25, 2026):

刚刚是不是d1有问题,部署失败了

<!-- gh-comment-id:3796455909 --> @xf959211192 commented on GitHub (Jan 25, 2026): 刚刚是不是d1有问题,部署失败了
Author
Owner

@idinging commented on GitHub (Jan 25, 2026):

什么报错?

<!-- gh-comment-id:3796456799 --> @idinging commented on GitHub (Jan 25, 2026): 什么报错?
Author
Owner

@xf959211192 commented on GitHub (Jan 25, 2026):

2026-01-25T11:14:01.244Z Initializing build environment...
2026-01-25T11:14:02.948Z Success: Finished initializing build environment
2026-01-25T11:14:03.559Z Cloning repository...
2026-01-25T11:14:05.505Z Detected the following tools from environment:
2026-01-25T11:14:05.812Z Executing user deploy command: npx wrangler deploy
2026-01-25T11:14:07.395Z npm warn exec The following package was not found and will be installed: wrangler@4.60.0
2026-01-25T11:14:17.337Z
2026-01-25T11:14:17.338Z ️ wrangler 4.60.0
2026-01-25T11:14:17.339Z ───────────────────
2026-01-25T11:14:18.840Z ▲ [WARNING] The local configuration being used (generated from your local configuration file) differs from the remote configuration of your Worker set via the Cloudflare Dashboard:
2026-01-25T11:14:18.840Z
2026-01-25T11:14:18.840Z {
2026-01-25T11:14:18.840Z routes: [
2026-01-25T11:14:18.840Z - {
2026-01-25T11:14:18.840Z - pattern: "us.kg"
2026-01-25T11:14:18.840Z - zone_name: "
.us.kg"
2026-01-25T11:14:18.841Z - custom_domain: true
2026-01-25T11:14:18.841Z - }
2026-01-25T11:14:18.841Z ]
2026-01-25T11:14:18.841Z vars: {
2026-01-25T11:14:18.841Z - ADMIN_NAME: "
"
2026-01-25T11:14:18.841Z - ADMIN_PASSWORD: "********"
2026-01-25T11:14:18.841Z - JWT_TOKEN: "****************"
2026-01-25T11:14:18.842Z - MAIL_DOMAIN: "xf17.qzz.io,xf17.us.kg,xf17.me,xf17.de5.net"
2026-01-25T11:14:18.842Z }
2026-01-25T11:14:18.842Z r2_buckets: [
2026-01-25T11:14:18.842Z {
2026-01-25T11:14:18.844Z }
2026-01-25T11:14:18.844Z ]
2026-01-25T11:14:18.844Z d1_databases: [
2026-01-25T11:14:18.844Z {
2026-01-25T11:14:18.844Z + database_name: "maill_free_db"
2026-01-25T11:14:18.844Z - database_id: "b7a3c46b-6af7-4856-a548-5d804bf42871"
2026-01-25T11:14:18.844Z + database_id: "c82663ac-62b6-4ba6-be81-cbe297f2a3dd"
2026-01-25T11:14:18.844Z }
2026-01-25T11:14:18.845Z ]
2026-01-25T11:14:18.845Z }
2026-01-25T11:14:18.845Z
2026-01-25T11:14:18.845Z
2026-01-25T11:14:18.845Z Deploying the Worker will override the remote configuration with your local one.
2026-01-25T11:14:18.845Z
2026-01-25T11:14:18.845Z
2026-01-25T11:14:18.845Z ? Would you like to continue?
2026-01-25T11:14:18.845Z 🤖 Using fallback value in non-interactive context: yes
2026-01-25T11:14:19.034Z 🌀 Building list of assets...
2026-01-25T11:14:19.039Z Read 87 files from the assets directory /opt/buildhome/repo/public
2026-01-25T11:14:19.067Z 🌀 Starting asset upload...
2026-01-25T11:14:20.839Z No updated asset files to upload. Proceeding with deployment...
2026-01-25T11:14:20.844Z Total Upload: 154.00 KiB / gzip: 30.12 KiB
2026-01-25T11:14:22.175Z Your Worker has access to the following bindings:
2026-01-25T11:14:22.175Z Binding Resource
2026-01-25T11:14:22.175Z env.TEMP_MAIL_DB (maill_free_db) D1 Database
2026-01-25T11:14:22.175Z env.MAIL_EML (mail-eml) R2 Bucket
2026-01-25T11:14:22.175Z env.ASSETS Assets
2026-01-25T11:14:22.175Z
2026-01-25T11:14:22.182Z
2026-01-25T11:14:22.183Z ✘ [ERROR] A request to the Cloudflare API (/accounts/d767cb60c42bc895dce8c98c2dc42299/workers/scripts/mailfree/versions) failed.
2026-01-25T11:14:22.184Z
2026-01-25T11:14:22.184Z binding TEMP_MAIL_DB of type d1 must have a database that already exists. Use wrangler or the UI to create the database. [code: 10021]
2026-01-25T11:14:22.184Z To learn more about this error, visit: https://developers.cloudflare.com/workers/observability/errors/#validation-errors-10021
2026-01-25T11:14:22.184Z
2026-01-25T11:14:22.184Z
2026-01-25T11:14:22.184Z If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
2026-01-25T11:14:22.185Z
2026-01-25T11:14:22.185Z
2026-01-25T11:14:22.185Z
2026-01-25T11:14:22.185Z Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
2026-01-25T11:14:22.208Z 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2026-01-25_11-14-16_631.log"
2026-01-25T11:14:22.314Z Failed: error occurred while running deploy command

<!-- gh-comment-id:3796461968 --> @xf959211192 commented on GitHub (Jan 25, 2026): 2026-01-25T11:14:01.244Z Initializing build environment... 2026-01-25T11:14:02.948Z Success: Finished initializing build environment 2026-01-25T11:14:03.559Z Cloning repository... 2026-01-25T11:14:05.505Z Detected the following tools from environment: 2026-01-25T11:14:05.812Z Executing user deploy command: npx wrangler deploy 2026-01-25T11:14:07.395Z npm warn exec The following package was not found and will be installed: wrangler@4.60.0 2026-01-25T11:14:17.337Z 2026-01-25T11:14:17.338Z ⛅️ wrangler 4.60.0 2026-01-25T11:14:17.339Z ─────────────────── 2026-01-25T11:14:18.840Z ▲ [WARNING] The local configuration being used (generated from your local configuration file) differs from the remote configuration of your Worker set via the Cloudflare Dashboard: 2026-01-25T11:14:18.840Z 2026-01-25T11:14:18.840Z { 2026-01-25T11:14:18.840Z routes: [ 2026-01-25T11:14:18.840Z - { 2026-01-25T11:14:18.840Z - pattern: "*******us.kg" 2026-01-25T11:14:18.840Z - zone_name: "***.us.kg" 2026-01-25T11:14:18.841Z - custom_domain: true 2026-01-25T11:14:18.841Z - } 2026-01-25T11:14:18.841Z ] 2026-01-25T11:14:18.841Z vars: { 2026-01-25T11:14:18.841Z - ADMIN_NAME: "****" 2026-01-25T11:14:18.841Z - ADMIN_PASSWORD: "********" 2026-01-25T11:14:18.841Z - JWT_TOKEN: "****************" 2026-01-25T11:14:18.842Z - MAIL_DOMAIN: "xf17.qzz.io,xf17.us.kg,xf17.me,xf17.de5.net" 2026-01-25T11:14:18.842Z } 2026-01-25T11:14:18.842Z r2_buckets: [ 2026-01-25T11:14:18.842Z { 2026-01-25T11:14:18.844Z } 2026-01-25T11:14:18.844Z ] 2026-01-25T11:14:18.844Z d1_databases: [ 2026-01-25T11:14:18.844Z { 2026-01-25T11:14:18.844Z + database_name: "maill_free_db" 2026-01-25T11:14:18.844Z - database_id: "b7a3c46b-6af7-4856-a548-5d804bf42871" 2026-01-25T11:14:18.844Z + database_id: "c82663ac-62b6-4ba6-be81-cbe297f2a3dd" 2026-01-25T11:14:18.844Z } 2026-01-25T11:14:18.845Z ] 2026-01-25T11:14:18.845Z } 2026-01-25T11:14:18.845Z 2026-01-25T11:14:18.845Z 2026-01-25T11:14:18.845Z Deploying the Worker will override the remote configuration with your local one. 2026-01-25T11:14:18.845Z 2026-01-25T11:14:18.845Z 2026-01-25T11:14:18.845Z ? Would you like to continue? 2026-01-25T11:14:18.845Z 🤖 Using fallback value in non-interactive context: yes 2026-01-25T11:14:19.034Z 🌀 Building list of assets... 2026-01-25T11:14:19.039Z ✨ Read 87 files from the assets directory /opt/buildhome/repo/public 2026-01-25T11:14:19.067Z 🌀 Starting asset upload... 2026-01-25T11:14:20.839Z No updated asset files to upload. Proceeding with deployment... 2026-01-25T11:14:20.844Z Total Upload: 154.00 KiB / gzip: 30.12 KiB 2026-01-25T11:14:22.175Z Your Worker has access to the following bindings: 2026-01-25T11:14:22.175Z Binding Resource 2026-01-25T11:14:22.175Z env.TEMP_MAIL_DB (maill_free_db) D1 Database 2026-01-25T11:14:22.175Z env.MAIL_EML (mail-eml) R2 Bucket 2026-01-25T11:14:22.175Z env.ASSETS Assets 2026-01-25T11:14:22.175Z 2026-01-25T11:14:22.182Z **2026-01-25T11:14:22.183Z ✘ [ERROR] A request to the Cloudflare API (/accounts/d767cb60c42bc895dce8c98c2dc42299/workers/scripts/mailfree/versions) failed.** 2026-01-25T11:14:22.184Z 2026-01-25T11:14:22.184Z binding TEMP_MAIL_DB of type d1 must have a database that already exists. Use wrangler or the UI to create the database. [code: 10021] 2026-01-25T11:14:22.184Z To learn more about this error, visit: https://developers.cloudflare.com/workers/observability/errors/#validation-errors-10021 2026-01-25T11:14:22.184Z 2026-01-25T11:14:22.184Z 2026-01-25T11:14:22.184Z If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose 2026-01-25T11:14:22.185Z 2026-01-25T11:14:22.185Z 2026-01-25T11:14:22.185Z 2026-01-25T11:14:22.185Z Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md 2026-01-25T11:14:22.208Z 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2026-01-25_11-14-16_631.log" 2026-01-25T11:14:22.314Z Failed: error occurred while running deploy command
Author
Owner

@xf959211192 commented on GitHub (Jan 25, 2026):

我知道了

这个被覆盖了,我改回来试下

<!-- gh-comment-id:3796466730 --> @xf959211192 commented on GitHub (Jan 25, 2026): 我知道了 这个被覆盖了,我改回来试下
Author
Owner

@xf959211192 commented on GitHub (Jan 25, 2026):

Image
<!-- gh-comment-id:3796466949 --> @xf959211192 commented on GitHub (Jan 25, 2026): <img width="633" height="285" alt="Image" src="https://github.com/user-attachments/assets/7f3a0090-c504-4d7c-9354-0b20e8fe5641" />
Author
Owner

@idinging commented on GitHub (Jan 25, 2026):

改成你自己的

<!-- gh-comment-id:3796468755 --> @idinging commented on GitHub (Jan 25, 2026): 改成你自己的
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/freemail-idinging#21
No description provided.