{"id":18619949,"url":"https://github.com/xtyxtyx/torrent","last_synced_at":"2026-02-26T18:10:51.984Z","repository":{"id":56841384,"uuid":"213394615","full_name":"xtyxtyx/torrent","owner":"xtyxtyx","description":"Bittorrent library implemented in pure Dart. [WIP, early development stage]","archived":false,"fork":false,"pushed_at":"2019-12-07T13:49:04.000Z","size":114,"stargazers_count":30,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-13T00:27:22.462Z","etag":null,"topics":["dart","dht","torrent","tracker","wip"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/torrent","language":"Dart","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/xtyxtyx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-10-07T13:44:48.000Z","updated_at":"2024-07-28T16:15:58.000Z","dependencies_parsed_at":"2022-08-29T06:50:47.765Z","dependency_job_id":null,"html_url":"https://github.com/xtyxtyx/torrent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xtyxtyx/torrent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtyxtyx%2Ftorrent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtyxtyx%2Ftorrent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtyxtyx%2Ftorrent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtyxtyx%2Ftorrent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtyxtyx","download_url":"https://codeload.github.com/xtyxtyx/torrent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtyxtyx%2Ftorrent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29867182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T16:38:37.846Z","status":"ssl_error","status_checked_at":"2026-02-26T16:37:58.932Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dart","dht","torrent","tracker","wip"],"created_at":"2024-11-07T04:04:16.635Z","updated_at":"2026-02-26T18:10:51.964Z","avatar_url":"https://github.com/xtyxtyx.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"**[WIP, This library is currently under heavy development and isn't ready for production]**\n\n## Usage\n\nExample:\n\n```dart\nimport 'package:logging/logging.dart';\nimport 'package:torrent/torrent.dart';\nimport 'package:torrent/auxlib.dart';\n\nmain() async {\n  BtLog.setLevel(Level.FINER);\n\n  final info = await loadFile('test/data/hot.torrent');\n  dumpInfo(info, brief: true);\n\n  final agent = BtAgentCore();\n  final torrent = agent.addTorrent(info);\n\n  await torrent.verifyLocalData();\n  print(torrent.percent() * 100);\n  print(torrent.absentPieces());\n\n  torrent.startAllTrackers();\n  torrent.downloadAll();\n}\n\n```\n\n## BEPs\n\n### Implemented\n\n- [BEP-3](http://bittorrent.org/beps/bep_0003.html)\n- [BEP-12](http://bittorrent.org/beps/bep_0012.html)\n- [BEP-15](http://bittorrent.org/beps/bep_0015.html)\n- [BEP-23](http://bittorrent.org/beps/bep_0023.html)\n\n### Partially implemented\n\n- [BEP-5](http://bittorrent.org/beps/bep_0005.html)\n- [BEP-6](http://bittorrent.org/beps/bep_0006.html)\n\n### Planned\n\n- [BEP-9](http://bittorrent.org/beps/bep_0009.html)\n- [BEP-10](http://bittorrent.org/beps/bep_0010.html)\n- [BEP-11](http://bittorrent.org/beps/bep_0011.html)\n- [BEP-14](http://bittorrent.org/beps/bep_0014.html)\n- [BEP-19](http://bittorrent.org/beps/bep_0019.html)\n- [BEP-29](http://bittorrent.org/beps/bep_0029.html)\n- [Encryption](http://wiki.vuze.com/w/Message_Stream_Encryption)\n\n\n## Roadmap to v0.1\n\n- \u003cinput type=\"checkbox\" /\u003e UPnP\n- \u003cinput type=\"checkbox\" /\u003e NAT-PMP\n\n## Experimental tracker server\n\n*TBD*\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/xtyxtyx/torrent/issues\n\n## Lisence\n\nThe MIT License (MIT)\n\nCopyright (c) 2019 xuty","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtyxtyx%2Ftorrent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtyxtyx%2Ftorrent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtyxtyx%2Ftorrent/lists"}