How brandonransom/g711-radio works
G.711 Radio receives configured G.711 audio over UDP, broadcasts it to browser listeners over WebRTC, and can record clips and transcribe them with whisper.cpp. The server also exposes recording/transcript history, listener feedback, and optional private analytics. The graph includes documented capabilities whose implementation was not sampled; those links use README evidence. The excerpts do not show all runtime wiring, so uncertain implementation-level relationships are omitted.
Main entry points: main.go HTTP and stream server · index.html Listening interface · analytics.go Visitor analytics store · analytics_dashboard.go Analytics dashboard
Components 20
Live audio
- Configured UDP streams
- HTTP and stream server
main.go - WebRTC audio broadcast
main.go
Recordings and transcripts
- Audio recording
recorder.go - Audio archive
- Recording index
recording_index.go - Whisper transcription pool
whisper.go - Transcript events and history
hub.go - Transcript feedback
feedback.go - Prompt analysis
cmd/mine-prompt/main.go
Analytics
- Visitor analytics store
analytics.go - Analytics dashboard
analytics_dashboard.go - Network geolocation
analytics_geo.go - Transcription analytics
transcription_analytics.go - Radio archive analytics
radio_archive.go
Browser experience
- Listening interface
web/index.html - Stream activity display
web/activity.js - Navigation guard
web/nav-guard.js
Other components
- Stream operator
- Browser listener
Connections 20
- Stream operator → Configured UDP streams: sends audio
README.md - Configured UDP streams → HTTP and stream server: receives packets
README.md - HTTP and stream server → WebRTC audio broadcast: broadcasts audio
README.md - Browser listener → Listening interface: opens
README.md - Listening interface → HTTP and stream server: requests streams
- HTTP and stream server → Audio recording: records clips
README.md - Audio recording → Audio archive: writes clips
README.md - HTTP and stream server → Recording index: serves history
README.md - Recording index → Audio archive: indexes WAV files
README.md - HTTP and stream server → Whisper transcription pool: submits clips
README.md - Whisper transcription pool → Transcript events and history: publishes results
whisper.go - Transcript events and history → Transcript feedback: publishes corrections
feedback.go - Transcript feedback → Prompt analysis: analyzes CSV
cmd/mine-prompt/main.go - Listening interface → Stream activity display: polls activity
web/activity.js - Listening interface → Navigation guard: guards navigation
- HTTP and stream server → Visitor analytics store: records events
README.md - Analytics dashboard → Visitor analytics store: shows statistics
README.md - Visitor analytics store → Network geolocation: labels networks
README.md - Visitor analytics store → Radio archive analytics: combines archive totals
radio_archive.go - Analytics dashboard → Transcription analytics: shows transcription data
README.md