{"repo":"keshon/melodix","free":true,"listed":false,"github":"https://github.com/keshon/melodix","clone":"git clone https://github.com/keshon/melodix.git","description":"A self-hosted Discord music bot written in Go, with a terminal player thrown in. It streams YouTube, SoundCloud and internet radio, and it's built around one stubborn idea: playback should survive — flaky streams, dead voice connections, gateway reconnects, all of it.","language":"Go","stars":16,"topics":["discord-bot","discord-music-bot","music-bot","discordgo","music-player","radio-music","self-hosted","soundcloud-music","youtube-music","golang"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Melodix A self-hosted Discord music bot written in Go, with a terminal player thrown in. It streams YouTube, SoundCloud and internet radio, and it's built around one stubborn idea: playback should survive — flaky streams, dead voice connections, gateway reconnects, all of it. Public music bots tend to disappear eventually, usually with a cease-and-desist attached. Melodix skips that risk: it's a small binary you run yourself, with your own token, on your own machine. Nobody can turn it off for you. What it does well - Melodix refuses to drop a track. Every track has several extraction backends behind it (native extractors, kkdai, yt-dlp). If a stream dies mid-play, it reopens at the same position; if a backend keeps failing, it falls through to the next one. - It survives Discord too — a silent gateway or a dead voice connection gets detected and recovered automatically, and queues live through session restarts. - It keeps a memory: /history shows what was played, and /play 42 replays entry 42. No digging through chat for the original link. - It stays small. Just one binary, and for YouTube alone that's genuinely all you need — no ffmpeg required. Add ffmpeg for SoundCloud and internet radio, and yt-dlp as a last-resort fallback if you want the extra reliability. Storage is a single JSON file, no database to babysit. - It doubles as a terminal player. The same engine drives melodix-cli , which plays straight to your speakers — handy for testing, or just for listening. Try it ","default_branch":null,"files":null,"tree":[],"storefront":"/r/keshon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/keshon/melodix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}