theobarrague / fake-bittorrent-client

A Node.js BitTorrent API implementation for testing or cheating on trackers
MIT License
1 stars 0 forks source link

how to run? #5

Open ssoL2 opened 2 years ago

ssoL2 commented 2 years ago

how to run? Can you give me a command to run the code? thank you.

theobarrague commented 2 years ago

You can clone with git@github.com:theobarrague/fake-bittorrent-client.git Then type cd fake-bittorrent-client to enter directory Type npm install to download dependencies Type npm run build to rebuild Finally, type node dist/cli.js --tracker 'http://my.tracker.com:8080/announce' --hash 'ee8d8728f435fd550f83852aabab5234ce1da528' --upload 33554432 --timeout 1500 for example