torrent.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1795 eac9b7067c06
child 1905 fba288d59662
permissions -rw-r--r--
Decrease intent to increase space usage on mobile.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

=========
 Torrent
=========
.. contents::

deluge.
=======

Deluge is a full-featured, multi-platform, multi-interface BitTorrent client
using libtorrent-rasterbar in it's backend and featuring multiple
user-interfaces: GTK+, web and console.


rtorrent.
=========

rTorrent is a text-based ncurses BitTorrent client written in C++, based on
the libTorrent libraries for Unix.

  http://libtorrent.rakshasa.no/
  http://en.wikipedia.org/wiki/RTorrent

Create torrent in command line
==============================
::

  $ mktorrent -a udp://tracker.publicbt.com:80/announce,udp://tracker.istole.it:80/announce book.chm

View torrent file content
=========================
::

  $ btshowmetainfo debian-8.2.0-amd64-CD-1.iso.torrent
  btshowmetainfo 20030621 - decode BitTorrent metainfo files

  metainfo file.: debian-8.2.0-amd64-CD-1.iso.torrent
  info hash.....: bc84cb84010074094dba7bb55eebf68c6b3934a2
  file name.....: debian-8.2.0-amd64-CD-1.iso
  file size.....: 657457152 (1254 * 524288 + 0)
  announce url..: http://bttracker.debian.org:6969/announce
  http seeds....: http://cdimage.debian.org/cdimage/release/8.2.0/iso-cd/debian-8.2.0-amd64-CD-1.iso|http://cdimage.debian.org/cdimage/archive/8.2.0/iso-cd/debian-8.2.0-amd64-CD-1.iso
  comment.......: "Debian CD from cdimage.debian.org"

  $ sudo apt-get install aria2
  $ aria2c -S debian-8.2.0-amd64-CD-1.iso.torrent

  Comment: "Debian CD from cdimage.debian.org"
  Creation Date: Sun, 06 Sep 2015 12:33:43 GMT
  Mode: single
  Announce:
   http://bttracker.debian.org:6969/announce
  Info Hash: bc84cb84010074094dba7bb55eebf68c6b3934a2
  Piece Length: 512KiB
  The Number of Pieces: 1254
  Total Length: 627MiB (657,457,152)
  Name: debian-8.2.0-amd64-CD-1.iso
  Magnet URI: magnet:?xt=urn:btih:BC84CB84010074094DBA7BB55EEBF68C6B3934A2&dn=debian-8.2.0-amd64-CD-1.iso&tr=http%3A%2F%2Fbttracker.debian.org%3A6969%2Fannounce
  Files:
  idx|path/length
  ===+===========================================================================
    1|./debian-8.2.0-amd64-CD-1.iso
     |627MiB (657,457,152)
  ---+---------------------------------------------------------------------------

  $ sudo apt-get install transmission-cli
  $ transmission-show debian-8.2.0-amd64-CD-1.iso.torrent
  Name: debian-8.2.0-amd64-CD-1.iso
  File: debian-8.2.0-amd64-CD-1.iso.torrent

  GENERAL

    Name: debian-8.2.0-amd64-CD-1.iso
    Hash: bc84cb84010074094dba7bb55eebf68c6b3934a2
    Created by:
    Created on: Sun Sep  6 15:33:43 2015
    Comment: "Debian CD from cdimage.debian.org"
    Piece Count: 1254
    Piece Size: 512.0 KiB
    Total Size: 657.5 MB
    Privacy: Public torrent

  TRACKERS

    Tier #1
    http://bttracker.debian.org:6969/announce

  FILES

    debian-8.2.0-amd64-CD-1.iso (657.5 MB)