singlefiletransfer

command module
v0.0.0-...-b8d786c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2012 License: BSD-3-Clause Imports: 30 Imported by: 0

README

Taipei Torrent

This is a simple command-line-interface BitTorrent client coded in the go programming language.

FAQ:

Q: Why call it Taipei Torrent?

A: jackpal started writing it while visiting Taipei, Taiwan

Q: What is the license?

A: See the LICENSE file.

Current Status

Tested on Windows, Linux and Mac OSX.

Development Roadmap

  • Support magnet links
  • Implement choke/unchoke logic
  • Full UPnP support (need to be able to search for an unused listener port, detect we have already acquired the port, release the listener port when we quit.)
  • Clean up source code
  • Deal with TODOs
  • Add a way of quitting other than typing control-C

Download, Install, and Build Instructions

  1. Download and install the Go One environment from http://golang.org

  2. Use the "go" command to download, install, and build the Taipei-Torrent app:

    go get github.com/jackpal/Taipei-Torrent

Usage Instructions

Taipei-Torrent mydownload.torrent

or

Taipei-Torrent -help

Third-party Packages

http://code.google.com/p/bencode-go - Bencode encoder/decoder

https://github.com/hailiang/gosocks - SOCKS5 proxy support

https://github.com/nictuku/dht - Distributed Hash Table

https://github.com/nictuku/nettools - Network utilities

https://github.com/nictuku/Taipei-Torrent is an active fork.

Documentation

Overview

The implementation borrows heavily from SmallLRUCache (originally by Nathan Schrenk). The object maintains a doubly-linked list of elements in the When an element is accessed it is promoted to the head of the list, and when space is needed the element at the tail of the list (the least recently used element) is evicted. Keys can be of anytype for which equality is defined.

Compute missing pieces for a torrent.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL