Files
cwd/README.md
anghunk 73bbe44fbc refactor(cors): 简化CORS配置并移除未使用的参数
feat(email): 提取邮箱验证逻辑到共享模块并增强验证

docs: 更新文档移除不再使用的ALLOW_ORIGIN配置

style(admin): 为设置页面添加加载状态和样式优化

fix(comments): 在邮件发送前增加邮箱格式验证
2026-01-19 17:02:19 +08:00

43 lines
955 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
> [!WARNING]
> 目前仍处于 Beta 测试阶段,欢迎反馈测试结果。
# cwd-comments
Cloudflare Worker 版本基于 Cloudflare Workers + D1 + KV 实现,无需服务器即可部署运行的评论组件。
[文档地址](https://cwd-comments.zishu.me)
## 特性
- ⚡️ **极速响应**:基于 Cloudflare 全球边缘网络
- 🔒 **安全可靠**内置管理员认证、CORS 保护
- 📧 **邮件通知**:基于 Cloudflare Workers 发送邮件
- 🎨 **易于集成**:提供完整的 REST API
## 前置要求
- Node.js 16+
- Cloudflare 账号
- Wrangler CLI
## 安装
```bash
# 克隆项目
git clone https://github.com/anghunk/cwd-comments
# API 项目
cd cwd-comments-api
# 部署请查看文档
# 前端项目
cd cwd-comments-web
npm install
```
## 配置
- [后端配置](https://cwd-comments-docs.zishu.me/guide/backend-config.html)
- [前端配置](https://cwd-comments-docs.zishu.me/guide/frontend-config.html)