Git Product home page Git Product logo

Tulva

Tulva is BitTorrent client written entirely in Go as a project for Hacker School fall 2013. It's currently a work in progress. We aim for correctness and protocol completeness: designing an optimal download strategy, implementing both upload and download, multiple tracker support, and the resumption of interrupted downloads. The authors are Jari Takkala and Brian Dignan. The name Tulva comes from the Finnish word for flood.

Status

Completed

  • Parse torrent file
  • Verifies partially downloaded files on restart
  • Connects to tracker and retrieves a list of peers
  • Periodically reconnects to tracker every X interval
  • Connects to peers returned by the tracker
  • Initalizes a server process and accepts connections from peers
  • Completes peer handshake
  • Controller logic and tests 90% complete
  • Initialize local bitfield
  • Send bitfield to peers
  • Peer wire protocol
  • Verify received pieces and write to disk
  • Read pieces from disk and write to peer
  • Signal handler for CTRL-C and to initiate clean shutdown
  • UDP tracker support thanks to Rob Bassi

To-do

  • Handle multiple trackers and backup trackers
  • Track torrent and peer statistics and report back to tracker
  • Distributed Hash Table (DHT) support
  • Web interface for managing torrents
  • Support multiple simultaneous torrents

License

Tulva is licensed under the 2-clause BSD license. See LICENSE for more information.

tulva's Projects

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.