{"id":15355504,"url":"https://github.com/mattipv4/battlesnake","last_synced_at":"2026-01-23T02:20:13.498Z","repository":{"id":98591806,"uuid":"448391810","full_name":"MattIPv4/battlesnake","owner":"MattIPv4","description":"This is my bad attempt at implementing my own Battlesnake.","archived":false,"fork":false,"pushed_at":"2022-02-22T21:48:30.000Z","size":61,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T22:30:36.574Z","etag":null,"topics":["battlesnake","cloudflare-worker","cloudflare-workers","javascript","webpack"],"latest_commit_sha":null,"homepage":"https://play.battlesnake.com/u/mattipv4/mattipv6/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MattIPv4.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":"2022-01-15T21:10:44.000Z","updated_at":"2022-07-12T06:38:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3b9e372-709f-4041-8e3c-4060867cc8d4","html_url":"https://github.com/MattIPv4/battlesnake","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"81da53075f5f0ac52bdd02aabbd4a13d535413f0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MattIPv4/battlesnake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattIPv4%2Fbattlesnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattIPv4%2Fbattlesnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattIPv4%2Fbattlesnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattIPv4%2Fbattlesnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MattIPv4","download_url":"https://codeload.github.com/MattIPv4/battlesnake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattIPv4%2Fbattlesnake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28678047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"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":["battlesnake","cloudflare-worker","cloudflare-workers","javascript","webpack"],"created_at":"2024-10-01T12:24:37.792Z","updated_at":"2026-01-23T02:20:13.460Z","avatar_url":"https://github.com/MattIPv4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# battlesnake\n\n:wave: This is my bad attempt at implementing my own [Battlesnake](https://play.battlesnake.com/).\n\nIt is built as a [Cloudflare Worker](https://workers.cloudflare.com/), and the production version is\naccessible in Battlesnake as [MattIPv6](https://play.battlesnake.com/u/mattipv4/mattipv6/).\n\n## Development\n\nAs this is built as a Cloudflare Worker, you will be using the `wrangler` CLI to run it locally, as\nwell as to deploy it to production. Aliases for the key commands have been added as NPM scripts:\n\n- To build the Battlesnake locally, with change watching, run `npm run dev`. This will start\n  `wrangler` and use the Webpack config to build the Battlesnake worker, and then run it as a\n  locally accessible web server.\n\n- To make the local Battlesnake accessible for testing, you can use any tunnel service. I prefer to\n  use [cloudflared](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/trycloudflare)\n  and an NPM script is available to spawn one if you have the CLI installed: `npm run tunnel`.\n\n- Finally, to build and deploy the Battlesnake to production (accessible via workers.dev), run the\n  NPM script `npm run publish`.\n\n## License\n\nThis project is licensed under the [Apache 2.0](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattipv4%2Fbattlesnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattipv4%2Fbattlesnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattipv4%2Fbattlesnake/lists"}