feedback-gitops
v0.1.22
Published
Turn user feedback into GitHub issues via a Cloudflare Worker queue, with a self-hosted mobile-first widget
Maintainers
Readme
@feedback-gitops/worker
Queue-backed Cloudflare Worker for agent change requests.
Endpoints
GET /widget.js: embeddable widget scriptGET /health: health checkPOST /api/issue: validate/authenticate + enqueue feedbackqueue(): consumes queue messages and creates GitHub issues
Prerequisites
- Cloudflare account with Workers + Queues
- Wrangler authenticated (
wrangler login) - Queue named
feedback-queue
Setup
cd /home/andrey/src/feedback-gitops/packages/feedback-gitops
wrangler queues create feedback-queueSet secrets:
wrangler secret put API_KEY --name feedback-gitops-thoughts
wrangler secret put ADMIN_TOKEN --name feedback-gitops-thoughts
wrangler secret put GITHUB_PAT --name feedback-gitops-thoughts
wrangler secret put GITHUB_REPO_OWNER --name feedback-gitops-thoughts
wrangler secret put GITHUB_REPO_NAME --name feedback-gitops-thoughts
wrangler secret put GITHUB_BASE_BRANCH --name feedback-gitops-thoughtsRun and deploy
From monorepo root:
cd /home/andrey/src/feedback-gitops
pnpm install
pnpm run dev
pnpm run typecheck
pnpm run deploythoughts integration
thoughts should call this worker via Cloudflare service binding FEEDBACK_GITOPS.
Fallback mode via public URL is still supported with:
AGENT_CHANGE_REQUEST_WORKER_URL=https://feedback-gitops-thoughts.andrei-kokoev.workers.dev