A simple http radio station with youtubei.js.
git clone https://github.com/Yonle/ytradio
cd ytradio
npm install
node index.js
Put your Song URL at yturl.txt
when needed, atleast 1 URL is enough.
More than that could cause some crash as we only read 1 URL.
To listen in different port, set PORT
environment variable before starting the server.
To set YouTube Geolocation to other than US
, Set GEOLOCATION
environment variable to something else.