{"id":17693626,"url":"https://github.com/dom96/snake","last_synced_at":"2025-04-13T21:14:06.326Z","repository":{"id":45214374,"uuid":"85505599","full_name":"dom96/snake","owner":"dom96","description":"A little snake game in Nim","archived":false,"fork":false,"pushed_at":"2018-12-27T19:56:21.000Z","size":123,"stargazers_count":216,"open_issues_count":6,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-13T21:14:02.994Z","etag":null,"topics":["2d","canvas","javascript","multiplayer"],"latest_commit_sha":null,"homepage":"http://picheta.me/snake/","language":"Nim","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/dom96.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-19T20:15:19.000Z","updated_at":"2025-04-11T10:27:42.000Z","dependencies_parsed_at":"2022-09-24T10:01:10.261Z","dependency_job_id":null,"html_url":"https://github.com/dom96/snake","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dom96%2Fsnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dom96%2Fsnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dom96%2Fsnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dom96%2Fsnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dom96","download_url":"https://codeload.github.com/dom96/snake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782260,"owners_count":21160717,"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":["2d","canvas","javascript","multiplayer"],"created_at":"2024-10-24T13:46:04.497Z","updated_at":"2025-04-13T21:14:06.300Z","avatar_url":"https://github.com/dom96.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake\n\nA Snake game written in Nim targetting JavaScript in a web browser:\nhttp://picheta.me/snake/.\n\n## Systemd setup\n\nCreate a ``snake.service`` file in ``/lib/systemd/system/`` (or any of the other locations described [here](https://askubuntu.com/questions/876733/where-are-the-systemd-units-services-located-in-ubuntu)), put this in it:\n\n```systemd\n[Unit]\nDescription=snake\nAfter=network.target httpd.service\nWants=network-online.target\n\n[Service]\nEnvironment=IPSTACK_KEY=\u003cYOUR_IPSTACK_KEY_HERE\u003e\nType=simple\nWorkingDirectory=/home/user/dev/snake/\nExecStart=/usr/bin/stdbuf -oL /home/user/dev/snake/snake/server\nRestart=always\nRestartSec=2\n\nUser=dom\n\n[Install]\nWantedBy=multi-user.target\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdom96%2Fsnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdom96%2Fsnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdom96%2Fsnake/lists"}