{"id":13692714,"url":"https://github.com/McRaeAlex/RustySnake","last_synced_at":"2025-05-02T19:32:32.201Z","repository":{"id":116082845,"uuid":"125948681","full_name":"McRaeAlex/RustySnake","owner":"McRaeAlex","description":"A BattleSnake template written in rust","archived":false,"fork":false,"pushed_at":"2021-02-25T05:14:57.000Z","size":48,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-25T23:03:45.770Z","etag":null,"topics":["battlesnake","rest-api","rocket","rocket-rs","rust","webdev"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/McRaeAlex.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}},"created_at":"2018-03-20T02:24:16.000Z","updated_at":"2021-05-12T15:05:25.000Z","dependencies_parsed_at":"2024-04-08T02:27:48.736Z","dependency_job_id":null,"html_url":"https://github.com/McRaeAlex/RustySnake","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/McRaeAlex%2FRustySnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McRaeAlex%2FRustySnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McRaeAlex%2FRustySnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McRaeAlex%2FRustySnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/McRaeAlex","download_url":"https://codeload.github.com/McRaeAlex/RustySnake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252095417,"owners_count":21693912,"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":["battlesnake","rest-api","rocket","rocket-rs","rust","webdev"],"created_at":"2024-08-02T17:01:01.221Z","updated_at":"2025-05-02T19:32:31.898Z","avatar_url":"https://github.com/McRaeAlex.png","language":"Rust","funding_links":[],"categories":["Battlesnakes"],"sub_categories":[],"readme":"# Rusty Snake\n\nRusty is a battle snake built with Rocket, a rust web developement framework.\n\nThe project was recently updated with version 1.0 of battlesnake.\n\n## Note:\n\nIf you just want to use this as the starter snake run this command in the directory.\n\n```\ngit checkout template\n```\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nIn order to use and develope Rusty your going to need a few things:\n\n1. [Rust](https://www.rust-lang.org/en-US/install.html)\n2. [A very basic understanding of the web](https://code.tutsplus.com/tutorials/http-the-protocol-every-web-developer-must-know-part-1--net-31177)\n3. [A understanding of the game this bot is trying to play](https://github.com/sendwithus/battlesnake-server/#readme)\n\n### Installing\n\nOnce your done with the basics copy and paste the command below into your terminal:\n\n```\ngit clone https://github.com/McRaeAlex/RustySnake.git\n```\n\nThen\n\n```\ncd RustySnake\ngit checkout template\ncargo run\n```\nYou should see something like this\n```\nConfigured for development.\n    =\u003e address: localhost\n    =\u003e port: 8000\n    =\u003e log: normal\n    =\u003e workers: 8\n    =\u003e secret key: generated\n    =\u003e limits: forms = 32KiB\n    =\u003e tls: disabled\n🛰  Mounting '/':\n    =\u003e GET /\n    =\u003e POST /start\n🚀  Rocket has launched from http://localhost:8000\n```\nif you don't and it gives you errors saying missing features or something about nightly, run:\n```\nrustup default nightly\n```\nto switch your default toolchain to nightly\n\nto install nightly\n\n```\nrustup install nightly\n```\n\nTo push it to your own repo\n\n```\ngit push -u \u003cyour repo\u003e\n```\n\nAnd your done!\n\n## Running the tests:\n\nUsing the package manager bundled with rust run:\n\n```\ncargo test\n```\n\n## Deployment (TODO)\n\nAdd additional notes about how to deploy this on a live system\n\n## Built With\n\n* [Rust](https://www.rust-lang.org/en-US/install.html) - The programming language used\n* [Rocket](https://rocket.rs/) - The web framework used\n* [Serde](https://serde.rs) - Used to serialize and deserialize json\n\n\n## Contributing\n\nThis is more of a personal project than anything. However if you would like to contribute shoot me a email: alex@alexandermcrae.com \n\n## Authors\n\n* **Alexander McRae** - *Everything so far* - [Alex McRae](http://www.alexandermcrae.com)\n\n## License\n\nMIT License\n\nCopyright (c) 2019 Alexander McRae\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMcRaeAlex%2FRustySnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMcRaeAlex%2FRustySnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMcRaeAlex%2FRustySnake/lists"}