Groove Harbor · a made-up record shop on Synthigy
Your record
Your record
shelf, live.
Every album, every play, every tab in sync — the moment it changes.
Side A · what to try
4 tracks
- A1→
The live chart
Top albums by plays, live. Search, filter to 1M+ hits, grow the window, and bump play counts — every tab repaints in place.
watch_entities()Python SDK call behind this block await stack()Python SDK call behind this block - A2→
The numbers
Counters and a live top-albums chart. First paint is ONE wire request (batch); updates ride a SQL-template watch.
await overview_async() # @batchPython SDK call behind this block DashboardAsync.watch_stats()Python SDK call behind this block - A3→
Edit anything
Add tracks, link and unlink genres, delete albums — nested writes, additive stack, surgical slice, soft delete.
await stack()Python SDK call behind this block await slice()Python SDK call behind this block await delete()Python SDK call behind this block - A4→
The brand book
Every page a visitor can meet, in this brand: the app, its errors, sign-out and the engine's own sign-in. Swap it for yours (README).
music/brand/Python SDK call behind this block python brand.pyPython SDK call behind this block
Liner notes
Under the hood
- A FastAPI BFF using the
synthigyPython SDK against/data. The browser sees only HTML and SSE patches — no API keys, no JWT, no JSON. - One
synthigyclient per BFF process; every call carries identity withacting_as=user.xid. - One SSE from BFF → Synthigy
/data/events, however many tabs are open. - Live updates are notify-then-refetch: writes don't repaint anything themselves — the watch does.
- Typed ops (
MusicAlbum.list,Dashboard.watch_stats, …) are codegen'd from../xsql/music.xsql. - Login is OIDC authorization-code with PKCE, on the engine's sign-in page in this brand. Tokens stay server-side.
- The small
code chipsname the SDK call behind each block.