Skip to content
/ tornado Public
forked from fraidev/tornado

Tornado is a BitTorrent client written entirely in OCaml.

License

Notifications You must be signed in to change notification settings

ada2k/tornado

 
 

Repository files navigation

Tornado

Tornado is a BitTorrent client written entirely in OCaml.

asciicast

Note: speed x5 on this video.

Setup

Nix

Just run:

nix develop -c $SHELL

Opam

First, create a switch like so:

opam switch create . 5.0.0~alpha1+options --no-install

Then you can run:

opam pin stdint https://github.com/andrenth/ocaml-stdint.git#322a8a4a8c69e4a0b75763460b915200356e3af3
opam install ocamlformat
opam install ocaml-lsp-server
opam install . --deps-only --with-test

Build, tests and Downloading a file

Build the codebase with:

dune build

Run test:

dune build @runtest --force --no-buffer

Execute it for download a torrent file:

dune exec bin/cli.exe debian-11.4.0-arm64-netinst.iso.torrent

About

Tornado is a BitTorrent client written entirely in OCaml.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 81.1%
  • Standard ML 12.9%
  • Nix 6.0%