The Problem
Community treasurers needed a transparent way to record weekly Shodaqoh Bulanan contributions, allocate funds across eight community posts (Infak IR, Uang Sambung, Jimpitan, Siar-Siar, Seribuan, Kafan, Ukhro MT, and Dana Kesehatan), and publish monthly Kas Utama summaries. Most treasurers worked strictly from low-to-mid-range Android phones and could not justify recurring database hosting costs.
My Role & Constraints
This was a self-directed product case study (not formal employment) where I owned user workflow discovery, UI design, frontend implementation, and Google Apps Script integration.
Three constraints guided the build:
- Zero monthly infrastructure cost: community organizations preferred keeping spreadsheets as the underlying ledger without paid cloud DB subscriptions.
- Low-end mobile performance: pages needed fast load times, legible dark-mode cards, and smooth numeric scanning on smaller screens.
- Mistake-safe posting: accidental monthly postings into Kas Utama needed an explicit reversal mechanism rather than manual row deletions.
Key Decisions
1. Vanilla JS + Google Apps Script instead of a heavy SPA + VPS stack
Skipping framework runtime overhead kept the client bundle minimal while using Google Apps Script as a lightweight JSON API over the existing community spreadsheet.
- Trade-off: Apps Script cold invocations are slower than dedicated Edge workers (~400 to 800ms), but explicit sync timestamps (
tersinkron 10.04.47) and zero hosting cost matched community reality.
Zero monthly hosting cost built directly over existing Sheets
Skipping unnecessary VPS complexity when community ops need simplicity and reliability.
Vanilla JS Web App
Minimal client bundle loads fast and scans cleanly in dark mode on budget Android phones.
Google Apps Script
Handles allocation formulas and returns clear sync timestamps (e.g. tersinkron 10.04.47).
Community Google Sheet
Stores 295+ live records transparently in a format treasurers already own and trust.
2. Explicit "Posting ke Kas Utama" and "Batalkan Posting" rollback state
Monthly Shodaqoh collections accumulate across multiple sub-allocations before being committed to Kas Utama. Separating draft monitoring (LUNAS 21 / BELUM 9) from posted ledger entries with a dedicated Batalkan Posting rollback prevented ledger drift.
Making ledger commits explicit and reversible gave non-technical treasurers confidence to manage 295+ live transactions without fear of corrupting totals.
Draft monitoring, 8-post auto split, and one-tap rollback
Eliminating manual row deletion mistakes inside community spreadsheets.
Draft Collection Monitor
Tracks paid vs unpaid status (LUNAS 21 / BELUM 9) before touching main cash.
Commit: Posting ke Kas Utama
Atomic batch action moves verified Shodaqoh totals into monthly treasury.
Kas Utama & 6-Mo Trend
Updates live Surplus card and printable 6-month community balance chart.
03 -> 01: Batalkan Posting (Reversible Safety Valve)
Reverts an accidental commit cleanly back to Draft without corrupting sheet rows.
3. Dark-mode high-contrast financial hierarchy
Color-coded balance cards (Pemasukan green, Pengeluaran red, Surplus badge, and a 6-month Tren Saldo Bulanan chart) let members inspect financial health at a glance alongside printable reports.
The Build
Allocation calculations enforce exact proportional rules (such as allocating 20% of Uang Sambung into Dana Kesehatan) before committing batch entries:
export interface ShodaqohBreakdown {
infakIr: number;
uangSambung: number;
jimpitan: number;
siarSiar: number;
seribuan: number;
kafan: number;
ukhroMt: number;
}
export function computeAllocationSummary(input: ShodaqohBreakdown) {
const danaKesehatan = Math.round(input.uangSambung * 0.2);
const netUangSambung = input.uangSambung - danaKesehatan;
const total =
input.infakIr +
input.uangSambung +
input.jimpitan +
input.siarSiar +
input.seribuan +
input.kafan +
input.ukhroMt;
return { total, danaKesehatan, netUangSambung };
}Outcome
- Actively tracked 295+ transactions (
Rp 98.940.000cumulative inflow /Rp 97.442.000outflow across Jan to Aug 2026 in production usage). - Simplified monthly Shodaqoh monitoring (
LUNASvsBELUM), automatic 8-post breakdown, and printable financial reporting. - Delivered fast, low-bandwidth mobile usability with zero recurring server costs.
Reflection
Running a lightweight frontend over Google Apps Script taught me where serverless spreadsheets shine (low-frequency community ops with zero budget) and when to graduate to PostgreSQL/Go Fiber (as seen later when scaling multi-group roles in Sambung Ngaji).


