fix(web): keep the Rockbox DSP/EQ in the signal path + match CLI compressor
The EQ/DSP had no audible effect on most stations. Cross-origin radio hosts
rarely send CORS headers, so the decoder worker's direct fetch was blocked, the
engine errored, and playback silently fell back to a bare <audio> element that
is not in the Rockbox DSP graph — bypassing EQ, bass, crossfeed, everything.
The CLI decodes natively (no CORS), so it always applied the full chain.
- proxiedStreamUrl now routes every absolute http(s) stream through the
CORS-enabled /api/stream proxy (except HLS and relative/same-origin URLs), so
the worker can always fetch it and the DSP stays in the path.
- Fix the compressor params to match the CLI: makeup=1, ratio as the 0–3 index
(compRatioIndex), knee=2, release=200ms, attack=5ms — was makeup=0, raw ratio,
and zeroed knee/attack/release. Shared via applyCompressor().
The EQ gain math itself was already correct/identical to the CLI (both
rockbox-dsp versions apply the ×10 fixed-point convention internally).
feat: AT Proto social platform — OAuth, PDS-backed data, Jetstream AppView
Turn atradio.fm into a social, AT-Protocol-native app.
Web (apps/web):
- Browser OAuth login (@atcute/oauth-browser-client), Atmosphere login modal
- Gate favoriting/add/remove behind login; public browse/search/playback
- Favorites + user stations stored as fm.atradio.* records in the user's PDS
(optimistic writes, loaded on login)
- Profile shows real display name/handle/avatar; public /profile/:did|:handle
Lexicons (packages/lexicons):
- fm.atradio.{station,favorite,getFavorites,getStations} authored in Pkl
(pkl eval -> JSON) + TS types/zod/mappers
API (apps/api) — Express + Drizzle + Postgres AppView:
- Jetstream consumer across all 4 official hosts, idempotent upserts, cursor
- XRPC getFavorites/getStations (+ discovery), open CORS
- Production TuneIn + ICY media proxies (moved off Vite dev middleware)
Ops & tooling:
- systemd units (api + jetstream)
- tools/console: Babashka + Clojure + rebel REPL command hub, root ./console
- mise pins java/clojure/babashka; consola logging throughout
feat: atradio Connect — cross-device remote control
Spotify-Connect-style remote control across web + CLI. Every logged-in
client opens a WebSocket to a new hub in apps/api, is grouped by account
DID (verified via atproto service-auth JWT), and can list and control the
other devices on the account.
- api: WebSocket Connect hub (/connect) with per-DID device registry,
command routing, presence tracking, Redis cross-instance relay, and a
did:web service document. Service-auth JWTs verified with
@atproto/xrpc-server + @atproto/identity.
- web: device picker (navbar) + bottom "Playing on …" banner, transport
routing to the selected remote, transfer-here/there, and WS-driven
deletion of the actor.status record when no player is online.
- cli: remote module (tokio-tungstenite) making the TUI both controllable
and a controller, a device-picker overlay + text indicator, a headless
`--no-tui` daemon mode, and a settings.toml-configurable device name.
- tests: hub integration tests (ws) + web routing/transfer + device
helper tests; new GitHub Actions workflow runs web + api suites.
- i18n: new `connect` namespace for en/fr/pt.
feat: atradio Connect — cross-device remote control
Spotify-Connect-style remote control across web + CLI. Every logged-in
client opens a WebSocket to a new hub in apps/api, is grouped by account
DID (verified via atproto service-auth JWT), and can list and control the
other devices on the account.
- api: WebSocket Connect hub (/connect) with per-DID device registry,
command routing, presence tracking, Redis cross-instance relay, and a
did:web service document. Service-auth JWTs verified with
@atproto/xrpc-server + @atproto/identity.
- web: device picker (navbar) + bottom "Playing on …" banner, transport
routing to the selected remote, transfer-here/there, and WS-driven
deletion of the actor.status record when no player is online.
- cli: remote module (tokio-tungstenite) making the TUI both controllable
and a controller, a device-picker overlay + text indicator, a headless
`--no-tui` daemon mode, and a settings.toml-configurable device name.
- tests: hub integration tests (ws) + web routing/transfer + device
helper tests; new GitHub Actions workflow runs web + api suites.
- i18n: new `connect` namespace for en/fr/pt.
feat: atradio Connect — cross-device remote control
Spotify-Connect-style remote control across web + CLI. Every logged-in
client opens a WebSocket to a new hub in apps/api, is grouped by account
DID (verified via atproto service-auth JWT), and can list and control the
other devices on the account.
- api: WebSocket Connect hub (/connect) with per-DID device registry,
command routing, presence tracking, Redis cross-instance relay, and a
did:web service document. Service-auth JWTs verified with
@atproto/xrpc-server + @atproto/identity.
- web: device picker (navbar) + bottom "Playing on …" banner, transport
routing to the selected remote, transfer-here/there, and WS-driven
deletion of the actor.status record when no player is online.
- cli: remote module (tokio-tungstenite) making the TUI both controllable
and a controller, a device-picker overlay + text indicator, a headless
`--no-tui` daemon mode, and a settings.toml-configurable device name.
- tests: hub integration tests (ws) + web routing/transfer + device
helper tests; new GitHub Actions workflow runs web + api suites.
- i18n: new `connect` namespace for en/fr/pt.
feat: atradio Connect — cross-device remote control
Spotify-Connect-style remote control across web + CLI. Every logged-in
client opens a WebSocket to a new hub in apps/api, is grouped by account
DID (verified via atproto service-auth JWT), and can list and control the
other devices on the account.
- api: WebSocket Connect hub (/connect) with per-DID device registry,
command routing, presence tracking, Redis cross-instance relay, and a
did:web service document. Service-auth JWTs verified with
@atproto/xrpc-server + @atproto/identity.
- web: device picker (navbar) + bottom "Playing on …" banner, transport
routing to the selected remote, transfer-here/there, and WS-driven
deletion of the actor.status record when no player is online.
- cli: remote module (tokio-tungstenite) making the TUI both controllable
and a controller, a device-picker overlay + text indicator, a headless
`--no-tui` daemon mode, and a settings.toml-configurable device name.
- tests: hub integration tests (ws) + web routing/transfer + device
helper tests; new GitHub Actions workflow runs web + api suites.
- i18n: new `connect` namespace for en/fr/pt.
feat(social): comments, mentions, notifications, live reactions
Add a full social layer on top of the AppView + PDS + Jetstream stack.
Lexicons
- fm.atradio.comment (station snapshot, text, mention facets, optional GIF)
- fm.atradio.reaction (ephemeral emoji reaction)
- defs: commentView, notificationView, comment#gif, comment#mention
- queries getComments/getNotifications, procedure updateSeen
- TS types, zod schemas, buildComment/buildReaction mappers, LiveEvent types
API
- comments, reactions, notifications, notification_seen tables (+migration)
- Jetstream consumer indexes comments/reactions and fans out notifications
(mentions -> mentioned actors; comments -> custom-station owner)
- Redis-pub/sub-or-in-process live bus + SSE GET /live/:stationId
- XRPC getComments, getNotifications (unread count), POST updateSeen
Web
- putComment/putReaction to PDS; appview clients + SSE subscribe
- Klipy media client (GIFs / stickers / clips) for comment embeds
- mention richtext: facet resolution, segment rendering, live @-typeahead
- CommentComposer, CommentsPanel (live + optimistic), CommentsModal
- NotificationBell with floating unread badge that resets on open
- StationReactions: macOS-dock emoji picker (hover/click, login-gated)
- PlayerReactionRain: full-screen bottom->top emoji rain, real time
- wired into Player (mini + fullscreen), StationCard, Navbar, Layout
- OAuth scope adds repo:fm.atradio.comment + repo:fm.atradio.reaction
feat: AT Proto social platform — OAuth, PDS-backed data, Jetstream AppView
Turn atradio.fm into a social, AT-Protocol-native app.
Web (apps/web):
- Browser OAuth login (@atcute/oauth-browser-client), Atmosphere login modal
- Gate favoriting/add/remove behind login; public browse/search/playback
- Favorites + user stations stored as fm.atradio.* records in the user's PDS
(optimistic writes, loaded on login)
- Profile shows real display name/handle/avatar; public /profile/:did|:handle
Lexicons (packages/lexicons):
- fm.atradio.{station,favorite,getFavorites,getStations} authored in Pkl
(pkl eval -> JSON) + TS types/zod/mappers
API (apps/api) — Express + Drizzle + Postgres AppView:
- Jetstream consumer across all 4 official hosts, idempotent upserts, cursor
- XRPC getFavorites/getStations (+ discovery), open CORS
- Production TuneIn + ICY media proxies (moved off Vite dev middleware)
Ops & tooling:
- systemd units (api + jetstream)
- tools/console: Babashka + Clojure + rebel REPL command hub, root ./console
- mise pins java/clojure/babashka; consola logging throughout