{"id":24313545,"url":"https://github.com/jerryshell/agarust","last_synced_at":"2025-10-27T00:24:44.524Z","repository":{"id":272447080,"uuid":"914134025","full_name":"jerryshell/agarust","owner":"jerryshell","description":"Multiplayer online game powered by Godot 4 and Rust 🤖🦀","archived":false,"fork":false,"pushed_at":"2025-05-17T11:12:31.000Z","size":3175,"stargazers_count":41,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T18:43:16.524Z","etag":null,"topics":["agar","game","game-server","gdscript","godot","godot4","io-game","multiplayer","netcode","proto","protobuf","rust","server","sqlite","tokio","tungstenite","websocket"],"latest_commit_sha":null,"homepage":"https://jerryshell.itch.io/agarust","language":"GDScript","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/jerryshell.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":"2025-01-09T02:25:26.000Z","updated_at":"2025-05-19T03:06:54.000Z","dependencies_parsed_at":"2025-02-07T12:32:49.518Z","dependency_job_id":"10d32fac-f730-4174-8003-b4f25ee6854a","html_url":"https://github.com/jerryshell/agarust","commit_stats":null,"previous_names":["jerryshell/agarust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jerryshell/agarust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fagarust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fagarust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fagarust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fagarust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerryshell","download_url":"https://codeload.github.com/jerryshell/agarust/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fagarust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271173352,"owners_count":24711667,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"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":["agar","game","game-server","gdscript","godot","godot4","io-game","multiplayer","netcode","proto","protobuf","rust","server","sqlite","tokio","tungstenite","websocket"],"created_at":"2025-01-17T09:12:20.939Z","updated_at":"2025-10-27T00:24:42.428Z","avatar_url":"https://github.com/jerryshell.png","language":"GDScript","readme":"# Agarust\n\n_Agarust_ is a server-authoritative real-time multiplayer online game powered by Godot 4 and Rust 🤖🦀 inspired by agar.io\n\nPlay now on itch.io: [jerryshell.itch.io/agarust](https://jerryshell.itch.io/agarust)\n\n- Use the mouse to control the direction of movement\n- Press the left mouse button to sprint\n  - Sprinting drops 20% of your mass\n  - Players with too little mass can't sprint\n- You can only eat another player if the difference in mass is greater than 1.2 times\n- The player's mass will slowly drop over time, the higher the mass, the higher the chance of dropping\n- The formula for converting mass to radius: `Mass = PI * Radius * Radius`\n\n## Tech stack\n\n- Godot 4\n- Rust\n- Protocol Buffers\n- WebScoket\n- SQLite\n\n## Setup server\n\n```bash\ncd server\n```\n\n### Init database\n\n**Note**: You **MUST** initialise the database before you can compile the source code, for more details see: [sqlx - Compile-time verification](https://github.com/launchbadge/sqlx?tab=readme-ov-file#compile-time-verification)\n\n```bash\ncargo install sqlx-cli\n```\n\n```bash\nsqlx migrate run --database-url \"sqlite:agarust_db.sqlite?mode=rwc\"\n```\n\n### Run\n\n```bash\ncargo run\n```\n\n## Setup client\n\nImport the `client` folder using [Godot 4](https://godotengine.org)\n\n### Change server URL\n\nChange `debug_server_url` and `release_server_url` in [client/global/global.gd](client/global/global.gd)\n\n## Credits\n\n- [Godot 4 + Golang MMO Tutorial Series by Tristan Batchler](https://www.tbat.me/projects/godot-golang-mmo-tutorial-series)\n- [Actors with Tokio by Alice Ryhl](https://draft.ryhl.io/blog/actors-with-tokio)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fagarust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerryshell%2Fagarust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fagarust/lists"}