Persian-first, local-first building charge management. Installable as a PWA (desktop & mobile) and as a Windows desktop app; deployable to GitHub Pages / Vercel / any static host. No server, no accounts — your data lives on your devices.
Successor in spirit to Mobinsadeqian/HesabKetab (حسابکتاب) — the domain concept of loginless per-unit access codes and expense-splitting invoices is credited to Mobin's original project. This is a fresh codebase.
- Building & units — onboarding wizard; units with area, occupancy, owner/resident roles, auto access codes
- Expenses with flexible splits — equal, by-area (m²), or manual weights; exclude any unit; exact-integer math with deterministic remainders
- Correcting entries — fixing a finalized expense creates a correction; history is immutable
- Monthly charge cycle — one invoice per unit per Jalali month: fixed شارژ + expense shares − credit, draft → review → finalize
- Payments & reconciliation — partial payments, approve/reject receipts, derived unpaid/partial/paid status, overpayment becomes credit that carries forward
- Dashboard & exports — month totals, per-unit balances across months, CSV exports (UTF-8 BOM) for Excel
- Print/PDF invoices — clean RTL print stylesheet per invoice
- Static bill board — one self-contained HTML page per unit (keyed by access code); host anywhere; zero cross-unit data by construction
- Backups — one-click export/import of the whole database; last-updated-wins merge warns before stale restores
- Offline & installable — PWA service worker; Electron NSIS installer for Windows
pnpm install pnpm dev # http://localhost:5173 pnpm test # Vitest suite pnpm typecheck # tsc -b pnpm build # static build in dist/ (PWA) pnpm dist # Windows installer (NSIS) in release/
Deploy dist/ to any static host. فارسی: README.fa.md
Local-first SPA: React 18 + TypeScript + Vite + Tailwind v4 (logical-property RTL) + Dexie (IndexedDB). Money math lives in pure domain functions (src/domain) covered by strict-TDD tests; persistence and UI are thin layers above it. See CONTEXT.md for the domain glossary and docs/adr/ for architecture decisions.
MIT — see LICENSE.