bt is a shell utility for dealing with bittorrent-related things. Use it from the command line, put it in your scripts, it's alright.
Right now, bt is implemented in python (3), and really only deals with .torrent
(AKA metainfo) files. Actually creating torrents is coming soon(tm), so
use transmission-create
until then.
Clone this repository, run pip[3] install
, then you should be good.
bt --help
Add a BEP39-compliant update URL, using the ever-useful jq
:
bt bj example.torrent | jq ".info.\"update-url\" = \"$URL\"" |\
bt jb > example-updateable.torrent