Skip to content

Instantly share code, notes, and snippets.

@sourcec0de
Last active September 1, 2022 09:04

Revisions

  1. sourcec0de renamed this gist Apr 3, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. sourcec0de created this gist Apr 3, 2013.
    18 changes: 18 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    Install dep, and start tracker
    ~~~shell
    sudo apt-get install bittornado ctorrent
    bttrack --port 6969 --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full
    ~~~

    Now, create a torrent file
    ~~~shell
    ctorrent -t -u "YOUR_SERVER_IP:6969/announce" -s new_file_name.torrent file_or_folder_for_torrent
    ~~~

    That will yeild a .torrent file. Send that file to your local system where you wish to download
    the files to and start it in a torrent client.

    To start seeding the file run this and let your torrent do its business
    ~~~shell
    ctorrent torrent_file_name.torrent
    ~~~