1 `functorrent' is a bittorrent client.
6 I suggest using cabal sandbox.
10 clone the repo; cd functorrent;
13 2. wget http://www.stackage.org/lts/cabal.config
14 3. cabal install --only-dependencies --enable-tests
15 4. cabal build # binaries in ./dist/built/functorrent/*
20 - Become more profient with Haskell.
21 - Implement something non-trivial with Haskell (crypto, file operations, network
22 operations, concurrency, bit twiddling, DHT).
23 - Follow the spec - https://wiki.theory.org/BitTorrentSpecification
24 - Easy for newbies like me to read and understand along side the spec.
25 - doctest and quickcheck tests.
26 - Follow Haskell Style Guide - https://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md
31 - can decode torrent files (bencoding)
32 - talk to the tracker and get the peer list
33 - the `main' program takes a torrent file (in the local file system) as input and
34 prints the {ip,port} for each peer, after talking to the tracker.
41 - Get the file download working in the simplest possible way.
42 - Concurrency (threads per peer)
43 - other advanced features of Bit Torrent (like DHT).