Initial commit: CF Multisite 멀티테넌트 정적 호스팅
Some checks failed
Deploy to CF Multisite / deploy (push) Failing after 1m53s

- Cloudflare Workers + R2 기반
- Edge 캐싱으로 비용 절감
- 티어별 Rate Limiting (free/basic/pro)
- KV 기반 사용량 추적
- Admin API (usage, customers, tiers, stats)
- Gitea Actions 배포 워크플로우

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
kappa
2026-01-29 09:20:46 +09:00
commit 8850031c45
12 changed files with 4824 additions and 0 deletions

19
package.json Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "cf-multisite",
"version": "1.0.0",
"description": "Multi-tenant static site hosting with Cloudflare Workers + R2",
"private": true,
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy",
"r2:create": "wrangler r2 bucket create multisite-bucket",
"r2:list": "wrangler r2 bucket list",
"upload": "node scripts/upload.js"
},
"devDependencies": {
"wrangler": "^3.99.0"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.700.0"
}
}