CordArr
Control your Radarr/Sonarr library and create Jellyfin accounts in Discord
Overview
CordArr is a self-hosted Discord bot that allows you to add new movies or shows to your Radarr/Sonarr libraries, and allow users to create temporary Jellyfin accounts on your server.
Self-hosting
Docker
To run Guava in Docker, use the provided docker-compose.yaml file as a template for the container. Use the configuration section below to fill out the necessary information.
Bare metal
To run Guava on bare metal, follow the steps below.
- Install Python 3 and Pip
- Clone this repository
- Install the requirements with
pip install -r requirements.txt
- Run the
code/bot.py
file - Input information into the newly created config.yaml file.
- Re-run the
code/bot.py
file.
CordArr is built on Python and requires you to install all of the dependencies in the requirements.txt
file. To do this, you can run the pip install command like pip install -r requirements.txt
You must then fill out the config.yaml
file with the necessary information. If the file does not exist already, run the bot once to generate the file.
Configuration
BOT_INFO
Field | Description |
---|---|
BOT_TOKEN | The token for your bot. Create a bot at discord.com/developers |
RADARR / SONARR | OPTIONAL
Field | Description |
---|---|
HOST_URL | URL for your Radarr/Sonarr instance (e.g. http://localhost:7878) |
API_KEY | API key for Radarr/Sonarr, found in Settings > General > API Key |
ROOT_FOLDER_PATH | Folder path found at the bottom of the page in Settings > Media Management |
QUALITY_PROFILE_ID | ID for the quality profile to download content in. Run the bot once to get a list of profiles and their IDs |
JELLYFIN | OPTIONAL
Field | Description |
---|---|
URL | URL for your Jellyfin server (e.g. http://localhost:8096) |
API_KEY | API key for Jellyfin - can be created in Dashboard > API Keys |
ACCOUNT_TIME | Amount of time, in hours, accounts should exist before being deleted |
SIMPLE_PASSWORDS | true/false : Whether or not to have simple dictionary word passwords for temporary accounts |
Languages
Python
100%