chore: 完善开源项目文档与结构,移除敏感原始图片

- 重写 README.md,添加在线体验、API 文档、部署指南、技术栈等
- 添加 MIT LICENSE
- 添加 CONTRIBUTING.md 贡献指南
- 添加 GitHub Issue/PR 模板
- 完善 .gitignore,防止原始图片和敏感文件误提交
- 从 git 中移除 25 个原始图片文件(.png/.jpg/非序号 webp)
- 项目结构迁移:functions/ -> src/,根目录静态文件 -> public/
- 添加 wrangler.toml 与 package.json 配置
This commit is contained in:
2026-06-06 20:52:59 +08:00
parent f68e19a3bd
commit f45a0068a2
69 changed files with 872 additions and 675 deletions

9
wrangler.toml Normal file
View File

@@ -0,0 +1,9 @@
name = "randbg-api"
main = "src/worker.js"
compatibility_date = "2026-03-01"
# 静态前端与 manifest / 图片均放在 public仅 Worker 脚本被打包API 体量极小)
[assets]
directory = "public"
binding = "ASSETS"
run_worker_first = true