{"id":29095852,"url":"https://github.com/ashish0kumar/snake.nvim","last_synced_at":"2025-10-14T13:06:52.381Z","repository":{"id":300777724,"uuid":"1007093691","full_name":"ashish0kumar/snake.nvim","owner":"ashish0kumar","description":"🐍 Snake game plugin for Neovim to practice Vim motions","archived":false,"fork":false,"pushed_at":"2025-06-23T14:57:08.000Z","size":484,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-23T15:31:42.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","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/ashish0kumar.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-06-23T13:02:11.000Z","updated_at":"2025-06-23T15:30:19.000Z","dependencies_parsed_at":"2025-06-23T15:44:25.654Z","dependency_job_id":null,"html_url":"https://github.com/ashish0kumar/snake.nvim","commit_stats":null,"previous_names":["ashish0kumar/snake.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashish0kumar/snake.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fsnake.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fsnake.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fsnake.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fsnake.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashish0kumar","download_url":"https://codeload.github.com/ashish0kumar/snake.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fsnake.nvim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262424258,"owners_count":23309107,"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":[],"created_at":"2025-06-28T11:37:02.825Z","updated_at":"2025-10-14T13:06:52.376Z","avatar_url":"https://github.com/ashish0kumar.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003esnake.nvim\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nMinimal ASCII snake game for Neovim to train your \u003ccode\u003ehjkl\u003c/code\u003e motions and mode switching muscle memory\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"assets/snake.gif\" width=\"80%\" /\u003e\n\u003c/div\u003e\n\n## Features\n\n- **`hjkl` movement** - Practice Vim motions\n- **Modal gameplay** - Switch between normal and insert mode to eat food\n- **ASCII graphics** - Minimal, distraction-free visuals\n- **Lightweight** - Zero dependencies, pure Lua\n\n## How to Play\n\n1. Use `hjkl` keys to move the snake (normal mode only)\n2. Navigate to food (`*`) and press `i` to enter insert mode\n3. Eat the food while in insert mode to grow\n4. Press `Esc` to return to normal mode and continue moving\n5. Avoid hitting yourself - Game over!\n\n## Installation\n\n### lazy.nvim\n\n```lua\n{\n    'ashish0kumar/snake.nvim',\n    cmd = 'Snake',\n    config = function()\n    require('snake').setup()\n    end\n}\n```\n\n### packer.nvim\n\n```lua\nuse {\n    'ashish0kumar/snake.nvim',\n    cmd = 'Snake',\n    config = function()\n    require('snake').setup()\n    end\n}\n```\n\n### vim-plug\n\n```\nPlug 'ashish0kumar/snake.nvim'\n```\n\n\n## Usage\n\nStart the game with:\n\n```\n:Snake\n```\n\n## Controls\n\n| Key | Action |\n|-----|--------|\n| `h` `j` `k` `l` | Move snake (normal mode only) |\n| `i` | Enter insert mode to eat food |\n| `Esc` | Return to normal mode |\n| `q` | Quit game |\n| `r` | Restart game (when game over) |\n\n## Contributing\n\nFeel free to open issues or submit pull requests!\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n        \u003ci\u003e\u003ccode\u003e\u0026copy 2025-present \u003ca href=\"https://github.com/ashish0kumar\"\u003eAshish Kumar\u003c/a\u003e\u003c/code\u003e\u003c/i\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://github.com/ashish0kumar/snake.nvim/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/ashish0kumar/snake.nvim?style=for-the-badge\u0026color=CBA6F7\u0026logoColor=cdd6f4\u0026labelColor=302D41\" alt=\"LICENSE\"\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashish0kumar%2Fsnake.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashish0kumar%2Fsnake.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashish0kumar%2Fsnake.nvim/lists"}