Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 972 Bytes

README.md

File metadata and controls

46 lines (36 loc) · 972 Bytes

mktorrent

GoDoc

Everything you need to make torrent files in pure Go.

autotorrent

~/.config/autotorrent.toml will be loaded automatically:

[[profile]]
name = "green"
announce = ["http://localhost/announce"]
source = "GREEN"
private = true
max_piece_length = "16 mb"

[[profile]]
name = "yellow"
announce = ["http://localhost/announce", "udp://localhost:3000"]
source = "YELLOW"
private = false

Create a torrent with profile "green" settings:

$ autotorrent green file/or/directory
 473 / 1100 [================>----------------------]  43.00% 49s

Quick start

GOPATH=/tmp
go get -u github.com/zeebo/bencode \
    github.com/cheggaaa/pb \
    github.com/BurntSushi/toml \
    github.com/c2h5oh/datasize \
    github.com/pkg/errors \
    github.com/varyoo/mktorrent
cd mktorrent/autotorrent
go build
./autotorrent