KiniBukaGuide
GitHub

KiniBuka: Find small stalls that are open right now.

Find small stalls that are open right now.
A live feed of Indonesian UMKM openings, closings, promos and bazaars.

See it in action · Highlights · More by juw12

Last updated Web MIT license

Live open status
See which stalls are open now on a feed and a searchable map.
Follow alerts
Follow your favourites and hear when they open or post a promo.
Order ahead
A one-tap WhatsApp handoff to the seller.

See it in action

KiniBuka screenshot
KiniBuka in use

About

Kini buka means "open now". KiniBuka helps people find small Indonesian food and retail stalls (UMKM) that are open right now, follow the ones they like, and order ahead.

KiniBuka: live feed, Explore map and stall page

Features

For buyers

For sellers

Languages: Bahasa Indonesia (default), English and 中文. Each user's choice is remembered.

Run it

Python 3 with the standard library only. No packages to install.

run.bat                 (Windows: starts the server and opens the browser)
python server.py        (any OS; then open http://localhost:8000)
python server.py --open (also opens the browser)

If port 8000 is busy, the server picks the next free port and prints it. Set PORT to choose one yourself. Data is stored in kinibuka.db (SQLite) next to server.py (KINIBUKA_DB picks another file), and demo data is seeded into an empty database unless SEED_DEMO=0.

Demo logins (all use the password demo1234; the login sheet has one-tap buttons):

Role Phone
Seller 081111111111
Buyer 081333333333
Admin 080000000000
New seller waiting for approval 081444444444

Accounts, stalls and the admin

Stopping fake sellers

Put it online (Cloudflare Tunnel from this PC)

  1. Get cloudflared once: winget install --id Cloudflare.cloudflared, or (no admin rights) download cloudflared-windows-amd64.exe from the cloudflared releases and save it as tools/cloudflared.exe in this folder.
  2. Double-click online.bat. It starts the server with no demo data and a separate database data/kinibuka-live.db, then prints an https://<random>.trycloudflare.com address (also written to data/tunnel.log).
  3. Open that address, log in with admin / admin, change the password (Account), put the market WhatsApp number in Admin settings, and share the address with sellers and customers.

Things to know:

WhatsApp auto-notifications (optional)

Without configuration, WhatsApp works through wa.me links that the user taps, and seller numbers are checked by the admin (see Stopping fake sellers). To have the server send messages and verification codes automatically, set one of the following (both are paid services):

Provider Environment variables
Fonnte WA_PROVIDER=fonnte, FONNTE_TOKEN
Meta WhatsApp Cloud API WA_PROVIDER=meta, WA_TOKEN, WA_PHONE_NUMBER_ID, optional WA_TEMPLATE and WA_TEMPLATE_LANG (default id)

APP_NAME changes the displayed brand name (default KiniBuka).

Prototype limits

Files