Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sashkachan/tribler-arr-shim
Tribler Arr integration shim. Translates common API calls from *arr apps to Tribler.
https://github.com/sashkachan/tribler-arr-shim
Last synced: about 2 months ago
JSON representation
Tribler Arr integration shim. Translates common API calls from *arr apps to Tribler.
- Host: GitHub
- URL: https://github.com/sashkachan/tribler-arr-shim
- Owner: sashkachan
- License: mit
- Created: 2024-04-27T05:51:04.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T14:36:54.000Z (5 months ago)
- Last Synced: 2024-07-30T18:27:55.451Z (5 months ago)
- Language: Go
- Size: 49.8 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Triblerr \*arr apps shim
Provides a qBittorrent API shim for [Tribler](https://github.com/tribler/tribler).
# What's that for?
If you're using *arr apps and you want to use Tribler as a download client, you can use this shim to allow *arr apps to communicate with Tribler through configuring it as a qBittorrent client.
# Configuration
Tribler shim includes the following configuration options:
- TRIBLER_ARR_SHIM_SCHEME="http"
- TRIBLER_ARR_SHIM_ADDR="localhost"
- TRIBLER_ARR_SHIM_PORT="8091"
- TRIBLER_API_ENDPOINT="localhost:20100"
- TRIBLER_API_KEY=""
- TRIBLER_DOWNLOAD_DIR="/downloads"
- DEFAULT_CATEGORY=""
- TLS_SKIP_VERIFY="false"# Run as a Docker container
1. Deploy Tribler
Instructions on deploying Tribler is beyond the scope of this document.
Please refer to official Tribler instructions - [Tribler](https://github.com/tribler/tribler)Ensure the shim can access the endpoint that Tribler API is running on, and note down the API key.
1. Copy .env.example to .env
```bash
cp .env.example .env```
1. Modify .env variables as needed
Fill in Tribler API details and preferred downloads dir.
DEFAULT_CATEGORY can be arbitrary, it only used to return the save path for *arr apps.1. Run Docker image
```bash
docker --env-from .env run github.com/sashkachan/tribler-arr-shim:main
```# Caveats
## Categories
*arr apps distinguish their downloads from others by fetching the list with a category selector that will be applied to all API calls.
Tribler does not implement a concept of categories but it can add tags to downloads.
This means that regardless of the configured category in an *arr app, all downloads will be returned on list requests.# TODO
1. DONE Support multiple categories.## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.