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
整合中選會選舉公報,提供候選人政見、歷屆結果、政黨席次的查詢與比對。
Translation pending
DataTypeScript · CSSGitHub @YaochiehOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
正至 — 台灣選舉資訊平台(Next.js 前端)
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗台灣選舉資訊平台的前端。把選舉資料整合在一起:誰選上、當初說了什麼、後來做到了沒。
線上:taiwan-election-web.vercel.app 後端 repo:Yaochieh/taiwan-election(FastAPI + SQLite,含資料處理管線與資料庫)
Next.js 16(App Router)/TypeScript/Tailwind CSS/Recharts + 自製 SVG(半圓席次圖、台灣地圖),部署於 Vercel。
資料全部來自後端 API,前端不直接接觸資料庫。
npm install
cp .env.example .env.local # 設定 NEXT_PUBLIC_API_URL
npm run dev # http://localhost:3000
預設指向線上 API。要接本機後端就把 .env.local 改成 http://localhost:8000,並在後端 repo 跑 uvicorn api.main:app --reload --port 8000。
npm run build # 部署前必須通過
| 路徑 | 說明 |
|---|---|
/ | 首頁:下一場選舉、兌現追蹤看板、政見×提案精選、現任者記分卡 |
/elections、/elections/[id] | 歷屆選舉與單場結果(含鄉鎮市區地圖、罷免開票條) |
/people/[name]、/people/compare | 個人頁(參選紀錄、政見、罷免紀錄、跨屆對照)與比較工具 |
/parties、/parties/[name] | 政黨與縣市政治版圖 |
/platforms、/topics、/topics/[name] | 政見瀏覽與主題分類 |
/tracker | 兌現追蹤完整頁 |
/issues | 議題缺口分析(社會嚴重度 × 政治關注度) |
/government/* | 立法院、縣市政府、中央政府現況 |
/trends、/data/* | 得票趨勢、投票率、資料來源與方法 |
/about、/changelog、/timeline | 完成度說明、更新紀錄、民主大事記 |
網站仍在建設中。資料還不完整或方法還在調整的功能,會標上 PREVIEW(src/components/preview-badge.tsx),點擊連到 /about#status 的完成度總表。新增半成品功能時請一併標示 —— 誠實揭露限制比多做一個功能重要。
完整踩坑紀錄見 MEMORY.md。最常見的幾個:
.catch(() => []) —— 後端在免費層會休眠,冷啟動約一分鐘,build 時也可能還沒部署完。沒有 fallback 會讓整個 build 失敗。src/lib/format.ts 的 GEO_NAME_MAP。sortCounties,不要 localeCompare。background === "副總統",否則票數翻倍。COUNTY_MERGE。歡迎回報錯誤、提供建議或送 PR。資料本身的問題(政見內容、數字錯誤)請開在後端 repo,介面與呈現的問題開在這裡。
送 PR 前請確認 npm run build 通過。
授權:MIT。