My family runs a small grocery store in Kathmandu. Sales used to live on pen and paper: no product
list, no sales history, no way to see which items sold. In July 2026 I built a browser
based point of sale for the shop, and it has been the shop's till every day since. It first ran on
a Raspberry Pi in Sydney and now runs on my Proxmox homelab, reached privately over Tailscale.
I then turned the same code into a multi tenant product (the original KPOS SaaS), and in late
2026 started a ground up rebuild, KPOS Grocery, designed for shops that lose power and internet.
Sole developer and operator: product decisions, architecture, code review, testing, deployment and
support for the family shop. I use AI coding agents as pair programmers, and every change goes
through review and the automated test suites before it is merged.
FAMILY SHOPSingle shop Flask app, one container on the homelab services VM, Tailscale onlyORIGINAL SAASOne Docker container per shop on a cloud VPS behind Caddy, a master dashboard, and a provisioning agent the dashboard reaches through one Unix socketKPOS GROCERYThree parts: Core (shared till engine), Accounts (owner sign-in, staff, tills) and Grocery (the shop product). The till works offline first and syncs sales when the connection returns
BACKENDPython · Flask · SQLiteFRONTENDPlain HTML / CSS / JavaScript, no framework, installable on phone, tablet and desktopHOSTINGDocker, Caddy, Tailscale; homelab for the family shop, cloud VPS for the SaaS and dev stacksTESTINGpytest, browser suites, local test tills for screen checks
▸ Cash sale that keeps working offline, with QR and credit (udhaaro) payments▸ Weighed goods by the kilogram with a quick weight pad▸ Camera barcode scanning and Quick Add for unknown items▸ English / Nepali interface with Bikram Sambat dates▸ Receipts, voids, refunds, price override and split payment▸ Customer credit book (khata)▸ Admin for products and categories behind a manager PIN▸ Owner console: staff, registered tills, password reset by email, suspension lock
▸ Load shedding and patchy internet: the till has to finish a sale without a server and sync it later without double counting▸ Nepali shop habits: Bikram Sambat dates, loose rice and dal by weight, and credit customers who settle up later▸ Tenant isolation in the original SaaS, plus a 2026 security review that found one secret shared across shops. The rebuild was designed so that pattern is not repeated▸ Getting locked out of the VPS over SSH in July 2026, which led to break glass console access, tested backups and health monitoring
utsav@homelab:~/projects/khatiwada-pos$ ls screenshots/
KPOS Grocery till, tablet. Weighed items (kg) sit next to packet goods in one sale.Cash payment. Exact cash, note buttons, QR or credit (udhaaro).Admin, products. Behind a manager PIN on the till.Owner console, registered tills. Store name is a local test store.Original KPOS cashier, Aug 2026 (previous design, kept for history).Original KPOS sales reports, Aug 2026, in both calendars.
Same till on a phone.Weight pad for loose goods.
All products, prices and sales in these screenshots are illustrative demonstration data on local test
tills, not the shop's sales. KPOS Grocery screens: captured 10 Nov 2026 from the current
development build. Original KPOS screens: captured 21 Aug 2026 with a seeded demo catalogue.
utsav@homelab:~/projects/khatiwada-pos$ make test
KPOS Grocery is covered by automated suites in each repository: as of 10 Nov 2026, Core 1,155 tests,
Grocery 1,268, Accounts 955, plus database and admin suites. Changes are also checked on a local test
till in Chrome at phone, tablet and desktop sizes before review. The original family shop app
shipped with a 54 check suite in July 2026.
The family shop has used the original POS every day since July 2026. The original SaaS is live for a
test store and one pilot shop. KPOS Grocery is running on a development server only: no shops use
it yet.
utsav@homelab:~/projects/khatiwada-pos$ kpos status
In useFamily shop POS, daily since July 2026LiveOriginal KPOS SaaS: a test store and one pilot shopOn devKPOS Grocery: till, payments, khata, refunds, admin, owner console. Built, tested and merged; no shops use it yetPlanned24 hour offline sign-in lease (design agreed, not built)PlannedOperator console, billing and self sign-up
2026-07-02Project start: Flask and SQLite, cashier screen with scan, search and running bill, admin panel, Quick Add for unknown barcodes2026-07-03Hardened and deployed for the shop: a 54 check test suite, Docker with gunicorn, HTTPS behind Caddy over Tailscale2026-07-04English / Nepali toggle, live Bikram Sambat date, Nepali product names2026-07-22Original SaaS login flow live: store name and password, then a signed handoff into the shop's own container2026-07-30SSH lockout on the VPS; break glass access, tested backups and a 15 minute health heartbeat followed2026-08-20Self service shop creation from the master dashboard through a provisioning agent behind one Unix socket; per store payment QR upload2026-10Family shop app moved from the Pi to the Proxmox homelab2026-10 to 2026-11KPOS Grocery rebuild: offline first till, khata, refunds, split payment, owner login and console, suspension lock, versioned releasesNEXTOffline sign-in lease, then operator console and billing before any shop moves across