Git Product home page Git Product logo

torrent's Introduction

torrent.cr Build Status

A BitTorrent client library written in pure Crystal.

Do note that this shard is currently in BETA.

Installation

Add this to your application's shard.yml:

dependencies:
  torrent:
    github: Papierkorb/torrent

Usage

Please see bin/ for example applications.

What's missing?

  • Improve architecture
  • Improve performance (Seeding is fine, leeching is expensive)
  • Smarter leech and seed strategies
  • Tons of other things
  • The planned BEPs
  • More tests (Figure out how to best test networking code)

Implemented BEPs

The index of all BEPs can be found at http://www.bittorrent.org/beps/bep_0000.html

  • BEP-0003: The BitTorrent Protocol Specification
  • BEP-0006: Fast Extension
  • BEP-0010: Extension Protocol
  • BEP-0011: Peer Exchange (PEX)
  • BEP-0015: UDP Tracker Protocol for BitTorrent (Except for scraping)
  • BEP-0020: Peer ID Conventions
  • BEP-0023: Tracker Returns Compact Peer Lists
  • BEP-0027: Private Torrents
  • BEP-0041: UDP Tracker Protocol Extensions
  • BEP-0048: Tracker Protocol Extension: Scrape

Planned

  • BEP-0005: DHT Protocol
  • BEP-0009: Extension for Peers to Send Metadata Files
  • BEP-0040: Canonical Peer Priority

All entries are in ascending order of their BEP number

Contributing

  1. Fork it ( https://github.com/Papierkorb/torrent.cr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write tests
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

Contributors

  • Papierkorb Stefan Merettig - creator, maintainer

Disclaimer

The authors of this library are in no way responsible for any copyright infiringements caused by using this library or software using this library. There are many legitimate use-cases for torrents outside of piracy. This library was written with the intention to be used for such legal purposes.

License

This library is licensed under the Mozilla Public License 2.0 ("MPL-2").

For a copy of the full license text see the included LICENSE file.

For a legally non-binding explanation visit: tl;drLegal

torrent's People

Contributors

papierkorb avatar

Watchers

James Cloos avatar Amit Patra avatar

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.