Skip to content

humblenginr/ktorrent

Repository files navigation

Ktorrent

Ktorrent is a simple BitTorrent client built using OCaml. It is primarily a learning project and is not intended to serve as an alternative to other existing BitTorrent clients.

Running the project

Clone the repository:

git clone https://github.com/humblenginr/ktorrent.git
cd ktorrent

Build the project using dune:

dune build

Run the BitTorrent client:

dune exec ./bin/ktorrent

Demo

Screen.Recording.2023-11-11.at.11.44.47.AM.mov

Learning

  1. https://wiki.theory.org/BitTorrentSpecification
  2. http://www.kristenwidman.com/blog/33/how-to-write-a-bittorrent-client-part-1/
  3. http://www.kristenwidman.com/blog/71/how-to-write-a-bittorrent-client-part-2/
  4. https://goodyduru.github.io/networking/c-programming/2022/06/30/building-a-bittorrent-client.html
  5. https://github.com/goodyduru/simpletorrent/tree/main/src
  6. http://bittorrent.org/beps/bep_0015.html

About

A BitTorrent client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published