{"id":17933630,"url":"https://github.com/keyan/bittorrent","last_synced_at":"2025-04-03T11:24:18.211Z","repository":{"id":87742651,"uuid":"189546758","full_name":"keyan/bittorrent","owner":"keyan","description":"[wip]","archived":false,"fork":false,"pushed_at":"2021-12-17T01:42:05.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T00:42:59.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keyan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-31T07:16:04.000Z","updated_at":"2021-12-17T01:42:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7b1ce6a-e720-42a1-ab00-7373169861f3","html_url":"https://github.com/keyan/bittorrent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyan%2Fbittorrent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyan%2Fbittorrent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyan%2Fbittorrent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyan%2Fbittorrent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keyan","download_url":"https://codeload.github.com/keyan/bittorrent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246990653,"owners_count":20865511,"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":[],"created_at":"2024-10-28T21:41:00.029Z","updated_at":"2025-04-03T11:24:18.158Z","avatar_url":"https://github.com/keyan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bittorrent\n\nThe perennial favorite programming pastime of yore.\n\n## Usage\n\n```\n$ go build\n\n$ ./bittorrent [torrent_file.torrent]\n```\n\nIf no torrent file is provided then the default test file will be used, which is for the latest Debian ISO.\n\n## Background\n\nImplementation follows the [original BitTorrent spec][og_spec] and the [unofficial spec][other_spec] which has more details relevant for implementation.\n\n## Notes\n\n- Do requests to the tracker need to be truthful? Can we lie about how much we have downloaded/uploaded?\n    - No there doesn't seem to be a way to enforce honesty. More details about exploits and dishonesty in the protocol are covered [here][blackhat]\n\n## TODO\n\n- Would be interesting to implement an algorithm from the economics of BitTorrent paper: http://bittorrent.org/bittorrentecon.pdf\n\n[og_spec]: http://bittorrent.org/beps/bep_0003.html\n[other_spec]: https://wiki.theory.org/index.php/BitTorrentSpecification\n[blackhat]: https://www.blackhat.com/presentations/bh-usa-09/BROOKS/BHUSA09-Brooks-BitTorrHacks-PAPER.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyan%2Fbittorrent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeyan%2Fbittorrent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyan%2Fbittorrent/lists"}