From 32ab780b461c1c2b5e3e34c35b5902ed7006b95e Mon Sep 17 00:00:00 2001 From: Parker Date: Sat, 18 May 2024 20:06:51 -0500 Subject: Create CordArr --- README.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4e34e18..cfd1fbe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,58 @@ -# CordArr - Request new movies to Radarr and create temporary Jellyfin account through Discord commands. +

+
+ Guava Image +
+ CordArr
+

+ +

+ Control your Radarr/Sonarr library and create Jellyfin accounts in Discord +

+ +

+ + discord.py + + + Code Style: Black + + + + +

+ +# 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. + +# Instructions + +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` + +On first run you will likely get a critical warning in your console, don't worry, this is expected. It will automatically create a `config.ini` file for you in the root of the directory with all of the necessary configuration options. + +Fill out the configuration options, then re-run the bot, and everything *should* just work. For information on each configuration option, look below. + +Field | Description +--- | --- +BOT_TOKEN | The token for your bot. Create a bot at [discord.com/developers](https://discord.com/developers) +RADARR_HOST_URL | URL for your Radarr instance (e.g. http://localhost:7878) +RADARR_API_KEY | API key for Radarr, found in `Settings > General > API Key` +ROOT_FOLDER_PATH | Path for media root folder, found at the bottom of the page in `Settings > Media Management` +QUALITY_PROFILE_ID | ID for the quality profile on Radarr (in order to get a list of your quality profiles and their IDs, set the other fields first, then re-run CordArr, the config.ini file will update with this information) +ENABLE_JELLYFIN_TEMP_ACCOUNT | `true/false` : Whether or not to enable the `/newaccount` command allowing users to create temporary Jellyfin accounts + +
+ +If you choose to enable the Jellyfin temp accounts features, these fields will also be required + +Field | Description +--- | --- +JELLYFIN_URL | URL for your Jellyfin server (e.g. http://localhost:8096) +JELLYFIN_API_KEY | API key for Jellyfin - can be created in `Dashboard > API Keys` +ACCOUNT_TIME | Amount of time, in hours, that temporary Jellyfin accounts should exist before being deleted + +
+
+ +If you have any questions, feel free to email at [contact@pkrm.dev](mailto:contact@pkrm.dev). Thank you for checking out Guava, and happy coding. \ No newline at end of file -- cgit v1.2.3-70-g09d2