all-set-tw README

The project's README from github.com/TedLin1993/all-set-tw. As one markdown file: README.md.

不用記帳 Logo

不用記帳

ALL SET — 自動同步銀行、信用卡、投資與電子發票的自架個人財務整合工具。

可免費自架: 所有功能都能在 Cloudflare Workers Free Plan 內使用,一鍵部署,不需要自行準備伺服器或升級付費方案;每日用量依免費額度而定,詳見免費部署。

主要功能

目前介面

以下畫面使用匿名 Demo 資料,取自目前版本。

桌面版總覽 手機版總覽
桌面版總覽畫面 手機版總覽畫面
資產清冊 活動分析 設定與資料來源
資產清冊畫面 活動分析畫面 設定與資料來源畫面

支援資料來源

資料來源 支援內容 登入與驗證
電子發票載具 發票・品項明細 App 登入
集保 e 存摺 持倉・投資交易・存款(交割帳戶支援銀行) App 登入;首次可能需要 OTP
玉山銀行 存款・信用卡 網銀登入
國泰世華銀行 存款・信用卡・貸款 網銀登入;額外驗證需人工處理
永豐行動銀行 存款・信用卡・貸款 網銀登入;AI 自動辨識驗證碼
台新銀行 存款・信用卡 網銀登入;AI 自動辨識驗證碼
中國信託銀行 存款・信用卡・貸款 App API;App/Email 兩階段驗證
王道銀行 存款 App 登入;AI 自動辨識驗證碼
華南銀行 存款・信用卡 網銀登入;AI 自動辨識驗證碼
新光銀行 存款・信用卡 App 登入
第一銀行 存款・信用卡 網銀登入;AI 自動辨識驗證碼
凱基銀行 存款 網銀登入;AI 自動辨識驗證碼
兆豐銀行 存款・信用卡・貸款 App 登入;AI 自動辨識驗證碼
將來銀行 存款 網銀登入;AI 自動辨識驗證碼
樂天國際銀行 存款・貸款 網銀登入;AI 自動辨識驗證碼
台北富邦銀行 存款・信用卡 網銀或信用卡會員登入;AI 自動辨識驗證碼
遠東商銀 存款・信用卡 網銀登入;AI 自動辨識驗證碼
聯邦 New New Bank 存款・信用卡・貸款 App API 登入
Binance 加密貨幣持倉 唯讀 API Key
MAX 交易所 加密貨幣持倉 唯讀 API Key
彰化銀行 存款・信用卡・貸款 網銀登入;AI 自動辨識驗證碼
永豐金證券 台股・美股持倉・損益・投資交易(含豐存股) 帳密登入;首次憑證可能需生日與 OTP

「存款」含帳戶餘額與交易明細,「信用卡」含帳單與消費明細,「貸款」含餘額與還款條件;各銀行可取得的幣別與交易期間依其網銀或 App 提供的範圍而定。

使用限制

免費部署

本專案使用的 Workers、D1、Queues、Workers AI 與 Browser Run 均提供免費額度。各項免費額度並非無限;超過服務限制時,相關功能可能暫停至額度重置。 啟用 AI 自動分類時,每天最多分類 2,000 筆活動(約佔 Workers AI 每日免費額度一半,其餘保留給驗證碼辨識),超過時隔天自動繼續。

部署前準備:註冊帳號

請先註冊並登入以下兩個帳號;已有帳號可直接登入:

步驟一:一鍵部署

點擊下方按鈕。Cloudflare 會在你的 GitHub 帳號建立新的 repository、自動建立 D1 Database,並部署至 Cloudflare Workers:

Deploy to Cloudflare

首次使用時,依畫面透過 Git account → New Github Connection → Install & Authorize 授權 Cloudflare 存取 GitHub。

確認 Deploy command 為 npm run deploy,關閉 Enable Preview builds,再開啟 Protect with Cloudflare Access,設定:

部署指令為 npm run deploy,Preview builds 已關閉,Access 套用至 All traffic 並選擇 Cloudflare account

確認後點擊 Deploy,頁面會自動跳轉至 Builds。登入驗證設定會自動取得,後續更新也會沿用。

步驟二:確認部署

  1. 等該次 build 顯示成功後,點擊右上角的 Visit 開啟 Worker 的 workers.dev 網址;若未出現 Visit 按鈕,請先重新整理 Worker 頁面
  2. 進入網站後,前往「設定 → 資料來源」,按「新增資料來源」選擇機構並設定連接器
  3. 點擊同步以取得最新資料

Cloudflare build 成功畫面與右上角的 Visit 按鈕

部署後可延長登入期限。登入遇到問題或需要更新版本時,請參考進階部署與更新。

本機開發

請依本機開發指南建立私人設定、指定開發用 D1 並啟動服務。提交變更前請見專案驗證指令。

技術架構

前端使用 Svelte 5、TypeScript、Tailwind CSS 4 與 shadcn-svelte。

後端執行於 Cloudflare Workers,以 Hono 提供 API,並整合 D1、Access、Browser Run、Workers AI、Cron Triggers 與 Queues。

程式結構與開發約定請參考後端架構、前端架構與連接器開發。

安全機制

免責聲明

本程式僅供個人研究與自用,未與臺灣集中保管結算所、財政部、金融監督管理委員會、各銀行或任何金融機構合作,亦未獲前述機構授權或背書。本程式所呈現之資料以您自行提供之憑證取得,作者不保證資料之即時性、正確性與完整性,亦不對因使用本程式所產生之任何直接或間接損失負責。請勿將本程式用於任何商業用途。

License

本專案採用 MIT License,並保留原專案的著作權與授權聲明。

本專案以 kevchentw/taiwan-fin-hub 為基礎發展而來。感謝原作者與貢獻者奠定專案基礎。

all-set-tw (TedLin1993/all-set-tw)

Searching Database…

What is this?ALL SET (all-set-tw) is a self-hosted personal finance hub for Taiwan that automatically syncs your bank accounts, credit cards, brokerage holdings, and government e-invoices into one dashboard, so you can stop bookkeeping by hand.
Is this something I install on my computer, or does it run online?It runs online: a web app you deploy to your own Cloudflare account (Workers plus a D1 database) and open in a desktop or mobile browser — nothing to install locally, and typical low-frequency personal use fits the free plan.
How do I get it running?Click the one-click Deploy to Cloudflare button: it creates a repo under your GitHub, provisions the D1 database and deploys the Worker. Then set your own random CONFIGENCRYPTIONKEY, enable Cloudflare Access login protection, and add connectors under Settings.
What do I need before deploying it?Just a Cloudflare account and a GitHub account. The Workers, D1, Queues, Workers AI and Browser Run quotas it uses all have free tiers, though exceeding limits pauses features until quotas reset.
Will the syncing always work reliably?No. Connectors depend on external web pages and app APIs, so a source redesign can break sync until an update; the system never bypasses CAPTCHA, OTP or device verification (manual steps pause sync), auto-login may interrupt your official banking sessions, and data is not an official real-time record.
Which banks and data sources does it support?Taiwan-centric: e-invoice carriers, the TDCC passbook (brokerage balances, stock/ETF/fund holdings and trades), and about ten banks — CTBC, E.SUN, Cathay United, Taishin, SinoPac, Hua Nan, Shin Kong, O-Bank, First Bank and KGI — linked via app or web-bank logins, some with AI-assisted CAPTCHA recognition.
How does my deployment stay up to date?After a one-time step (adding the sync-upstream workflow file to your fork), GitHub Actions merges the latest upstream version daily at 04:15 Taiwan time and Cloudflare Builds redeploys. If your own code changes conflict, the workflow stops and you resolve it manually.
What is the one thing I should not lose?Your CONFIGENCRYPTIONKEY. Rotation isn't supported: rebuilding the Worker, migrating, or reusing an existing D1 requires the exact same key, or every connector must be set up again — the README suggests storing it in a password manager.
Is it officially connected to banks or the government?No. The disclaimer states there is no cooperation with or endorsement from the TDCC, Ministry of Finance, FSC or any bank, data comes from your own credentials without accuracy guarantees, and commercial use is forbidden.
Creator
TedLin1993
Size
14.8 MB
Stars
307
Age
5mo
Commits · 90 Days