2026 · Full stack
Friendly Bet
A Progressive Web App for small friendly bets, using browser fingerprinting for lightweight user identification and a real-time database for live scores.
- Next.js
- TypeScript
- Firebase
- PWA

A closer look
Friendly Bet
Commits in the last year
3
Language bytes
- TypeScript135k
- JavaScript1k
- CSS0k
The problem
Splitting a bet between friends usually means a spreadsheet, a group chat and a rule everyone half-remembers. There is no owner to ask and no way to settle it without an argument.
What I built
- 01
Browser fingerprinting identifies a returning player without a login form, so starting a bet takes seconds.
- 02
Firestore keeps scores live, so the number on screen is the number everyone agrees on.
- 03
Route handlers cover the whole lifecycle: creating a bet, wagering on it, voting, resolving, and disputing a result.
- 04
An admin API approves or rejects accounts and reads transactions, so someone has to be in charge of the money side.
- 05
A service worker and manifest make it installable, which is what people actually use at a pub table.
What it changed
No account needed to place the first bet.
Every resolution is a recorded state change rather than a promise.
Runs as an installed app rather than a bookmarked tab.