{"id":13897576,"url":"https://github.com/naryand/bittorrent","last_synced_at":"2025-07-17T14:32:17.260Z","repository":{"id":52652499,"uuid":"342816262","full_name":"naryand/bittorrent","owner":"naryand","description":"BitTorrent client from scratch in Rust","archived":false,"fork":false,"pushed_at":"2022-05-15T02:18:53.000Z","size":104,"stargazers_count":26,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-25T03:32:46.619Z","etag":null,"topics":["bittorrent","bittorrent-client","bittorrent-network","bittorrent-protocol","p2p","peer-to-peer","rust","torrent","torrent-client"],"latest_commit_sha":null,"homepage":"https://naryand.github.io/bittorrent/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naryand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-27T09:18:00.000Z","updated_at":"2024-11-22T15:02:48.000Z","dependencies_parsed_at":"2022-08-13T02:01:20.210Z","dependency_job_id":null,"html_url":"https://github.com/naryand/bittorrent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naryand/bittorrent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naryand%2Fbittorrent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naryand%2Fbittorrent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naryand%2Fbittorrent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naryand%2Fbittorrent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naryand","download_url":"https://codeload.github.com/naryand/bittorrent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naryand%2Fbittorrent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265616793,"owners_count":23798898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bittorrent","bittorrent-client","bittorrent-network","bittorrent-protocol","p2p","peer-to-peer","rust","torrent","torrent-client"],"created_at":"2024-08-06T18:03:42.542Z","updated_at":"2025-07-17T14:32:16.952Z","avatar_url":"https://github.com/naryand.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"## BitTorrent\n[![Rust](https://github.com/naryand/bittorrent/actions/workflows/rust.yml/badge.svg)](https://github.com/naryand/bittorrent/actions/workflows/rust.yml)\n---\n\nClient for the peer to peer BitTorrent protocol from scratch in Rust.\n\n## Features\n\n- Bencode encoding + decoding\n- Parsing `.torrent` files for their metadata\n- Discovering peers with HTTP and UDP tracker protocols\n- TCP peer wire message parsing\n- Concurrently downloading pieces from many peers\n- Multithreaded SHA1 hash checking for verifying pieces\n- Downloading single and multi-file torrents\n- Resuming partially complete torrents\n- Seeding requested pieces\n- Pipelining piece requests for higher throughput\n\n### To do\n- Asynchronous IO on a multithreaded runtime\n- DHT, PEX, NAT traversal for more peers\n- Rarest first/Choking/Super seeding algorithms\n- Graphical/Web interface\n- uTorrent transport protocol\n- Piece paging/caching\n\n## Usage\n\nTo run, clone the repo and run\n```\ncargo run --release [torrent]\n```\nwhere `[torrent]` is the path to the .torrent file. The client will proceed to download the torrent into the working directory. \n\nProgress is given in completed pieces out of the total.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaryand%2Fbittorrent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaryand%2Fbittorrent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaryand%2Fbittorrent/lists"}