Skip to content

[WIP] A Go-based bot allowing easy playback of your AzuraCast station into a Discord server.

License

Notifications You must be signed in to change notification settings

lapfoxradio/azurabot

 
 

Repository files navigation

AzuraBot

AzuraBot is a Go-powered music playing bot specifically built for the AzuraCast radio software.

Using AzuraBot, you can easily play your radio station through a voice channel on Discord.

Installing

Step 1: Install Docker and Docker Compose

Your computer or server should be running the newest version of Docker and Docker Compose. You can use the easy scripts below to install both if you're starting from scratch:

wget -qO- https://get.docker.com/ | sh

COMPOSE_VERSION=`git ls-remote https://github.com/docker/compose | grep refs/tags | grep -oP "[0-9]+\.[0-9][0-9]+\.[0-9]+$" | tail -n 1`
sudo sh -c "curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose"
sudo chmod +x /usr/local/bin/docker-compose
sudo sh -c "curl -L https://raw.githubusercontent.com/docker/compose/${COMPOSE_VERSION}/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose"

If you're not installing as root, you may be given instructions to add your current user to the Docker group (i.e. usermod -aG docker $user). You should log out or reboot after doing this before continuing below.

Step 2: Pull the AzuraBot Docker Compose File

Choose where on the host computer you would like AzuraBot's configuration file to exist on your server.

Inside that directory, run this command to pull the Docker Compose configuration file.

curl -L https://raw.githubusercontent.com/AzuraCast/azurabot/master/docker-compose.sample.yml > docker-compose.yml

Step 3: Customize docker-compose.yml

Open the docker-compose.yml file and provide the necessary variables.

Step 3: Run Docker Compose

From the directory that contains your docker-compose.yml file, run these commands:

docker-compose up -d

About

[WIP] A Go-based bot allowing easy playback of your AzuraCast station into a Discord server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.5%
  • Dockerfile 1.5%