感谢你对 memos-cloudflare 的关注!本项目让你可以把 Memos 部署在 Cloudflare 的免费额度上(Workers + D1 + R2),欢迎任何形式的贡献。
- 🐛 报告 bug:部署失败、接口报错、前端异常,请附上复现步骤
- 📝 完善文档:部署踩坑记录、FAQ、英文翻译
- 💻 修代码:查看带
good first issue和help wanted标签的 issue - 🚀 对齐上游:帮助跟进 Memos 上游的新版本 API
# 后端(Cloudflare Worker)
cd backend
npm install
npm run dev # 本地启动 wrangler dev
npx tsc --noEmit # 类型检查(必须零报错)
# 前端(React + Vite)
cd frontend
npm install
npm run dev # 本地开发服务器
npm run build # 构建(提 PR 前必须通过)- Fork 本仓库并从
main切出分支(如fix/login-error) - 提交信息使用 Conventional Commits 格式:
fix:、feat:、docs:等 - 提交前确认:后端
tsc --noEmit通过、前端npm run build通过 - 发起 PR,描述改动内容和验证方式,关联相关 issue(如
Fixes #1) - 无需 CLA,维护者通常会在几天内回复
直接在 Discussions/Issues 里说一声你想做什么,我们会帮你找到合适的切入点。
Thanks for your interest in memos-cloudflare! This project lets you deploy Memos on Cloudflare's free tier (Workers + D1 + R2). All contributions are welcome.
- 🐛 Report bugs: deployment failures, API errors, frontend glitches — please include reproduction steps
- 📝 Improve docs: deployment guides, FAQ, English translations
- 💻 Fix code: check issues labeled
good first issueandhelp wanted - 🚀 Track upstream: help align with newer Memos API versions
# Backend (Cloudflare Worker)
cd backend
npm install
npm run dev # local wrangler dev server
npx tsc --noEmit # type check (must be clean)
# Frontend (React + Vite)
cd frontend
npm install
npm run dev # local dev server
npm run build # must pass before submitting a PR- Fork the repo and branch off
main(e.g.fix/login-error) - Use Conventional Commits:
fix:,feat:,docs:, etc. - Before submitting: backend
tsc --noEmitpasses, frontendnpm run buildpasses - Open a PR describing the change and how you verified it; link related issues (e.g.
Fixes #1) - No CLA required. Maintainers usually respond within a few days
Just open an issue describing what you'd like to work on and we'll help you find a good entry point.