Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 972 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 972 Bytes

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