A cooperative economics tool for scoring revenue potential and generating AI-powered strategies — built for Front Porch Economics / Asia's project ecosystem.
Same architecture as PWSE (pwse-6q3.pages.dev): Cloudflare Pages frontend + Cloudflare Worker backend proxying the Anthropic API.
rse/
├── public/
│ └── index.html ← Full frontend (deploy to Cloudflare Pages)
├── src/
│ └── worker.js ← Cloudflare Worker (proxies Anthropic API)
├── wrangler.toml ← Worker config
└── README.md
cd rse
npx wrangler deploynpx wrangler secret put ANTHROPIC_API_KEY
# paste your key when promptedAfter deploy, Wrangler prints something like:
https://rse-worker.<your-subdomain>.workers.dev
- Push the
public/folder to a GitHub repo - Go to Cloudflare Dashboard → Pages → Create project
- Connect your repo, set build output directory to
public - Deploy
npx wrangler pages deploy public --project-name=rseIn your Cloudflare Pages project settings:
- Go to Settings → Functions → KV namespace bindings (or just use a redirect rule)
- OR: in your Pages project, add a
_routes.jsonto proxy/api/*to your Worker URL
Simplest approach: in public/index.html, change:
const WORKER_URL = "/api/strategy";to your full Worker URL:
const WORKER_URL = "https://rse-worker.<your-subdomain>.workers.dev/api/strategy";Then redeploy Pages. Done.
R.P. = (A × O × T) / (B + F) × 100
- A — Audience size & reach (1–10)
- O — Offer clarity & strength (1–10)
- T — Trust & credibility (1–10)
- B — Barriers to entry (1–10, drags score down)
- F — Friction & overhead (1–10, drags score down)
Score range: 0–100. Tiers: Pre-launch / Emerging / Building / Ready.
- Solar Roots Co-op
- Front Porch Economics
- Perspective 33
- Liberation Logic / BlackVoteWatch
- Custom (blank)
| Variable | Where | Notes |
|---|---|---|
ANTHROPIC_API_KEY |
Worker secret | Set via wrangler secret put — never in code |
Built by Asia K. · Front Porch Economics · Boston, MA