{"id":19472132,"url":"https://github.com/psykulsk/shnake","last_synced_at":"2026-02-07T17:31:20.560Z","repository":{"id":122591688,"uuid":"247383270","full_name":"psykulsk/shnake","owner":"psykulsk","description":"Simple snake game in bash","archived":false,"fork":false,"pushed_at":"2024-10-17T18:34:04.000Z","size":938,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T07:19:22.168Z","etag":null,"topics":["bash","bash-game","bash-script","bash-scripting","game","shell","shell-script","snake","snake-game","snakegame","terminal-game"],"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/psykulsk.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":"2020-03-15T01:46:30.000Z","updated_at":"2024-10-17T18:34:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"05d5edc1-afa4-440f-a07f-0c28fb3c0379","html_url":"https://github.com/psykulsk/shnake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/psykulsk/shnake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Fshnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Fshnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Fshnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Fshnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psykulsk","download_url":"https://codeload.github.com/psykulsk/shnake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Fshnake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29201073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","bash-game","bash-script","bash-scripting","game","shell","shell-script","snake","snake-game","snakegame","terminal-game"],"created_at":"2024-11-10T19:13:00.639Z","updated_at":"2026-02-07T17:31:20.554Z","avatar_url":"https://github.com/psykulsk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shnake\n\nFeeling your eyelids droop during that never-ending meeting? Or maybe you're on your server, bored out of your mind?\n\nShnake is here for you!\n\n```\ncurl https://raw.githubusercontent.com/psykulsk/shnake/master/shnake.sh -o shnake.sh \u0026\u0026 \\\nbash shnake.sh\n```\n\n```\nusage: shnake.sh [-c cols ] [-r rows] [-s speed]\n  -h display help\n  -c cols specify game area cols. Make sure it's not higher then the actual terminal's width. \n  -r rows specify game area rows. Make sure it's not higher then the actual terminal's height.\n  -s speed specify snake speed. Value from 1-10.\n  Exitting with Ctrl-C automatically cleans the terminal.\n```\n\nRequires `bash --version` \u003e= 4.0. **Warning**, MacOS is distributed with bash 3 by default. Check the [instructions](#upgrading-bash-on-macos) on how to upgrade it.\n\n### Other bash games\n* [tetri.sh](https://github.com/psykulsk/tetri.sh)\n\n### Demo\n![](demo.gif)\n\n### Upgrading bash on MacOS\n\n* Install a new version of bash using brew: `brew install bash`\n* Add `/opt/homebrew/bin/bash` to  `/etc/shells`\n* Set is as default with `chsh -s /usr/local/bin/bash`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsykulsk%2Fshnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsykulsk%2Fshnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsykulsk%2Fshnake/lists"}