alpha
Login
or
Join now
atradio.fm
/
atradio
Star
13
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A social internet radio platform built on AT Protocol.
atradio.fm
atproto
radio
Star
13
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
atradio
/
apps
/
media-proxy
/
test
/
at
main
1 file
Tsiry Sandratraina
feat(media-proxy): scaffold a Gleam/BEAM reverse-proxy service
2mo ago
de55cec7
atradio_media_proxy_test.gleam
feat(media-proxy): scaffold a Gleam/BEAM reverse-proxy service Extract the media proxy routes (stream, tunein, image, icy) out of the AppView into a new stateless service on the BEAM, so the long-lived, bandwidth-heavy streaming workload scales and fails independently of discovery + Connect. - mist HTTP server; PORT env var (default 7081); blanket CORS + exposed ICY headers - /api/stream: streaming reverse-proxy via gun -> mist.chunked (proxy_gun_ffi.erl), with .pls/.m3u unwrapping, ICY/Range passthrough, and redirect-follow - /api/tunein, /api/image: buffered ports via gleam_httpc - /api/icy: documented stub (needs a bounded streaming read) - request/access + upstream logging; 10 unit tests (port config + playlist) - systemd unit mirroring the existing api/jetstream units Verified live: streams real MP3 audio from a CORS-less SomaFM endpoint. Web wiring (VITE_MEDIA_PROXY) + deleting apps/api/src/proxy is a follow-up.
2 months ago