Skip to content

UpRadio is a web application that allows you to broadcast or listen to live audio streams across the internet. The audio is streamed peer-to-peer using WebRTC (with big thanks to PeerJS).

License

Notifications You must be signed in to change notification settings

iangregson/upradio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upradio

UpRadio Icon

uprad.io

UpRadio is a web application that allows you to broadcast or listen to live audio streams across the internet. The audio is streamed peer-to-peer using WebRTC (with big thanks to PeerJS).

The vision for the future of this project is much larger... but I'm still working on distilling that down to something I can write in a couple of paragraphs.

Resources

Want to contribute?

It's very early days here, but contributions are welcome. I could use the help!

Check the contributing guidelines and say hello in the matrix chat.

Want to run your own?

You'll need a Cloudflare Workers account, the wrangler cli and somewhere that's running the PeerJS Server (I'm using Heroku which was really easy).

Next, you need to create a .env file in the /ui directory. It should contain 4 key value pairs:

PEER_PATH=/peer-server
PEER_SERVER=some-peerjs-server.somewhere.com
PEER_KEY=a-secret-key-that-the-peer-server-uses
MAX_CONNECTIONS=5
  • PEER_PATH is configuration variable on the PeerJS Server that instructs it to serve on the given base path
  • PEER_SERVER is the DNS or IP of your PeerJS signalling server
  • PEER_KEY is the secret key used to connect to the PeerJS signalling server
  • MAX_CONNECTIONS is the number of connections any node in the network should accept

Next you need to copy wrangler.template.toml to wrangler.toml and add your Cloudflare Workers account details.

Lastly, you can use the Makefile to build and deploy

make install
make build
make deploy

With any luck, that'll work.

Big ❤️

About

UpRadio is a web application that allows you to broadcast or listen to live audio streams across the internet. The audio is streamed peer-to-peer using WebRTC (with big thanks to PeerJS).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published