realdebrid-cli

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2023 License: GPL-3.0

README

Real Debrid CLI

This tool is a simple command-line interface for Real Debrid. You can use it to manage and download files instead of the website.

Installation

Install the latest binary from the releases section.

# Extract tarfile
tar -xf realdebrid-cli-v0.0.7-linux-amd64.tar.gz

# Install somewhere in $PATH
sudo mv realdebrid /usr/local/bin/realdebrid

Example Usage

# Set API Token
export REAL_DEBRID_API_TOKEN="myapitoken"

# set file to download
export LINK="https://link.to/my/file.zip"

# Download a file or folder and store results to ~/Downloads/debrid
realdebrid downloads fetch $LINK \
    -o $HOME/Downloads/debrid

# Download a list of links stored in a text file
realdebrid downloads fetch \
    -f download_links.txt \
    -o $HOME/Downloads/debrid

# Download a list of links, skipping the parsing of any folders.
# This can speed up the process when you have a lot of links which
# you know are not folders.
realdebrid downloads fetch \
    -f download_links.txt \
    -o $HOME/Downloads/debrid \
    --skip-folders

# Alternatively set token with a flag
realdebrid downloads fetch $LINK \
    -o $HOME/Downloads/debrid \
    --token my-api-token
realdebrid downloads check $LINK
List all downloads
realdebrid downloads list
Remove all downloads
realdebrid downloads clean

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL