Work locally
Checkout, stock changes and inventory counts update localStorage immediately.
Local-first stock control
Kolko runs from browser storage first and syncs critical actions to D1 sectioned cloud state with revision and lock protection. The app stays simple for reception and housekeeping operations.
Vanilla JS. localStorage primary state. Cloudflare D1 sectioned JSON state with revision locks.
How it works
Operational data lives in the browser and critical changes are written to sectioned cloud state with revision checks.
Checkout, stock changes and inventory counts update localStorage immediately.
Critical actions write JSON sections to D1 with revision metadata and locks.
A new or secondary device refreshes from cloud and preserves its own device token.
Operations
The baseline covers item management, checkout, counts, activity history and advanced local export/import.
Tap items, confirm, and stock is reduced.
Add items, adjust stock and archive inactive products.
Count current stock and save a stock count session.
Export/import local JSON from Settings with same-hotel and revision protection.