Skip to content

SmartDocsPack/smartdocs-live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SmartDocs Live

Tiny Node service that turns your SmartDocsRadio.m3u into a single continuous MP3 stream at /live. Perfect for Alexa routines and simple web players.

Files

  • server.js — streams each MP3 from your M3U in sequence, loops forever
  • package.json — Node dependencies and start script
  • render.yaml — Render.com blueprint (free plan)

Quick Deploy (Render — GUI)

  1. Create a new GitHub repo (e.g., smartdocs-live).
  2. Upload these three files to that repo (server.js, package.json, render.yaml).
  3. 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.
  4. Ensure env var PLAYLIST_URL is set to your playlist (default already uses your Netlify URL).
  5. When live, open: https://YOUR-RENDER-APP.onrender.com/live

Hook to your Netlify domain

Add to your Netlify _redirects (or netlify.toml) to expose /live:

_redirects

/live https://YOUR-RENDER-APP.onrender.com/live 200

netlify.toml

[[redirects]] from = "/live" to = "https://YOUR-RENDER-APP.onrender.com/live" status = 200 force = true

Alexa routine text

play https://smartdocspack.netlify.app/live

Notes

  • Service re-fetches the M3U each loop; update your playlist any time.
  • Set env SHUFFLE=true on Render if you prefer random order.
  • For crossfade or transcoding, ask and we’ll add an ffmpeg variant.

About

smartdocs-live folder on desktop formusic stream to alexa from my website https://smartdocspack.netlify.app/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published