OpenRadio - Make your own radio

Project URL: https://frill-corn.glitch.me

OpenRadio is a system where the admin can create multiple radio stations for users to listen into by inputing youtube urls(defintley going to expand). Everyone listening to hte radio station should be at approximatley the same time as everyone else(last test resulted in 1 to 3 second difference). It comes with a nice admin panel that you can configure the password in. It’s also open-source on github(I wouldn’t call it openradio if it wasn’t) at https://github.com/javaarchive/OpenRadio/tree/glitch
You can create a new project from github and configure these values in .env and your OpenRadio instance should be setup. Feel free to delete coding playlist and testing playlist. Make sure to set these values in .env


You don’t need to set MADE_WITH but PASSWORD is the admin password and SECRET is your secret for session cookies. There’s also a whole lot more config in config.js
There are a few annoying bugs and issues which I have described in my latest release: https://github.com/javaarchive/OpenRadio/releases/tag/V2.0.0

The system is designed to use infinite mp3 streams so you can have your devices stream https://yourglitchurl/stream/(stream name here)
I use this technique for my google home and my amazon alexa. You can also setup discord bots to stream from it by copying a bit of code from discordjs’s documentation.

Inspiration

I think I got inspiration when Ben or Electric Reality on discord sent a idea for a service that gives you music streams. Using python this wasn’t really possible but with nodejs streams and rate-limiting this was made possible!

Screenshots


Control click play button to show audio element



pretty proud of this screen

Customization

This is very customizable as all the templates are in one directory I think. There is also a template that “wraps” on top of the other templates which includes the topbar.

5 Likes

can I please help you make it

oh wait this is the gallery you already finished

This project has been inactive for a week so it might be better if you fork the repo and make a pull request when you are done

Note: This project uses infinite mp3 streams so you can possibly link smart home devices to it.

1 Like

Bump since I edited a lot of stuff

1 Like

New Update:
Added butterchurn visualizations, activate by typing: “milkdrop”
Fixed a small bug
Github Release: https://github.com/javaarchive/OpenRadio/releases/tag/V1.2.0

2 Likes

Did a little stability test it seems fine even if you use it for a long time


It wasn’t abuse of service since I actually used it for programming music.

OpenRadio is now accepting playlist requests to add in my personal discord server


and yes I’ll probaly make a websockets/socket.io endpoint
I added bulk import which you might have guessed
2 Likes

Great job! i might make the next Spotify

3 Likes

Good luck on that one :joy: Have fun :wink:

2 Likes

bad news either someone’s abused the project by leaving it on too long or someone has ddosed youtube on the same server, I’m getting 429.
There have been a lot of bugs that have sprung up in the last month see