24/7 Lofi & Radio Discord Bot
Node.js voice streaming service playing Icecast radio and YouTube streams around the clock with PassThrough anti-stutter buffering, Cloudflare WARP SOCKS5 403 bypass, and SSRF validation.
- Node.js
- Discord.js v14
- @discordjs/voice
- FFmpeg
- Opus
- yt-dlp
01Overview
Long-running Discord voice bots typically fail on two fronts: FFmpeg stdout backpressure causing audio stutter, and datacenter IP 403 blocks from YouTube HLS endpoints. This v1.1.14 Node.js engine buffers audio through a `PassThrough` stream and auto-detects a local Cloudflare WARP SOCKS5 proxy with `web_embedded,web` extraction fallback.
Per-guild stream generation epochs prevent overlapping audio processes during rapid skips, while voice reconnect guards, `AutoPaused` recovery, and SSRF/private-IP URL checks keep the daemon stable across 37 passing `node:test` specs.
02Key features
- Direct Icecast/Shoutcast radio (Laut.fm, BigFM) and YouTube Live/VOD/Playlist playback
- PassThrough stdout buffering plus Cloudflare WARP SOCKS5 proxy and HLS 403 bypass
- Per-guild Stream Generation epoch cancellation, persistent reconnect, and AutoPaused guard
- SSRF/private-IP URL validator, 13 slash commands, and 37/37 passing node:test suites