尚未偵測到更新。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.