examples Groove
Harbor
On air Live: watch events stream from Synthigy /data/events through the BFF to this page
Take the tour Sign in
Groove Harbor · a made-up record shop on Synthigy

Your record
shelf, live.

Every album, every play, every tab in sync — the moment it changes.

Side A · what to try 4 tracks
  1. 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 blockawait stack()Python SDK call behind this block
    →
  2. 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 blockDashboardAsync.watch_stats()Python SDK call behind this block
    →
  3. 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 blockawait slice()Python SDK call behind this blockawait delete()Python SDK call behind this block
    →
  4. 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 blockpython brand.pyPython SDK call behind this block
    →
Liner notes

Under the hood

  1. A FastAPI BFF using the synthigy Python SDK against /data. The browser sees only HTML and SSE patches — no API keys, no JWT, no JSON.
  2. One synthigy client per BFF process; every call carries identity with acting_as=user.xid.
  3. One SSE from BFF → Synthigy /data/events, however many tabs are open.
  4. Live updates are notify-then-refetch: writes don't repaint anything themselves — the watch does.
  5. Typed ops (MusicAlbum.list, Dashboard.watch_stats, …) are codegen'd from ../xsql/music.xsql.
  6. Login is OIDC authorization-code with PKCE, on the engine's sign-in page in this brand. Tokens stay server-side.
  7. The small code chips name the SDK call behind each block.