Go to file
2024-03-30 09:50:58 -05:00
almalinux Change imports 2024-03-30 00:23:56 -05:00
command Change imports 2024-03-30 00:23:56 -05:00
common Fix torrent URL extraction 2023-07-17 21:54:36 -05:00
debian Change imports 2024-03-30 00:23:56 -05:00
devuan Change imports 2024-03-30 00:23:56 -05:00
fedora Change imports 2024-03-30 00:23:56 -05:00
freebsd Change imports 2024-03-30 00:23:56 -05:00
kali Fix goquery code 2024-03-30 09:50:58 -05:00
nixos Change imports 2024-03-30 00:23:56 -05:00
parrot Change imports 2024-03-30 00:23:56 -05:00
qubes Change imports 2024-03-30 00:23:56 -05:00
rocky Change imports 2024-03-30 00:23:56 -05:00
tails Change imports 2024-03-30 00:23:56 -05:00
go.mod Fix module import 2024-03-30 03:43:30 -05:00
go.sum Fix module import 2024-03-30 03:43:30 -05:00
LICENSE Add LICENSE and README.org 2023-06-23 21:44:49 -05:00
main.go Change imports 2024-03-30 00:23:56 -05:00
README.md Add Kali; update repo url 2024-03-29 20:01:52 -05:00

go-torrent-helper

This is a helper program to add and remove torrents from a transmission-daemon instance.

To use, make sure TRANSMISSION_RPC_URL is exported in the shell:

export TRANSMISSION_RPC_URL=10.0.0.42

Install with Go:

go install git.hyperreal.coffee/go-torrent-helper@latest

Usage

# Add Fedora torrents
go-torrent-helper add -distro fedora -relver 38

# Remove NixOS torrents
go-torrent-helper remove -distro nixos

# Add Rocky Linux torrents
go-torrent-helper add -distro rocky -relver 9.2

# Remove older Rocky Linux torrents
go-torrent-helper remove -distro rocky -relver 8.1

# If not -relver flag is supplied for the remove subcommand, remove all torrents for given distro
go-torrent-helper remove -distro debian