Petitionyour
repo: ~/Projects/petitionyour · 4 commits · 0 in last 24h, 0 in last 7d ·
Skills used
- /reps2
- /find-reps2
- /claude2
- /code2
- /congress-legislators1
- /geocode-district1
- /refresh-legislators1
- /create1
- /sign1
- /light1
- /density1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
78892be · 2026-09-09 · Add real ZIP-to-congressmen contact flow (senators exact, House by district w/ Census fallback)
- lib/reps.js: resolve senators exactly by state + House rep by district;
bundle public-domain unitedstates/congress-legislators data; free Census
geocoder (address -> 119th CD) for multi-district ZIPs; at-large states exact.
- /api/reps + /api/geocode-district endpoints; legacy /api/find-reps kept.
- Reps panel on petition sign flow + standalone /find-reps: pre-filled editable
message, per-rep 'open official .gov contact form' (new tab) + tel: call,
copy-to-clipboard. Honest copy: we never send anything.
- Persist targeted offices on signature; aggregate 'N unique offices' reach tally.
- scripts/refresh-legislators.js to refresh bundled member data.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JDeaFL4eeREBZX79tc4cnr
4abdcb4 · 2026-09-09 · Initial build: Petition Your Representatives MVP
Real working civic petition tool for petitionyour.org — browse/create/sign
petitions with live signature counts + share links, and a free ($0, no
paid API) ZIP-to-state representative lookup that links to official .gov
sources instead of a static (and inevitably stale) officeholder list.
Express + EJS, JSON-file store (atomic writes, zero native deps), dark/light
toggle + sort/density grid controls per standing rules. Local-only — no
prod deploy fired; nginx vhost (IP-bound :443 per the fleet HTTPS-000
lesson), ecosystem.config.js, and a deploy-kamatera.sh runbook are staged
as gated artifacts for Steve to run.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JDeaFL4eeREBZX79tc4cnr
File tree
26 files tracked. Click any to browse the source at HEAD.
rendered in 1ms