{"id":19713694,"url":"https://github.com/levankhelo/robocode","last_synced_at":"2026-05-05T14:12:31.332Z","repository":{"id":134787007,"uuid":"369660489","full_name":"levankhelo/robocode","owner":"levankhelo","description":"Containerized: Robocode","archived":false,"fork":false,"pushed_at":"2022-04-30T19:06:56.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T14:53:17.615Z","etag":null,"topics":["containerized","containers","docker","docker-image","game","java","robocode","socat"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/levankhelo.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}},"created_at":"2021-05-21T21:45:31.000Z","updated_at":"2022-04-30T19:06:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd4c459c-afff-4949-948a-3c118b5d2030","html_url":"https://github.com/levankhelo/robocode","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/levankhelo%2Frobocode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levankhelo%2Frobocode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levankhelo%2Frobocode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levankhelo%2Frobocode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levankhelo","download_url":"https://codeload.github.com/levankhelo/robocode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241032030,"owners_count":19897406,"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":["containerized","containers","docker","docker-image","game","java","robocode","socat"],"created_at":"2024-11-11T22:24:27.033Z","updated_at":"2026-05-05T14:12:26.313Z","avatar_url":"https://github.com/levankhelo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prerequisites\n\n## MacOS\nWe will need to get `xhost` and `socat` to run GUI display from container\n\n## TL;DR\n```bash\nif ! command -v xquartz \u003e /dev/null; then brew install xquartz;  else echo \"Xquartz already installed\"; fi\n\nif ! command -v socat \u003e /dev/null; then brew install socat; else echo \"SOCAT already installed\"; fi\n\nosascript -e 'tell application \"Terminal\" to do script \"socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\\\\\\\"$DISPLAY\\\\\\\"\"'\n\nexport ROBOCODE_LOCAL_IP=$(ifconfig | grep -Eo 'inet (addr:)?([0-9]*\\.){3}[0-9]*' | grep -Eo '([0-9]*\\.){3}[0-9]*' | grep -v '127.0.0.1')\n\ndocker-compose up --build\n```\n### Install X11\n```bash\nbrew install xquartz;\n```\nAfter installation, Open up *xquartz* using command `xquartz` or icon click, then:   \n`XQUARTZ` \u003e `Preferences` \u003e `Security` \u003e `Allow connections from network clients` \u003e `✅ (check)`\n### Install SOCAT\n```bash\nbrew install socat;\n```\n\n### Run Socat \n```bash\nosascript -e 'tell application \"Terminal\" to do script \"socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\\\"$DISPLAY\\\"\"'\n```\n\n### Configure variables for container\n```bash\nexport ROBOCODE-LOCAL-IP=$(ifconfig | grep -Eo 'inet (addr:)?([0-9]*\\.){3}[0-9]*' | grep -Eo '([0-9]*\\.){3}[0-9]*' | grep -v '127.0.0.1')\n```\n### Build Docker image\nMake sure docker service is running\n```bash\ndocker-compose build\n```\n\n### Run docker image\n```bash\ndocker-compose up\n```\n\n\u003e or `docker-compose up --build`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevankhelo%2Frobocode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevankhelo%2Frobocode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevankhelo%2Frobocode/lists"}