Busabase
Busabase is an open-source (MIT) database and workspace for AI agents — data, docs, skills, and apps in one place. Run it locally, self-host it inside your network, or use Busabase Cloud, and turn age
翻訳待ち
No updates detected yet. GitHub releases will appear here.
ESPN-style stat pages for every member of Congress: votes, legislation, and campaign funding
翻訳待ち
Loading the full README.
Read the full README ↗Stat pages for every member of the U.S. Congress: what they vote on (attendance only, never positions), the bills they sponsor, and where their campaign money comes from.
npm install
cp .env.example .env.local # then paste your api.data.gov key
npm run dev
Upstream responses are cached on disk in .cache/ (ignored by git) so the rate-limited APIs aren't hit on every request.
The Latest Votes strip, Top Stories, vote pages and Supreme Court data are tagged as live data (lib/live.ts). While the site is visited they refresh at most every 30 minutes and are never served more than a day old. GET /api/refresh refreshes all of it immediately and rebuilds the home page; vercel.json calls it daily at 08:00 UTC, shortly after Voteview publishes its daily update. In production set CRON_SECRET, which the cron sends as a bearer token.
Totals for finished presidential terms are saved in lib/data/presidency-stats.json, so the Presidents page doesn't have to gather every law since 1969. When a term ends, or if the law categories change, start the dev server and run npm run update:presidents (set PORT if it isn't on 3000), then commit the file. A finished term missing from the file is computed live until then.
The tracker (lib/sources/pipeline.ts) lists the current Congress's bills and joint resolutions. Congress.gov has no stage field, so stages come from the enacted-law list, recorded floor votes and each bill's latest action text (lib/billStage.ts). Bill pages read the full action history, which is more accurate. The map's state shapes are saved in lib/data/us-map.json; npm run update:map regenerates them.