Tiny Node service that turns your SmartDocsRadio.m3u into a single continuous MP3 stream at /live.
Perfect for Alexa routines and simple web players.
server.js— streams each MP3 from your M3U in sequence, loops foreverpackage.json— Node dependencies and start scriptrender.yaml— Render.com blueprint (free plan)
- Create a new GitHub repo (e.g.,
smartdocs-live). - Upload these three files to that repo (
server.js,package.json,render.yaml). - Go to render.com → New → Blueprint → paste your repo URL → Deploy.
- Or: New → Web Service → choose the repo → Build Command:
npm install→ Start:npm start.
- Or: New → Web Service → choose the repo → Build Command:
- Ensure env var PLAYLIST_URL is set to your playlist (default already uses your Netlify URL).
- When live, open:
https://YOUR-RENDER-APP.onrender.com/live
Add to your Netlify _redirects (or netlify.toml) to expose /live:
/live https://YOUR-RENDER-APP.onrender.com/live 200
[[redirects]] from = "/live" to = "https://YOUR-RENDER-APP.onrender.com/live" status = 200 force = true
play https://smartdocspack.netlify.app/live
- Service re-fetches the M3U each loop; update your playlist any time.
- Set env
SHUFFLE=trueon Render if you prefer random order. - For crossfade or transcoding, ask and we’ll add an ffmpeg variant.