{"id":21526923,"url":"https://github.com/lambdaclass/libtorrent-rs","last_synced_at":"2025-10-23T15:51:17.593Z","repository":{"id":65437695,"uuid":"578202589","full_name":"lambdaclass/libtorrent-rs","owner":"lambdaclass","description":"A Rust implementation of the BitTorrent V2 protocol","archived":false,"fork":false,"pushed_at":"2023-02-24T18:07:56.000Z","size":135,"stargazers_count":59,"open_issues_count":13,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-08T17:54:52.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/lambdaclass.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-14T13:54:03.000Z","updated_at":"2025-07-25T16:23:37.000Z","dependencies_parsed_at":"2025-04-09T23:44:28.326Z","dependency_job_id":null,"html_url":"https://github.com/lambdaclass/libtorrent-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lambdaclass/libtorrent-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Flibtorrent-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Flibtorrent-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Flibtorrent-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Flibtorrent-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambdaclass","download_url":"https://codeload.github.com/lambdaclass/libtorrent-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Flibtorrent-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734407,"owners_count":26036404,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-24T01:47:14.326Z","updated_at":"2025-10-07T06:50:41.008Z","avatar_url":"https://github.com/lambdaclass.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libtorrent-rs\n\nA Rust implementation of the [BitTorrent V2](http://bittorrent.org/beps/bep_0052.html) protocol. For now only V1 is implemented but we're working on V2.\n\n## Dependencies\n- Rust\n- Cargo\n\n## Running\nTo run the program there needs to be a `.cfg` file in the `configs` directory of the project. We provide two with default values as an example.\nThen run the program with `cargo` followed by the directory containing the `.torrent` files, and the directory and name of the `.cfg` file as shown below:\n```bash\n$ cargo run --bin dtorrent -- --file ./torrents/file_name --config ./configs/config_file\n```\nOn startup the client gets all the `.torrent` files on the specified directory and immediately starts the download \u0026 upload.\n\n## Testing\nRun the test suite:\n```bash\nmake test\n```\n\n## BitTorrent Specification\n\n- [Index of BitTorrent Enhancement Proposals](http://bittorrent.org/beps/bep_0000.html)\n- [The BitTorrent Protocol Specification v2](http://bittorrent.org/beps/bep_0052.html)\n- [DHT Protocol](http://bittorrent.org/beps/bep_0005.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdaclass%2Flibtorrent-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdaclass%2Flibtorrent-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdaclass%2Flibtorrent-rs/lists"}