{"id":13823818,"url":"https://github.com/matthieugrieger/mumbledj","last_synced_at":"2025-09-29T15:31:15.936Z","repository":{"id":20615419,"uuid":"23896702","full_name":"matthieugrieger/mumbledj","owner":"matthieugrieger","description":"A Mumble bot that plays audio fetched from various media sites.","archived":true,"fork":false,"pushed_at":"2020-11-12T05:51:29.000Z","size":4435,"stargazers_count":170,"open_issues_count":21,"forks_count":59,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-10-31T14:52:39.675Z","etag":null,"topics":["bot","go","mixcloud","play-audio","soundcloud","youtube","youtube-dl"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthieugrieger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-10T23:44:36.000Z","updated_at":"2024-06-14T06:50:26.000Z","dependencies_parsed_at":"2022-09-05T16:41:32.641Z","dependency_job_id":null,"html_url":"https://github.com/matthieugrieger/mumbledj","commit_stats":null,"previous_names":[],"tags_count":85,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieugrieger%2Fmumbledj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieugrieger%2Fmumbledj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieugrieger%2Fmumbledj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieugrieger%2Fmumbledj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthieugrieger","download_url":"https://codeload.github.com/matthieugrieger/mumbledj/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234635047,"owners_count":18863997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","go","mixcloud","play-audio","soundcloud","youtube","youtube-dl"],"created_at":"2024-08-04T09:00:45.580Z","updated_at":"2025-09-29T15:31:10.115Z","avatar_url":"https://github.com/matthieugrieger.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003eMumbleDJ\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cb\u003eA Mumble bot that plays audio fetched from various media websites.\u003c/b\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003ca href=\"https://travis-ci.org/matthieugrieger/mumbledj\"\u003e\u003cimg src=\"https://travis-ci.org/matthieugrieger/mumbledj.svg?branch=master\"/\u003e\u003c/a\u003e \u003ca href=\"https://raw.githubusercontent.com/matthieugrieger/mumbledj/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/matthieugrieger/mumbledj/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/matthieugrieger/mumbledj.svg\"/\u003e\u003c/a\u003e \u003ca href=\"https://goreportcard.com/report/github.com/matthieugrieger/mumbledj\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/matthieugrieger/mumbledj\"/\u003e\u003c/a\u003e \u003ca href=\"https://codecov.io/gh/matthieugrieger/mumbledj\"\u003e\u003cimg src=\"https://img.shields.io/codecov/c/github/matthieugrieger/mumbledj.svg\"/\u003e\u003c/a\u003e \u003ca href=\"https://gitter.im/matthieugrieger/mumbledj\"\u003e\u003cimg src=\"https://img.shields.io/gitter/room/matthieugrieger/mumbledj.svg\" /\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cb\u003eUnfortunately, this project is no longer maintained. Don't expect any responses on bug reports, feature requests, etc. Forks are welcome!\u003c/b\u003e\u003c/p\u003e\n\n## Table of Contents\n\n* [Features](#features)\n* [Installation](#installation)\n  * [Requirements](#requirements)\n    * [YouTube API Key](#youtube-api-key)\n    * [SoundCloud API Key](#soundcloud-api-key)\n  * [Via `go get`](#via-go-get-recommended)\n  * [Pre-compiled Binaries](#pre-compiled-binaries-easiest)\n  * [From Source](#from-source)\n  * [Docker](#docker)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Contributing](#contributing)\n* [Author](#author)\n* [License](#license)\n* [Thanks](#thanks)\n\n## Features\n* Plays audio from many media websites, including YouTube, SoundCloud, and Mixcloud.\n* Supports playlists and individual videos/tracks.\n* Displays metadata in the text chat whenever a new track starts playing.\n* Incredibly customizable. Nearly everything is able to be tweaked via configuration files (by default located at `$HOME/.config/mumbledj/config.yaml`).\n* A large array of [commands](#commands) that perform a wide variety of functions.\n* Built-in vote-skipping.\n* Built-in caching system (disabled by default).\n* Built-in play/pause/volume control.\n\n## Installation\n**IMPORTANT NOTE:** MumbleDJ is only tested and developed for Linux systems. Support will not be given for non-Linux systems if problems are encountered.\n\n### Requirements\n**All MumbleDJ installations must also have the following installed:**\n* [`youtube-dl`](https://rg3.github.io/youtube-dl/download.html)\n* [`ffmpeg`](https://ffmpeg.org) OR [`avconv`](https://libav.org)\n* [`aria2`](https://aria2.github.io/) if you plan on using services that throttle download speeds (like Mixcloud)\n\n**If installing via `go install` or from source, the following must be installed:**\n* [Go 1.5+](https://golang.org)\n  * __NOTE__: Extra installation steps are required for a working Go installation. Once Go is installed, type `go help gopath` for more information.\n  * If the repositories for your distro contain a version of Go older than 1.5, try using [`gvm`](https://github.com/moovweb/gvm) to install Go 1.5 or newer.\n\n#### YouTube API Key\nA YouTube API key must be present in your configuration file in order to use the YouTube service within the bot. Below is a guide for retrieving an API key:\n\n**1)** Navigate to the [Google Developers Console](https://console.developers.google.com) and sign in with your Google account, or create one if you haven't already.\n\n**2)** Click the \"Create Project\" button and give your project a name. It doesn't matter what you set your project name to. Once you have a name click the \"Create\" button. You should be redirected to your new project once it's ready.\n\n**3)** Click on \"APIs \u0026 auth\" on the sidebar, and then click APIs. Under the \"YouTube APIs\" header, click \"YouTube Data API\". Click on the \"Enable API\" button.\n\n**4)** Click on the \"Credentials\" option underneath \"APIs \u0026 auth\" on the sidebar. Underneath \"Public API access\" click on \"Create New Key\". Choose the \"Server key\" option.\n\n**5)** Add the IP address of the machine MumbleDJ will run on in the box that appears (this is optional, but improves security). Click \"Create\".\n\n**6)** You should now see that an API key has been generated. Copy/paste this API key into the configuration file located at `$HOME/.config/mumbledj/mumbledj.yaml`.\n\n#### SoundCloud API Key\nA SoundCloud client ID must be present in your configuration file in order to use the SoundCloud service within the bot. Below is a guide for retrieving a client ID:\n\n**1)** Login/sign up for a SoundCloud account on https://soundcloud.com.\n\n**2)** Create a new app: https://soundcloud.com/you/apps/new.\n\n**3)** You should now see that a client ID has been generated. Copy/paste this ID (NOT the client secret) into the configuration file located at `$HOME/.config/mumbledj/mumbledj.yaml`.\n\n\n### Via `go get` (recommended)\nAfter verifying that the [requirements](#requirements) are installed, simply issue the following command:\n```\ngo get -u github.com/matthieugrieger/mumbledj\n```\n\nThis should place a binary in `$GOPATH/bin` that can be used to start the bot.\n\n**NOTE:** If using Go 1.5, you MUST execute the following for `go get` to work:\n```\nexport GO15VENDOREXPERIMENT=1\n```\n\n### Pre-compiled Binaries (easiest)\nPre-compiled binaries are provided for convenience. Overall, I do not recommend using these unless you cannot get `go install` to work properly. Binaries compiled on your own machine are likely more efficient as these binaries are cross-compiled from a 64-bit Linux system.\n\nAfter verifying that the [requirements](#requirements) are installed, simply visit the [releases page](https://github.com/matthieugrieger/mumbledj/releases) and download the appropriate binary for your platform.\n\n### From Source\nFirst, clone the MumbleDJ repository to your machine:\n```\ngit clone https://github.com/matthieugrieger/mumbledj.git\n```\n\nInstall the required software as described in the [requirements section](#requirements), and execute the following:\n```\nmake\n```\n\nThis will place a compiled `mumbledj` binary in the cloned directory if successful. If you would like to make the binary more accessible by adding it to `/usr/local/bin`, simply execute the following:\n```\nsudo make install\n```\n\n### Docker\n\nYou can also use [Docker](https://www.docker.com) to run MumbleDJ.\n\nFirst you need to clone the MumbleDJ repository to your machine:\n```\ngit clone https://github.com/matthieugrieger/mumbledj.git\n```\n\nAssuming you have [Docker installed](https://www.docker.com/products/docker), you will have to build the image:\n```\ndocker build -t mumbledj .\n```\n\nAnd then you can run it, passing the configuration through the command line:\n```\ndocker run --rm --name=mumbledj mumbledj --server=SERVER --api_keys.youtube=YOUR_YOUTUBE_API_KEY --api_keys.soundcloud=YOUR_SOUNDCLOUD_API_KEY\n```\n\nIn order to run the process as a daemon and restart it automatically on reboot you can use:\n```\ndocker run -d --restart=unless-stopped --name=mumbledj mumbledj --server=SERVER --api_keys.youtube=YOUR_YOUTUBE_API_KEY --api_keys.soundcloud=YOUR_SOUNDCLOUD_API_KEY\n```\n\nYou can also install Docker on a [Raspberry Pi](https://www.raspberrypi.org/) for instance with [hypriot](http://blog.hypriot.com/getting-started-with-docker-on-your-arm-device/) or with [archlinux](https://archlinuxarm.org/packages/arm/docker). You just need to build the ARM image:\n```\ndocker build -f raspberry.Dockerfile -t mumbledj .\n```\n\n## Usage\nMumbleDJ is a compiled program that is executed via a terminal.\n\nHere is an example helptext that gives you a feel for the various commandline arguments you can give MumbleDJ:\n\n```\nNAME:\n   MumbleDJ - A Mumble bot that plays audio from various media sites.\n\nUSAGE:\n   mumbledj [global options] command [command options] [arguments...]\n\nVERSION:\n   v3.1.0\n\nCOMMANDS:\nGLOBAL OPTIONS:\n   --config value, -c value\t\tlocation of MumbleDJ configuration file (default: \"/home/matthieu/.config/mumbledj/config.yaml\")\n   --server value, -s value\t\taddress of Mumble server to connect to (default: \"127.0.0.1\")\n   --port value, -o value\t\tport of Mumble server to connect to (default: \"64738\")\n   --username value, -u value\t\tusername for the bot (default: \"MumbleDJ\")\n   --password value, -p value\t\tpassword for the Mumble server\n   --channel value, -n value\t\tchannel the bot enters after connecting to the Mumble server\n   --p12 value\t\t\t\tpath to user p12 file for authenticating as a registered user\n   --cert value, -e value\t\tpath to PEM certificate\n   --key value, -k value\t\tpath to PEM key\n   --accesstokens value, -a value\tlist of access tokens separated by spaces\n   --insecure, -i\t\t\tif present, the bot will not check Mumble certs for consistency\n   --debug, -d\t\t\t\tif present, all debug messages will be shown\n   --help, -h\t\t\t\tshow help\n   --version, -v\t\t\tprint the version\n\n```\n\n__NOTE__: You can also override all settings found within `config.yaml` directly from the commandline. Here's an example:\n\n```\nmumbledj --admins.names=\"SuperUser,Matt\" --volume.default=\"0.5\" --volume.lowest=\"0.2\" --queue.automatic_shuffle_on=\"true\"\n```\n\nKeep in mind that values that contain commas (such as `\"SuperUser,Matt\"`) will be interpreted as string slices, or arrays if you are not familiar with Go. If you want your value to be interpreted as a normal string, it is best to avoid commas for now.\n\n## Commands\n\n### add\n* __Description__: Adds a track or playlist from a media site to the queue.\n* __Default Aliases__: add, a\n* __Arguments__: (Required) URL(s) to a track or playlist from a supported media site.\n* __Admin-only by default__: No\n* __Example__: `!add https://www.youtube.com/watch?v=KQY9zrjPBjo`\n\n### addnext\n* __Description__: Adds a track or playlist from a media site as the next item in the queue.\n* __Default Aliases__: addnext, an\n* __Arguments__: (Required) URL(s) to a track or playlist from a supported media site.\n* __Admin-only by default__: Yes\n* __Example__: `!addnext https://www.youtube.com/watch?v=KQY9zrjPBjo`\n\n### cachesize\n* __Description__: Outputs the file size of the cache in MiB if caching is enabled.\n* __Default Aliases__: cachesize, cs\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!cachesize`\n\n### currenttrack\n* __Description__: Outputs information about the current track in the queue if one exists.\n* __Default Aliases__: currenttrack, currentsong, current\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!currenttrack`\n\n### forceskip\n* __Description__: Immediately skips the current track.\n* __Default Aliases__: forceskip, fs\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!forceskip`\n\n### forceskipplaylist\n* __Description__: Immediately skips the current playlist.\n* __Default Aliases__: forceskipplaylist, fsp\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!forceskipplaylist`\n\n### help\n* __Description__: Outputs a list of available commands and their descriptions.\n* __Default Aliases__: help, h\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!help`\n\n### joinme\n* __Description__: Moves MumbleDJ into your current channel if not playing audio to someone else.\n* __Default Aliases__: joinme, join\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!joinme`\n\n### kill\n* __Description__: Stops the bot and cleans its cache directory.\n* __Default Aliases__: kill, k\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!kill`\n\n### listtracks\n* __Description__: Outputs a list of the tracks currently in the queue.\n* __Default Aliases__: listtracks, listsongs, list, l\n* __Arguments__: (Optional) Number of tracks to list\n* __Admin-only by default__: No\n* __Example__: `!listtracks 10`\n\n### move\n* __Description__: Moves the bot into the Mumble channel provided via argument.\n* __Default Aliases__: move, m\n* __Arguments__: (Required) Mumble channel to move the bot into\n* __Admin-only by default__: Yes\n* __Example__: `!move Music`\n\n### nexttrack\n* __Description__: Outputs information about the next track in the queue if one exists.\n* __Default Aliases__: nexttrack, nextsong, next\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!nexttrack`\n\n### numcached\n* __Description__: Outputs the number of tracks cached on disk if caching is enabled.\n* __Default Aliases__: numcached, nc\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!numcached`\n\n### numtracks\n* __Description__: Outputs the number of tracks currently in the queue.\n* __Default Aliases__: numtracks, numsongs, nt\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!numtracks`\n\n### pause\n* __Description__: Pauses audio playback.\n* __Default Aliases__: pause\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!pause`\n\n### register\n* __Description__: Registers the bot on the server.\n* __Default Aliases__: register, reg\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!register`\n\n### reload\n* __Description__: Reloads the configuration file.\n* __Default Aliases__: reload, r\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!reload`\n\n### reset\n* __Description__: Resets the queue by removing all queue items.\n* __Default Aliases__: reset, re\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!reset`\n\n### resume\n* __Description__: Resumes audio playback.\n* __Default Aliases__: resume\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!pause`\n\n### setcomment\n* __Description__: Sets the comment displayed next to MumbleDJ's username in Mumble. If the argument is left empty, the current comment is removed.\n* __Default Aliases__: setcomment, comment, sc\n* __Arguments__: (Optional) New comment\n* __Admin-only by default__: Yes\n* __Example__: `!setcomment Hello! I'm a bot. Beep boop.`\n\n### shuffle\n* __Description__: Randomizes the tracks currently in the queue.\n* __Default Aliases__: shuffle, shuf, sh\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!shuffle`\n\n### skip\n* __Description__: Places a vote to skip the current track.\n* __Default Aliases__: skip, s\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!skip`\n\n### skipplaylist\n* __Description__: Places a vote to skip the current playlist.\n* __Default Aliases__: skipplaylist, sp\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!skipplaylist`\n\n### toggleshuffle\n* __Description__: Toggles permanent track shuffling on/off.\n* __Default Aliases__: toggleshuffle, toggleshuf, togshuf, tsh\n* __Arguments__: None\n* __Admin-only by default__: Yes\n* __Example__: `!toggleshuffle`\n\n### version\n* __Description__: Outputs the current version of MumbleDJ.\n* __Default Aliases__: version, v\n* __Arguments__: None\n* __Admin-only by default__: No\n* __Example__: `!version`\n\n### volume\n* __Description__: Changes the volume if an argument is provided, outputs the current volume otherwise.\n* __Default Aliases__: volume, vol\n* __Arguments__: (Optional) New volume\n* __Admin-only by default__: No\n* __Example__: `!volume 0.5`\n\n## Contributing\n\nContributions to MumbleDJ are always welcome! Please see the [contribution guidelines](https://github.com/matthieugrieger/mumbledj/blob/master/CONTRIBUTING.md) for instructions and suggestions!\n\n## Author\n[Matthieu Grieger](https://github.com/matthieugrieger)\n\n## License\n```\nThe MIT License (MIT)\n\nCopyright (c) 2016 Matthieu Grieger\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n```\n\n## Thanks\n* [All those who contribute to Mumble](https://github.com/mumble-voip/mumble/graphs/contributors)\n* [Tim Cooper](https://github.com/bontibon) for [gumble, gumbleffmpeg, and gumbleutil](https://github.com/layeh/gumble)\n* [Jeremy Saenz](https://github.com/codegangsta) for [cli](https://github.com/urfave/cli)\n* [Anton Holmquist](https://github.com/antonholmquist) for [jason](https://github.com/antonholmquist/jason)\n* [Stretchr, Inc.](https://github.com/stretchr) for [testify](https://github.com/stretchr/testify)\n* [ChannelMeter](https://github.com/ChannelMeter) for [iso8601duration](https://github.com/ChannelMeter/iso8601duration)\n* [Steve Francia](https://github.com/spf13) for [viper](https://github.com/spf13/viper)\n* [Simon Eskildsen](https://github.com/Sirupsen) for [logrus](https://github.com/Sirupsen/logrus)\n* [Mitchell Hashimoto](https://github.com/mitchellh) for [gox](https://github.com/mitchellh/gox)\n* [Jim Teeuwen](https://github.com/jteeuwen) for [go-bindata](https://github.com/jteeuwen/go-bindata)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthieugrieger%2Fmumbledj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthieugrieger%2Fmumbledj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthieugrieger%2Fmumbledj/lists"}