Files
ForgottenandClaude Opus 4.6 ed590cd791 Add web dashboard, D1 support, and Cloudflare Workers deployment
- Async DbClient interface with three backends: SQLite (local), D1 REST
  API (CLI remote), and D1 Worker binding (deployed, no tokens exposed)
- Hono web dashboard with PR list, filters, sorting, and detail views
- Deploy to Cloudflare Workers via wrangler (D1 binding, read-only)
- Fix greptile parser to handle HTML <h3> format from bot comments
- Make GITHUB_TOKEN and ANTHROPIC_API_KEY optional (only required for
  sync and review commands respectively)
- Add dotenv for .env loading, docker wrapper script
- Optimize list query from N+1 to single SQL (48s -> 0.7s on D1)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-11 11:53:44 -05:00

17 lines
502 B
Bash

# GitHub personal access token with repo scope
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Anthropic API key for LLM reviews
ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Database backend: "sqlite" (default) or "d1"
DB_BACKEND=sqlite
# SQLite config (when DB_BACKEND=sqlite)
DB_PATH=./data/pr-triage.db
# Cloudflare D1 config (when DB_BACKEND=d1)
# D1_ACCOUNT_ID=your-cloudflare-account-id
# D1_DATABASE_ID=your-d1-database-id
# D1_API_TOKEN=your-cloudflare-api-token