How noobishsvk/fm-dx-webserver works
FM-DX Webserver lets DXers control a radio receiver through a browser, receive live tuner/RDS data, identify stations, and listen to low-latency audio. The server entry point starts HTTP/WebSocket services and coordinates receiver data, configuration, plugins, chat, and audio streaming; browser code supplies the user interface and 3LAS playback. The README documents device and plugin support, but sampled excerpts do not show every device integration or browser request path, so those links are not inferred.
Main entry points: server/index.js Server coordinator · endpoints.js HTTP routes · datahandler.js Tuner and RDS data · stream/index.js Audio capture
Components 22
Browser experience
- Control interface
web/js/main.js - Browser chat
web/js/chat.js - Plugin interface
web/js/plugins.js - 3LAS playback
web/js/3las/3las.js
Server services
- Server coordinator
server/index.js - HTTP routes
server/endpoints.js - Chat service
server/chat.js - Plugin manager
server/plugins.js - Plugin API
server/plugins_api.js - Remote tunnel
server/tunnel.js - FM-DX list
server/fmdx_list.js
Receiver and DX data
- Receiver protocol
server/receiver.js - Tuner and RDS data
server/datahandler.js - Transmitter search
server/tx_search.js - Tuner profiles
server/tuner_profiles.js
Audio streaming
- Audio capture
server/stream/index.js - 3LAS server
server/stream/3las.server.js - Device discovery
server/stream/parser.js - FFmpeg selection
server/stream/checkFFmpeg.js
Configuration and state
- Server configuration
server/server_config.js - Session state
server/storage.js
Other components
- DXer
Connections 18
- DXer → Control interface: controls receiver
README.md - Server coordinator → HTTP routes: mounts routes
server/index.js - Server coordinator → Audio capture: starts streaming
server/index.js - Server coordinator → Chat service: initializes chat
server/index.js - Server coordinator → Plugin API: initializes API
server/index.js - Server coordinator → Plugin manager: initializes plugins
server/index.js - Server coordinator → Remote tunnel: initializes tunnel
server/index.js - Server coordinator → FM-DX list: updates list
server/index.js - Server coordinator → Control interface: serves static files
server/index.js - HTTP routes → Tuner and RDS data: reads tuner data
server/endpoints.js - HTTP routes → Tuner profiles: uses profiles
server/endpoints.js - HTTP routes → Plugin manager: uses plugins
server/endpoints.js - Tuner and RDS data → Receiver protocol: creates receiver
server/datahandler.js - Tuner and RDS data → Transmitter search: fetches transmitter data
server/datahandler.js - Audio capture → FFmpeg selection: selects executable
server/stream/index.js - Audio capture → 3LAS server: feeds audio
server/stream/index.js - Device discovery → FFmpeg selection: enumerates devices
server/stream/parser.js - DXer → 3LAS playback: listens to stream
README.md