melodix

# Header

Go Reference Go Report Card Release License

Melodix

Self-hosted Discord music bot with a CLI player, built in Go.

Designed to run for long sessions with minimal failure rate.


Quick start

Run Discord bot

  1. Create a bot in Discord Developer Portal
  2. Get your token
  3. Run:
go build -o melodix-discord ./cmd/discord
DISCORD_TOKEN=your-token ./melodix-discord

Full setup guide: see docs/running.md


Run CLI player

go build -o melodix-cli ./cmd/cli
./melodix-cli

Features


Try Melodix

Use the official server

Try the bot in Ctrl+Z Discord server: enter voice channel and use slash commands in #bot-music-spam.


Download a release

Download pre-built binaries:

https://github.com/keshon/melodix/releases


Commands (Discord)

🕯️ Information

🎵 Music

⚙️ Settings

Example usage:

/play Never Gonna Give You Up
/play https://www.youtube.com/watch?v=dQw4w9WgXcQ
/play http://stream-uk1.radioparadise.com/aac-320
/play 42
/history

Running

Requirements:

For full setup (Discord bot, env config, Docker): see docs/running.md


Documentation


License

Melodix is licensed under the MIT License.