English see below
这个项目利用 Cloudflare Workers 为论坛动态生成图片签名档。它是项目 xhboke/IP 的 TypeScript 重构版。你可以在这里预览其功能:ahaigege.com/sig。
要部署此项目,你需要一个 Cloudflare 账户。拥有账户后,请按照以下步骤操作:
- Fork 并克隆该仓库:
git clone https://github.com/yourusername/cf-worker-dyn-sig.git
- 进入项目目录:
cd cf-worker-dyn-sig - 使用 Wrangler 部署:
注意:
wrangler deploy
wrangler publish命令将很快被弃用。 - 按照屏幕上的说明进行登录(如果需要)。
- 享受!
部署后,当访问在 Cloudflare 仪表板中设置的路由时,worker 将动态生成签名图片。
欢迎贡献!请随时提交 Pull Request。
该项目是根据 MIT 许可证授权的。有关详细信息,请参阅 LICENSE 文件。
This project leverages Cloudflare Workers to generate dynamic signature images for bulletin board systems (BBS). It is a TypeScript rework of the project found at xhboke/IP. You can preview its functionality at: ahaigege.com/sig.
To deploy this project, you need a Cloudflare account. Once you have an account, follow these steps:
- Fork and clone the repository:
git clone https://github.com/yourusername/cf-worker-dyn-sig.git
- Navigate into the project directory:
cd cf-worker-dyn-sig - Deploy using Wrangler:
Note: The
wrangler deploy
wrangler publishcommand will be deprecated soon. - Follow the on-screen instructions to log in if needed.
- Enjoy!
Once deployed, the worker will generate dynamic signature images when the route set in cloudflare dashboard is visited.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.