Skip to content

Releases

Sitniš 0.0.3

Choose a tag to compare

@dusnm dusnm released this 03 Dec 12:52
v0.0.3
7b25094

A faster scanner, with batch scanning

  • Much faster decoding. QR codes are now read by ZXing (WebAssembly) in a background worker, starting with the square inside the guide. Each attempt took about 79 ms before, followed by a fixed 250 ms wait; now it takes about 5 ms and the next one starts right away (measured on a desktop; phones are slower, but the difference is the same). The camera picture no longer stutters while decoding. On Android, Chrome's own QR reader is used where available.
  • Scan a pile of receipts in one go. After a receipt, the frame flashes green, the phone vibrates (where supported) and the camera keeps scanning. Each receipt is imported in the background and listed under the camera: imported ✓, already entered, or an error. Gotovo goes to Troškovi.
  • The camera opens by itself on Skeniraj once you've allowed it.
  • Flashlight and 2× zoom buttons appear where the phone's camera supports them, mostly on Android.
  • NBS IPS payment codes work as before: the camera stops and the filled-in form opens for you to check.

Upgrading

No database changes. Set SITNIS_VERSION=0.0.3 in docker/prod/.env, then:

docker compose -f docker/prod/docker-compose.yml pull
docker compose -f docker/prod/docker-compose.yml up -d

The image is dusnm1/sitnis:0.0.3, for linux/amd64 and linux/arm64. The scanner's worker is served with its own Content-Security-Policy, which allows compiling WebAssembly; the page's policy is unchanged.

Sitniš 0.0.2

Choose a tag to compare

@dusnm dusnm released this 03 Dec 11:57
v0.0.2
fcac397

Install Sitniš on your phone

Sitniš can now be installed as an app from the browser, over HTTPS. It gets a home-screen icon, opens full screen and starts instantly.

  • Android (Chrome): the menu's Install app, or the new button in Podešavanja → Aplikacija. Long-pressing the icon offers Skeniraj račun and Dodaj ručno.
  • iPhone and iPad (Safari): Share → Add to Home Screen.

The app keeps only its own files on the phone, never expenses. Without internet it still opens and shows what can't be loaded.

Also in this release

  • Fixed: a dropped connection while the app renewed your session signed you out. Now only an ended session does.
  • Deployment guide: generate the database passwords as hex. Base64 can contain a /, which breaks the database URL. Deployments that work already need no change.

Upgrading

No database changes. Set SITNIS_VERSION=0.0.2 in docker/prod/.env, then:

docker compose -f docker/prod/docker-compose.yml pull
docker compose -f docker/prod/docker-compose.yml up -d

The image is dusnm1/sitnis:0.0.2, for linux/amd64 and linux/arm64. See docs/deployment.md.

Sitniš 0.0.1

Choose a tag to compare

@dusnm dusnm released this 03 Dec 10:24
v0.0.1
12507e9

The first release of Sitniš, a household expense tracker for Serbia.

What it does

  • Fiscal receipts: scan a receipt's QR code, and its items are imported from the Tax Administration portal.
  • NBS IPS QR codes: scanning a bill's payment code opens a filled-in expense.
  • Expenses entered by hand.
  • Automatic categories from the retail chains' price lists and the shop's registered business activity. Households can rename the defaults and add their own categories.
  • Shared households: members see and edit each other's expenses.
  • Statistics and a home page with this month at a glance, in your currency (NBS exchange rates).
  • Accounts: registration by invite, two-factor sign-in, and per-device appearance settings.

Deploying

git clone --branch v0.0.1 https://github.com/dusnm/sitnis.git

Then follow docs/deployment.md. The image is dusnm1/sitnis:0.0.1, for linux/amd64 and linux/arm64.