Skip to content

varyoo/mktorrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Make torrent files using Go and preset profiles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages