{"id":20603921,"url":"https://github.com/troygoode/shintolin","last_synced_at":"2025-04-15T02:07:47.290Z","repository":{"id":6356647,"uuid":"7593646","full_name":"troygoode/shintolin","owner":"troygoode","description":"A persistent multiplayer browser game, set in the stone age.","archived":false,"fork":false,"pushed_at":"2022-12-10T17:34:09.000Z","size":3353,"stargazers_count":4,"open_issues_count":17,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-15T02:07:40.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.shintolin.com","language":"CoffeeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/troygoode.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":"SECURITY.md","support":null}},"created_at":"2013-01-13T21:15:07.000Z","updated_at":"2023-10-28T07:40:28.000Z","dependencies_parsed_at":"2023-01-11T17:02:31.665Z","dependency_job_id":null,"html_url":"https://github.com/troygoode/shintolin","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/troygoode%2Fshintolin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troygoode%2Fshintolin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troygoode%2Fshintolin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troygoode%2Fshintolin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/troygoode","download_url":"https://codeload.github.com/troygoode/shintolin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991543,"owners_count":21194894,"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":"2024-11-16T09:19:26.741Z","updated_at":"2025-04-15T02:07:47.262Z","avatar_url":"https://github.com/troygoode.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shintolin\n\nA node.js port of [Isaac Lewis' Ruby version of Shintolin](https://github.com/IsaacLewis/Shintolin) - a persistent multiplayer browser game, set in the stone age.\n\n## Running Locally (Docker Compose)\n\n* Download the code via [git](http://git-scm.com/): `git clone https://github.com/troygoode/shintolin`\n* Install [docker](https://www.docker.com/)\n\n```bash\n# on host\ndocker-compose up shintolin3-mongo # start mongo in background\ndocker-compose run shintolin3-mongo bash # bash into mongo server\n\n# TODO: describe how to bootstrap new database\n\n# within mongo container\nDIR=/host/... # tab complete the path to the Heroku mongo backup\nmongorestore --db heroku_8xb5fctf $DIR\nexit\n\n# back on host\nnpm install\nnpm start\n```\n\n## Deploying to Heroku\n\n* Create an account on [Heroku.com](http://heroku.com/)\n* Install the [Heroku Toolbelt](https://toolbelt.heroku.com/)\n* From the Shintolin directory, create a new Heroku app: `$ heroku create`\n* Add the [MongoLab add-on](https://addons.heroku.com/mongolab): `$ heroku addons:add mongolab`\n* Add the [Heroku Scheduler add-on](https://addons.heroku.com/scheduler): `$ heroku addons:add scheduler:standard`\n* Open the Heroku Scheduler configuration screen: `$ heroku addons:open scheduler`\n  * Add an hourly task that runs at `:00`, pointing to: `$ ./bin/tick_ap/_tick`\n  * Add a daily task that runs at `00:00`, pointing to: `$ ./bin/tick_day/_tick`\n  * Add three more daily tasks that run at `00:00`, `08:00`, and `16:00` - each pointing to: `$ ./bin/tick_hunger/_tick`\n* Turn on production mode: `heroku config:add NODE_ENV=production`\n* Use a safe session secret: `heroku config:add SESSION_SECRET=\u003cYOUR_SECRET_HERE\u003e`\n* Push your code to Heroku: `git push heroku master`\n* Start your free instance: `heroku ps:scale web=1`\n* Log in to your game: `heroku open`\n\n## License\n\nShintolin: a persistent multiplayer browser game, set in the stone age.\nCopyright (C) 2013 Troy Goode\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program.  If not, see [\u003chttp://www.gnu.org/licenses/\u003e](http://www.gnu.org/licenses/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroygoode%2Fshintolin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftroygoode%2Fshintolin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroygoode%2Fshintolin/lists"}