{"id":20190856,"url":"https://github.com/imbios/codecrafters-bittorrent-zig","last_synced_at":"2026-06-12T07:31:46.888Z","repository":{"id":206816890,"uuid":"717711064","full_name":"ImBIOS/codecrafters-bittorrent-zig","owner":"ImBIOS","description":"\"Build Your Own BitTorrent\" Challenge.","archived":false,"fork":false,"pushed_at":"2023-11-12T14:29:51.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T07:31:44.580Z","etag":null,"topics":["bittorrent","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/ImBIOS.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}},"created_at":"2023-11-12T10:47:02.000Z","updated_at":"2023-11-12T14:29:24.000Z","dependencies_parsed_at":"2023-11-12T16:01:35.359Z","dependency_job_id":null,"html_url":"https://github.com/ImBIOS/codecrafters-bittorrent-zig","commit_stats":null,"previous_names":["imbios/codecrafters-bittorrent-zig"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ImBIOS/codecrafters-bittorrent-zig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImBIOS%2Fcodecrafters-bittorrent-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImBIOS%2Fcodecrafters-bittorrent-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImBIOS%2Fcodecrafters-bittorrent-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImBIOS%2Fcodecrafters-bittorrent-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImBIOS","download_url":"https://codeload.github.com/ImBIOS/codecrafters-bittorrent-zig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImBIOS%2Fcodecrafters-bittorrent-zig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34234557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":["bittorrent","zig","ziglang"],"created_at":"2024-11-14T03:46:53.633Z","updated_at":"2026-06-12T07:31:46.850Z","avatar_url":"https://github.com/ImBIOS.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![progress-banner](https://backend.codecrafters.io/progress/bittorrent/c90725f4-eba3-466c-8667-7572072f4e71)](https://app.codecrafters.io/users/codecrafters-bot?r=2qF)\n\nThis is a starting point for Zig solutions to the\n[\"Build Your Own BitTorrent\" Challenge](https://app.codecrafters.io/courses/bittorrent/overview).\n\nIn this challenge, you’ll build a BitTorrent client that's capable of parsing a\n.torrent file and downloading a file from a peer. Along the way, we’ll learn\nabout how torrent files are structured, HTTP trackers, BitTorrent’s Peer\nProtocol, pipelining and more.\n\n**Note**: If you're viewing this repo on GitHub, head over to\n[codecrafters.io](https://codecrafters.io) to try the challenge.\n\n# Passing the first stage\n\nThe entry point for your BitTorrent implementation is in `app/main.zig`. Study\nand uncomment the relevant code, and push your changes to pass the first stage:\n\n```sh\ngit add .\ngit commit -m \"pass 1st stage\" # any msg\ngit push origin master\n```\n\nTime to move on to the next stage!\n\n# Stage 2 \u0026 beyond\n\nNote: This section is for stages 2 and beyond.\n\n1. Ensure you have `zig (0.11)` installed locally\n1. Run `./your_bittorrent.sh` to run your program, which is implemented in\n   `app/main.zig`.\n1. Commit your changes and run `git push origin master` to submit your solution\n   to CodeCrafters. Test output will be streamed to your terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbios%2Fcodecrafters-bittorrent-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimbios%2Fcodecrafters-bittorrent-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbios%2Fcodecrafters-bittorrent-zig/lists"}