{"id":19204615,"url":"https://github.com/openttd/game-coordinator","last_synced_at":"2025-10-27T08:12:29.323Z","repository":{"id":37835487,"uuid":"382691934","full_name":"OpenTTD/game-coordinator","owner":"OpenTTD","description":"Game Coordinator, to coordinate network games for OpenTTD","archived":false,"fork":false,"pushed_at":"2025-04-01T22:08:50.000Z","size":196,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-20T14:42:57.047Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenTTD.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-07-03T19:08:54.000Z","updated_at":"2025-02-15T11:50:27.000Z","dependencies_parsed_at":"2024-01-04T10:28:37.881Z","dependency_job_id":"2d4e06a6-6f4a-4a71-bfd2-bda22156e007","html_url":"https://github.com/OpenTTD/game-coordinator","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2Fgame-coordinator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2Fgame-coordinator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2Fgame-coordinator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2Fgame-coordinator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenTTD","download_url":"https://codeload.github.com/OpenTTD/game-coordinator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253773735,"owners_count":21962191,"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-11-09T13:08:55.973Z","updated_at":"2025-10-27T08:12:29.240Z","avatar_url":"https://github.com/OpenTTD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Game Coordinator\n\n[![GitHub License](https://img.shields.io/github/license/OpenTTD/game-coordinator)](https://github.com/OpenTTD/game-coordinator/blob/main/LICENSE)\n\nThis is the Game Coordinator / STUN server to assist in OpenTTD players to play together.\n\n## Development\n\nThis server is written in Python 3.11 with aiohttp, and makes strong use of asyncio.\n\n### Running a local server\n\n#### Dependencies\n\n- Python3.11 or higher.\n- Redis\n\n#### Preparing your venv\n\nTo start it, you are advised to first create a virtualenv:\n\n```bash\npython3 -m venv .env\n.env/bin/pip install -r requirements.txt\n```\n\n#### Preparing redis\n\nMake sure you have a local redis running. For example via Docker:\n\n```bash\ndocker run --rm -p 6379:6379 redis\n```\n\n#### Starting a local server (Game Coordinator)\n\nYou can start the Game Coordinator server by running:\n\n```bash\n.env/bin/python -m game_coordinator --db redis --app coordinator --shared-secret test --web-port 12345\n```\n\n#### Starting a local server (STUN Server)\n\nYou can start the STUN server by running:\n\n```bash\n.env/bin/python -m game_coordinator --db redis --app stun --web-port 12346\n```\n\n### Running via docker (Game Coordinator)\n\n```bash\ndocker build -t openttd/game-coordinator:local .\ndocker run --rm -p 127.0.0.1:3976:3976 openttd/game-coordinator:local\n```\n\n### Running via docker (STUN server)\n\n```bash\ndocker build -t openttd/game-coordinator:local .\ndocker run --rm -p 127.0.0.1:3975:3975 openttd/game-coordinator:local --app stun --bind 0.0.0.0 --db redis --redis-url redis://redis\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenttd%2Fgame-coordinator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenttd%2Fgame-coordinator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenttd%2Fgame-coordinator/lists"}