~/projects/alkometriikka
Alkometriikka (Alkometrics)
2025
- SvelteKit
- TypeScript
- Tailwind CSS
- Bun
- GitHub Actions
- Cloudflare Workers
- Web APIs
- Chart.js
- PWA
Alkometriikka is an independent, continuously updated database and web app built around the product catalogue of Alko, Finland's state alcohol retailer. It started as a simple way to compare price against alcohol content and has grown into a broader data platform.
Features
- Search and filtering by category, price, alcohol content, size, producer and more
- Price history for every product, and a view of recent price changes
- Store availability: which Alko stores currently carry a product
- Barcode scanner that opens a product page from a bottle's barcode or a shelf label's QR code
- Shareable lists, encoded into the link itself so no account or server is needed
- Alkometriikka Daily, a daily game generated from the product data
- RSS and JSON feeds for following catalogue changes from other applications
How it works
The site is static. GitHub Actions fetch and normalise the product data on a schedule, then build the app together with a search-engine-friendly page for each product, the feeds and the daily game, and publish the result to GitHub Pages.
A small Cloudflare Worker handles the two things a static site cannot: barcode lookups and live store stock. Social sharing images are generated at build time and stored in Cloudflare R2.
The app is installable as a PWA and works on mobile, which is where the scanner is most useful.
