JackDallas / Premiumizearr

Bridge your *Arr clients (Sonarr, Radarr) to your premiumize.me (upload/download manager)
GNU General Public License v3.0
44 stars 8 forks source link
nzb premiumizeme radarr sonarr torrents

Premiumizearr

Build

Build

Features

Support the project by using my invite code

Invite Code

Install

Grab the latest release artifact links here

Binary

System Install

wget https://github.com/JackDallas/Premiumizearr/releases/download/x.x.x/Premiumizearr_x.x.x_linux_amd64.tar.gz
tar xf Premiumizearr_x.x.x.x_linux_amd64.tar.gz
cd Premiumizearr_x.x.x.x_linux_amd64
sudo mkdir /opt/premiumizearrd/
sudo cp -r premiumizearrd static/ /opt/premiumizearrd/
sudo cp premiumizearrd.service /etc/systemd/system/
sudo systemctl-reload
sudo systemctl enable premiumizearrd.service
sudo systemctl start premiumizearrd.service

User Install

wget https://github.com/JackDallas/Premiumizearr/releases/download/x.x.x/Premiumizearr_x.x.x_linux_amd64.tar.gz
tar xf Premiumizearr_x.x.x.x_linux_amd64.tar.gz
cd Premiumizearr_x.x.x.x_linux_amd64
mkdir -p ~/.local/bin/
cp -r premiumizearrd static/ ~/.local/bin/
echo -e "export PATH=~/.local/bin/:$PATH" >> ~/.bashrc 
source ~/.bashrc

You're now able to run the daemon from anywhere just by typing premiumizearrd

deb file

wget https://github.com/JackDallas/Premiumizearr/releases/download/x.x.x/premiumizearr_x.x.x._linux_amd64.deb
sudo dpkg -i premiumizearr_x.x.x.x_linux_amd64.deb

Docker

Docker images are listed here

docker run \
    -v /home/dallas/test/data:/data \
    -v /home/dallas/test/blackhole:/blackhole \
    -v /home/dallas/test/downloads:/downloads \
    -p 8182:8182 \
    ghcr.io/jackdallas/premiumizearr:latest

If you wish to increase logging (which you'll be asked to do if you submit an issue) you can add -e PREMIUMIZEARR_LOG_LEVEL=trace to the command

Note: The /data mount is where the config.yaml and log files are kept

Setup

Premiumizearrd

Running for the first time the server will start on http://0.0.0.0:8182

If you already use this binding for something else you can edit them in the config.yaml

WARNING: This app exposes api keys in the ui and does not have authentication, it is strongly recommended you put it behind a reverse proxy with auth and set the host to 127.0.0.1 to hide the app from the web.

Sonarr/Radarr

Reverse Proxy

Premiumizearr does not have authentication built in so it's strongly recommended you use a reverse proxy

Nginx

location /premiumizearr/ {
    proxy_pass http://127.0.0.1:8182/;
    proxy_set_header Host $proxy_host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_redirect off;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
}