{"id":19281023,"url":"https://github.com/ivan1993spb/snake-lightweight-client","last_synced_at":"2025-04-22T01:30:50.625Z","repository":{"id":34222598,"uuid":"163887463","full_name":"ivan1993spb/snake-lightweight-client","owner":"ivan1993spb","description":"The Snake Lightweight Client 🎮 is a client  for an online version of the famous snake arcade. Written on JS","archived":false,"fork":false,"pushed_at":"2022-12-10T16:54:28.000Z","size":2738,"stargazers_count":13,"open_issues_count":22,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T17:52:39.888Z","etag":null,"topics":["arcade","game","multiplayer","online","snake","vue","websocket"],"latest_commit_sha":null,"homepage":"http://snakeonline.xyz","language":"JavaScript","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/ivan1993spb.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}},"created_at":"2019-01-02T20:41:39.000Z","updated_at":"2023-07-01T22:32:13.000Z","dependencies_parsed_at":"2023-01-15T05:30:49.745Z","dependency_job_id":null,"html_url":"https://github.com/ivan1993spb/snake-lightweight-client","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan1993spb%2Fsnake-lightweight-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan1993spb%2Fsnake-lightweight-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan1993spb%2Fsnake-lightweight-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan1993spb%2Fsnake-lightweight-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivan1993spb","download_url":"https://codeload.github.com/ivan1993spb/snake-lightweight-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250161927,"owners_count":21385010,"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":["arcade","game","multiplayer","online","snake","vue","websocket"],"created_at":"2024-11-09T21:21:26.953Z","updated_at":"2025-04-22T01:30:50.203Z","avatar_url":"https://github.com/ivan1993spb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Snake Lightweight Client\n\n[![Build Status](https://travis-ci.org/ivan1993spb/snake-lightweight-client.svg?branch=master)](https://travis-ci.org/ivan1993spb/snake-lightweight-client) [![GitHub release](https://img.shields.io/github/release/ivan1993spb/snake-lightweight-client.svg)](https://github.com/ivan1993spb/snake-lightweight-client/releases/latest) [![license](https://img.shields.io/github/license/ivan1993spb/snake-lightweight-client.svg)](LICENSE)\n\nThe Snake Lightweight Client is a client for the Snake-Server. See a working instance here - https://snakeonline.xyz\n\nThe source code of the server: https://github.com/ivan1993spb/snake-server\n\n## Demo\n\n[![Client screenshot](demo.gif)](https://snakeonline.xyz)\n\n[Try it out!](https://snakeonline.xyz)\n\n## Project setup\n\n```\nyarn install\n```\n\n### Compiles and hot-reloads for development\n\n```\nyarn run serve\n```\n\nTo disable mocks in development mode use environment variables before `yarn run serve`\n\n```bash\nexport SNAKE_SERVER_ENABLE_MOCK=false\nexport SNAKE_SERVER_PORT=8080\nexport SNAKE_SERVER_HOST=localhost\n```\n\nTo make it work with a https instance of the server:\n\n```bash\nexport SNAKE_SERVER_ENABLE_MOCK=false\nexport SNAKE_SERVER_HOST=localhost\nexport SNAKE_SERVER_WEB_SCHEME=https\nexport SNAKE_SERVER_SOCKET_SCHEME=wss\nexport SNAKE_SERVER_PORT=443\n```\n\n### Compiles and minifies for production\n\n```\nyarn run build\n```\n\n### Run your tests\n\n```\nyarn run test\n```\n\n### Lints and fixes files\n\n```\nyarn run lint\n```\n\n### Run your unit tests\n\n```\nyarn run test:unit\n```\n\n## License\n\nSee [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan1993spb%2Fsnake-lightweight-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivan1993spb%2Fsnake-lightweight-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan1993spb%2Fsnake-lightweight-client/lists"}