Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cgund98/realdebrid-cli
A simple CLI for downloading files from Real-Debrid
https://github.com/cgund98/realdebrid-cli
Last synced: 15 days ago
JSON representation
A simple CLI for downloading files from Real-Debrid
- Host: GitHub
- URL: https://github.com/cgund98/realdebrid-cli
- Owner: cgund98
- License: gpl-3.0
- Created: 2023-11-25T21:55:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-26T03:12:23.000Z (about 1 year ago)
- Last Synced: 2023-11-26T23:21:58.436Z (about 1 year ago)
- Language: Go
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://github.com/cgund98/realdebrid-cli/releases).
```bash
# 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
### Download from a restricted link
```bash
# 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
```### Check if a restricted link is valid and downloadable
```bash
realdebrid downloads check $LINK
```### List all downloads
```bash
realdebrid downloads list
```### Remove all downloads
```bash
realdebrid downloads clean
```