Go to file
2024-07-27 11:40:59 -05:00
almalinux Change imports 2024-03-30 00:23:56 -05:00
command Refactor; update README 2024-07-26 03:14:41 -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 Kali download URL 2024-03-30 17:01:07 -05:00
netbsd Add NetBSD 2024-04-03 17:13:28 -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
.gitignore Add .gitignore 2024-07-27 11:40:59 -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.org Refactor; update README 2024-07-26 03:14:41 -05:00

go-torrent-helper

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

Installation

go install codeberg.org/hyperreal/go-torrent-helper@latest

Usage

export TX_RPC_URL=localhost
export TX_RPC_USER="cat"
export TX_RPC_PASS="meow"
export TX_RPC_PORT="9091"
export TX_RPC_USE_HTTPS="True"

Add torrents

go-torrent-helper add -distro fedora -relver 50
go-torrent-helper add -distro nixos -relver *
go-torrent-helper add -distro almalinux -relver 12.4

Remove torrents

go-torrent-helper remove -distro almalinux -relver 12.4
go-torrent-helper remove -distro nixos -relver *
go-torrent-helper remove -distro fedora -relver 50