Kolko

Local-first stock control

Minibar stock, checkout and inventory without backend dependency.

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.

KolkoPortal
ROOM CHECKOUTConfirm used items
Still water12 remaining
1 +
Chocolate bar5 remaining
2 +
Orange juice3 remaining
1 +

How it works

Same operational idea as Boravio, adapted for Kolko.

Operational data lives in the browser and critical changes are written to sectioned cloud state with revision checks.

1

Work locally

Checkout, stock changes and inventory counts update localStorage immediately.

2

Sync protected state

Critical actions write JSON sections to D1 with revision metadata and locks.

3

Restore safely

A new or secondary device refreshes from cloud and preserves its own device token.

Operations

Designed for simple daily stock work.

The baseline covers item management, checkout, counts, activity history and advanced local export/import.

Checkout

Tap items, confirm, and stock is reduced.

Stock

Add items, adjust stock and archive inactive products.

Inventory

Count current stock and save a stock count session.

Recovery export

Export/import local JSON from Settings with same-hotel and revision protection.