{"id":41923937,"url":"https://github.com/tlgs/protohackers","last_synced_at":"2026-01-25T17:06:37.259Z","repository":{"id":61623363,"uuid":"534787982","full_name":"tlgs/protohackers","owner":"tlgs","description":"solutions to the Protohackers server programming challenges","archived":false,"fork":false,"pushed_at":"2022-11-01T19:17:18.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T01:55:25.027Z","etag":null,"topics":["challenges","go","network","protohackers"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tlgs.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}},"created_at":"2022-09-09T19:59:27.000Z","updated_at":"2024-02-16T12:17:38.000Z","dependencies_parsed_at":"2022-10-18T18:00:22.465Z","dependency_job_id":null,"html_url":"https://github.com/tlgs/protohackers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tlgs/protohackers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlgs%2Fprotohackers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlgs%2Fprotohackers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlgs%2Fprotohackers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlgs%2Fprotohackers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tlgs","download_url":"https://codeload.github.com/tlgs/protohackers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlgs%2Fprotohackers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28755563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"last_error":"SSL_read: 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":["challenges","go","network","protohackers"],"created_at":"2026-01-25T17:06:37.043Z","updated_at":"2026-01-25T17:06:37.247Z","avatar_url":"https://github.com/tlgs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# protohackers\n\nSolutions to the [Protohackers](https://protohackers.com/) server programming challenges:\n\n0. [Smoke Test](cmd/smoke-test/main.go) -\n   Echo service from [RFC 862](https://www.rfc-editor.org/rfc/rfc862.html) (TCP).\n1. [Prime Time](cmd/prime-time/main.go) -\n   Primality testing service using a JSON-based response-request protocol (TCP).\n2. [Means to an End](cmd/means-to-an-end/main.go) -\n   Asset price tracking service using a binary message format (TCP).\n3. [Budget Chat](cmd/budget-chat/main.go) -\n   Simple chat room (TCP).\n4. [Unusual Database Program](cmd/unusual-database-program/main.go) -\n   Key-value store (UDP).\n5. [Mob in the Middle](cmd/mob-in-the-middle/main.go) -\n   Man-in-the-middle attack on _Budget Chat_ (TCP).\n\n## Setup\n\n```console\n$ mkdir -p bin\n$ go build -o bin ./...\n```\n\n## Deployment\n\nThe server is deployed/hosted on AWS: see the\n[CloudFormation template](internal/deploy/cfn.yaml).\nAdditionally, a useful collection of tiny Bash scripts\nis defined in `internal/deploy`.\n\nI typically use [direnv](https://github.com/direnv/direnv) to automatically set\nproject-relevant environment variables and add helper utilities to PATH.\nMy `.envrc` looks something like:\n\n```bash\nexport AWS_ACCESS_KEY_ID=\nexport AWS_SECRET_ACCESS_KEY=\nexport AWS_DEFAULT_REGION=\n\nexport EC2_KEYNAME=\nexport CHECKER_ADDR=\n\nPATH_add internal/deploy\nPATH_add bin\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlgs%2Fprotohackers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftlgs%2Fprotohackers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlgs%2Fprotohackers/lists"}