{"id":16255626,"url":"https://github.com/grena/kork","last_synced_at":"2026-02-28T13:05:55.432Z","repository":{"id":75572972,"uuid":"111218156","full_name":"grena/kork","owner":"grena","description":":rocket: :star: Captain Kork - The Survival Cooperative Web Browser Game","archived":false,"fork":false,"pushed_at":"2019-02-21T17:05:44.000Z","size":1717,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T19:58:21.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grena.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-11-18T15:53:59.000Z","updated_at":"2019-03-30T19:09:12.000Z","dependencies_parsed_at":"2023-06-06T23:00:28.806Z","dependency_job_id":null,"html_url":"https://github.com/grena/kork","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/grena/kork","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grena%2Fkork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grena%2Fkork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grena%2Fkork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grena%2Fkork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grena","download_url":"https://codeload.github.com/grena/kork/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grena%2Fkork/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29934976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:00:17.143Z","status":"ssl_error","status_checked_at":"2026-02-28T12:59:13.669Z","response_time":90,"last_error":"SSL_read: 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":[],"created_at":"2024-10-10T15:43:29.696Z","updated_at":"2026-02-28T13:05:55.397Z","avatar_url":"https://github.com/grena.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Captain Kork\n[![CircleCI](https://circleci.com/gh/grena/kork.svg?style=svg\u0026circle-token=dc532632b2b44cc3bcf847ffcff731b7804c930e)](https://circleci.com/gh/grena/kork)\n\n**Captain Kork is a survival \u0026 cooperative web based game.**\nBased on a not-so-serious Sci-Fi universe, players will have to cooperate (but not that much), and try to survive as many days as possible.\n\n## Requirements\n\n- PHP \u003e= 7.2\n- MySQL 5.7\n- Composer\n\n## Installation\n\n#### 1) Clone this repository:\n```bash\ngit@github.com:grena/kork.git\n```\n\n#### 2) Install Composer dependencies\n```bash\ncomposer install\n```\n\n#### 3) Setup your MySQL database\n```apacheconfig\nmysql -u root -p\n\n    CREATE DATABASE kork;\n    GRANT ALL PRIVILEGES ON kork.* TO kork_user@localhost IDENTIFIED BY 'kork_passw0rd';\n    EXIT;\n```\n\n#### 4) Create the application database schema\n```\nphp bin/console doctrine:schema:update --force\nphp bin/console kork:schema:create --force\n```\n\n## Configuration\n\n### Setup GitHub oAuth login\n1. Create a GitHub application with your GitHub account by following this link: https://github.com/settings/developers\n2. Fill in needed informations. **Homepage URL** \u0026 **Authorization callback URL** should have the same URL, which is the Kork index page (eg. `http://kork.example.com/`)\n3. Once the application created, put your **Client ID** \u0026 **Client Secret** tokens in the `.env` at the root of the app:\n```\n# ./.env\nGITHUB_ID=123456789\nGITHUB_SECRET=abcdef123456789\n```\n\n## Tests\nTo run the tests locally, run `./run_tests.sh`\n\nKork tries to follow the Hexagonal pattern and uses this kind of tests:\n- **Unit tests** - _Ensure each class is working as it should behave_\n- **Acceptance tests** - _Ensure all classes are working together as they should_\n- **Integration tests** - _Ensure classes that interact with infrastructure (Database, File, HTTP...) are doing it well_\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrena%2Fkork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrena%2Fkork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrena%2Fkork/lists"}