{"id":18352175,"url":"https://github.com/farmergreg/rumble","last_synced_at":"2025-04-06T11:32:45.586Z","repository":{"id":142172737,"uuid":"542623859","full_name":"farmergreg/rumble","owner":"farmergreg","description":"Rumble is a mumble bot that streams audio from your microphone / line input.","archived":false,"fork":false,"pushed_at":"2024-12-21T03:41:18.000Z","size":29,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T22:22:24.097Z","etag":null,"topics":["mumble","mumble-client","python-3","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/farmergreg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-28T14:09:02.000Z","updated_at":"2024-12-21T03:41:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"8063ea2e-6bb4-4499-963a-50d8dca8a8d6","html_url":"https://github.com/farmergreg/rumble","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farmergreg%2Frumble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farmergreg%2Frumble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farmergreg%2Frumble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farmergreg%2Frumble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farmergreg","download_url":"https://codeload.github.com/farmergreg/rumble/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478152,"owners_count":20945258,"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":["mumble","mumble-client","python-3","python3"],"created_at":"2024-11-05T21:35:10.999Z","updated_at":"2025-04-06T11:32:45.580Z","avatar_url":"https://github.com/farmergreg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rumble\n\nRumble is a [mumble](https://www.mumble.info/) bot that streams audio from your microphone / line input.\n\n## Quick Start\n\nExample:\n````\n./rumble.py --username test-bot --server mumble --port 64738 --password OneBadPassword\n````\n\n### Command Line Options:\n````\nusage: rumble [-h] [--cert-file [CERTFILE]] [--cert-key [CERTKEY]] [--channel [CHANNEL]] [--password [PASSWORD]] [--port [PORT]] [--server [SERVER]] [--username USERNAME] [--min-rms MINRMS]\n              [--webhook-watchdog-interval WEBHOOK_WATCHDOG_INTERVAL] [--webhook-watchdog-up WEBHOOK_WATCHDOG_UP] [--webhook-watchdog-down WEBHOOK_WATCHDOG_DOWN]\n\nrumble streams audio from your microphone input\n\noptions:\n   -h, --help            show this help message and exit\n   --cert-file [CERTFILE]\n                         PEM encoded public key certificate\n   --cert-key [CERTKEY]  PEM encoded private key certificate\n   --channel [CHANNEL]   the channel to join\n   --password [PASSWORD] the server password\n   --port [PORT]         the server to connect to (default \"64738\")\n   --server [SERVER]     the server to connect to (default \"localhost\")\n   --username USERNAME   the username of the client (default \"rumble-bot\")\n   --min-rms MINRMS      minimum rms level required to transmit audio (default 200)\n   --webhook-watchdog-interval WEBHOOK_WATCHDOG_INTERVAL\n                         Interval in seconds for the watchdog to check the connection\n   --webhook-watchdog-up WEBHOOK_WATCHDOG_UP\n                         URL to GET periodically when connected\n   --webhook-watchdog-down WEBHOOK_WATCHDOG_DOWN\n                         URL to GET periodically when disconnected\n````\n\n### Environment Variables:\nCommand line parameters take precedence over environment variables.\nThe following environment variables are supported:\n\n````\nRUMBLE_CERTFILE=\nRUMBLE_CERTKEY=\nRUMBLE_CHANNEL=\nRUMBLE_PASSWORD=\nRUMBLE_PORT=64738\nRUMBLE_SERVER=localhost\nRUMBLE_USERNAME=rumble-bot\nRUMBLE_MINRMS=150\nRUMBLE_WEBHOOK_WATCHDOG_INTERVAL=61\nRUMBLE_WEBHOOK_WATCHDOG_UP=\nRUMBLE_WEBHOOK_WATCHDOG_DOWN=\n````\n\n## Installation\n\nYou can use any computer that runs linux to run mumble.\nThese instructions were tested with Raspberry PI OS Lite (Debian Bullseye with no desktop environment).\nIf you happen to use a Raspberry PI, you will need a usb sound card.\n\n````\n# Install\nsudo apt update\nsudo apt install git python3-pip python3-pyaudio opus-tools\npip install pymumble #--break-system-packages\ngit clone https://github.com/farmergreg/rumble\n\n# Run the bot (change the parameters to suit your needs)\ncd rumble\n./rumble.py --username test-bot --server mumble --port 64738 --password OneBadPassword\n````\n\n## Audio Card Configuration\n\nIf rumble does not transmit any audio, it may be because your audio card isn't set to be the default card.\nTo check the cards on your system run:\n\n````\ncat /proc/asound/cards\n````\n\nThen edit /etc/asound.conf and add the text below.\nIn this example, we are using card number 1 as our default card:\n\n````\ndefaults.pcm.card 1\ndefaults.ctl.card 1\n````\n\n## SSL Key Creation\n\nIf you want to authenticate using SSL, here is one way to create a self-signed key pair.\n\n````\nopenssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout private-cert-key.pem -out public-key-cert-file.pem\n````\n\n## Starting Rumble Automatically\n\nThere are many ways to accomplish starting up rumble when your computer boots.\nHere is one simple way:\n\n### 1) Install tmux:\n````\nsudo apt install tmux\n````\n\n### 2) Edit crontab\nThen edit your crontab and add this line (adjust the path to match where your copy of rumble is):\n\n````\n@reboot /usr/bin/tmux new-session -d -s rumble-bot '/home/pi/rumble/rumble.py --username test-bot --server mumble --port 64738 --password YourServerPasswordGoesHere' \u003e/dev/null 2\u003e\u00261\n````\n\n### 3) Reboot\nReboot your computer.\nAfter rebooting, log in and check the output from your bot by running:\n\n````\ntmux attach\n````\n\nWhen you are done using tmux, press ctrl-b and then ctrl-d to detach from your bot (it will continue to run in the background).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarmergreg%2Frumble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarmergreg%2Frumble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarmergreg%2Frumble/lists"}