Skip to content

How can I seed a local file #556

Answered by bsergean
bsergean asked this question in Q&A
Aug 31, 2021 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

Prerequisite

Make sure you have version v1.31.0 of anacrolix/torrent.

Step 1 - Compile torrent commands

In a new terminal (1), we will clone the anacrolix repo and generate 2 binaries in /tmp/

$ git clone https://github.com/anacrolix/torrent.git
$ cd torrent
torrent$ go build -o /tmp/torrent_download ./cmd/torrent
torrent$ go build -o /tmp/torrent_create ./cmd/torrent-create

Step 2 - Run a local tracker

In a new terminal (2), we will build and run chihaya with the default config.

$ git clone [email protected]:chihaya/chihaya.git
$ cd chihaya
$ go build ./cmd/chihaya
$ ./chihaya --config dist/example_config.yaml
INFO[0000] starting metrics server                       addr="0.0.0.0:6880"
INF…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@bsergean
Comment options

@anacrolix
Comment options

@bsergean
Comment options

@bsergean
Comment options

@anacrolix
Comment options

Comment options

You must be logged in to vote
1 reply
@anacrolix
Comment options

Answer selected by anacrolix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants