尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证ESPN-style stat pages for every member of Congress: votes, legislation, and campaign funding
翻译准备中
正在加载完整 README。
查看完整 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.