Radio
Automatically set up an icecast2 streaming server on DigitalOcean
Install / Use
/learn @adrianke/RadioREADME
A cloud config file tested on DigitalOcean to set up an icecast2 streaming server.
Features
- Streams music from
/home/radio/music24/7 in the/streammount. - When you connect to the source
/talk, music is stopped and the/streammount is now seamlessly mirroring/talk. - Automatic OpenVPN setup so that you'll not have to send passwords in the clear.
- Generates a strong password for the icecast installation.
Installation
- Create a new DigitalOcean dropplet with Ubuntu 14.04.
- Select the
User Dataoption and paste in the contents ofcloud-config.yaml - You should update the script as needed. Note the icecast2 settings.
- ALWAYS CHANGE THE SSH KEY IN
cloud-config.yaml - Add optional SSH keys on the DigitalOcean website
- Immediately connect to the server over ssh
- Username: radio
- Use your own SSH key
- After a while, you'll see a music directory in the home folder
- Upload some mp3's
- Run
~/new_music.sh
- After three to five minutes, you'll get a message in the terminal saying
Ready for reboot.- Reboot if the music upload is complete, and you've run
~/new_music.sh
- Reboot if the music upload is complete, and you've run
Broadcasting
If you're using Windows or OS X, simply download butt.
Server configuration in butt
If you're using the provided VPN setup:
- Address: 10.8.0.1
- Port: 8000
- Type: Icecast
- Mountpoint: talk
- User: source
- Password: Located in /home/radio/icecast_password.txt
License
MIT License
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Security Score
Audited on Sep 15, 2024
