Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
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 Cordarr 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 Cordarr 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.
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 |
PUBLIC_URL | Public URL for your Jellyfin server. Used in the account creation message |
Languages
Python
100%