Irirangi
Telegram bot that receives audio files, SoundCloud, or YouTube links, downloads them, and streams them as Icecast Internet radio.
Install / Use
/learn @serg123e/IrirangiREADME
Internet radio managed by telegram bot
Architecture
flowchart TD
User --->|Send youtube or soudcloud link| Bot
Bot -->|Download music & add it to playing queue| mpd
mpd -->|reproduce to /music stream| icecast
User -->|Send voice message| Bot
Bot -->|Save voice message & add play it immediatelly| mpd-voice
mpd-voice -->|reproduce to /voice stream| icecast
Installation
-
Register new bot asking BotFather and get a token
-
git clone https://github.com/serg123e/irirangi.git -
cd irirangi -
Edit following files replacing
hackmewith your secret password and putting corresponding tokens:- bot.env
- mpd.music.conf
- mpd.voice.conf
- icecast.xml
-
Run
docker-compose build --build-arg UID="$(id -u)" --build-arg GID="$(id -g)" -
Run
docker-compose up -d -
Now write /start to your bot and add it as and admin to your favorite telegram group
-
You are awesome! Check http://your-host-name:8000/irirangi for the radio stream
Bot commands
/status
/seek <position>
/next
/play
/stop
/move <from-position> <to-position>
/del <position>
/playlist
/add <url_or_filename>
https://soundcloud.com/link/to/track
https://music.youtube.com/watch?v=TRACK_TO_ADD
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate 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
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
