尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A set of books for one household, kept by the people in it. A budget for the
month, every entry reported against it, accounts whose balances are worked out
from the entries rather than typed, credit cards that file themselves into the
right statement, and a khata for what is lent, fronted and owed back. It is a
PWA, built for a phone, and it works without signal.
The live copy is at https://saree-al-hisab.vercel.app. What it does with your
data is written down, in the app, at /terms — and every claim on that page is
one you can check here, because this is all of the code.檢視完整 README ↗A set of books for one household, kept by the people in it. A budget for the month, every entry reported against it, accounts whose balances are worked out from the entries rather than typed, credit cards that file themselves into the right statement, and a khata for what is lent, fronted and owed back. It is a PWA, built for a phone, and it works without signal.
The live copy is at https://saree-al-hisab.vercel.app. What it does with your
data is written down, in the app, at /terms — and every claim on that page is
one you can check here, because this is all of the code.
Then nobody but you holds the books. You need a Postgres database (Neon's free tier is fine; so is one on your own machine) and Node 24.
cd web
npm install
# .env.local — never committed
echo 'DATABASE_URL=postgresql://user:pass@host/db?sslmode=require' >> .env.local
echo "AUTH_SECRET=$(openssl rand -base64 32)" >> .env.local
echo 'AUTH_TRUST_HOST=true' >> .env.local # only when not on Vercel
npm run migrate # creates every table, view and trigger, in order
npm run build
npm start # http://localhost:3000
Open it, create your account, name your household and pick its currency. That is the whole setup: there is no admin console and no seed step. Receipt scanning is per household and needs a Google AI key, added inside the app under Household; it is stored encrypted and used for nothing else.
APP_DATABASE_URL overrides DATABASE_URL if both are set, which is how the
live copy points at a store in a different region from the one Vercel attached
first. The database connection must be TLS; the app refuses a plain one.
The migration also creates a login role, saree_app, that owns nothing and
cannot bypass a row policy; every household table has one, so a query can only
reach the household the request is for. Running the app as that role is one
more command — it sets a password, writes APP_DATABASE_URL for it, and keeps
OWNER_DATABASE_URL for the scripts:
node scripts/app-role.mjs --no-vercel # drop --no-vercel to push it to Vercel too
node scripts/app-role.mjs --verify # proves the policies bite
Running as the owner instead still works, but the policies then only bind if
the owner lacks BYPASSRLS — Neon's neondb_owner has it, so there they
would not.
| Path | What |
|---|---|
web/ | The app: Next.js, App Router, Postgres through Drizzle. Its CLAUDE.md is the long-form record of every decision. |
web/drizzle/ | Migrations. 00xx are generated from src/db/schema.ts; 01xx are hand-written views and triggers, idempotent, re-applied every run. |
web/scripts/ | The migration runner, the invariants suite (143 assertions against a real database), the token generator and the contrast check. |
design/, design-v2/ | The canvases the screens were designed on, and the palette the tokens are generated from. |
npm run test:lib # money, hashing, link tokens
npm run test:invariants # needs DATABASE_URL (or OWNER_DATABASE_URL); leaves nothing behind
npm run test:contrast # every ink/ground pair, both themes