Code Monkey home page Code Monkey logo

ocaml-bt's Introduction

ocaml-bt

OCaml-BT is a small BitTorrent library and client written in OCaml. It uses Lwt for concurrency.

This is a preliminary release.

Installation

The easiest way is to use OPAM.

opam install bt

Alternatively, clone from git and install manually:

cd ~/tmp
git clone https://github.com/nojb/ocaml-bt
cd ocaml-bt
make
make install

Either way the end-result will be a OCaml library (findlib name: bt) and a executable otorrent.

Usage

Right now the only supported way to download torrents is via the use of magnet links, but other ways will hopefully be added soon. For example, the following will download the "Ubuntu 13.10 Desktop Live ISO amd64" torrent to your current working directory.

otorrent "magnet:?xt=urn:btih:e3811b9539cacff680e418124272177c47477157&dn=Ubuntu+13.10+Desktop+Live+ISO+amd64&tr=udp%3A//tracker.openbittorrent.com%3A80&tr=udp%3A//tracker.publicbt.com%3A80&tr=udp%3A//tracker.istole.it%3A6969&tr=udp%3A//tracker.ccc.de%3A80&tr=udp%3A//open.demonii.com%3A1337"

TODO

  • DHT - DONE
  • uTP
  • Fast Resume
  • Encryption - DONE
  • PEX - DONE
  • LPD
  • UPnP
  • NAT-PMP
  • SOCKS

Comments

Comments, bug reports and feature requests are very welcome: [email protected].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.