{"id":14964082,"url":"https://github.com/pleft/gsp","last_synced_at":"2025-06-23T08:35:59.356Z","repository":{"id":75633690,"uuid":"144854853","full_name":"pleft/GSP","owner":"pleft","description":"Central repository for GSPLauncher and GSPGames","archived":false,"fork":false,"pushed_at":"2019-12-26T12:40:56.000Z","size":18174,"stargazers_count":15,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T05:33:37.729Z","etag":null,"topics":["gameshell","javascript","nwjs","phaser-ce","phaserjs"],"latest_commit_sha":null,"homepage":null,"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/pleft.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}},"created_at":"2018-08-15T13:12:49.000Z","updated_at":"2023-03-09T09:55:37.000Z","dependencies_parsed_at":"2023-06-07T04:30:17.948Z","dependency_job_id":null,"html_url":"https://github.com/pleft/GSP","commit_stats":{"total_commits":36,"total_committers":4,"mean_commits":9.0,"dds":0.08333333333333337,"last_synced_commit":"beb880add5b65f6770252344b110f4911344f45f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2FGSP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2FGSP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2FGSP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2FGSP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pleft","download_url":"https://codeload.github.com/pleft/GSP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238075316,"owners_count":19412310,"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":["gameshell","javascript","nwjs","phaser-ce","phaserjs"],"created_at":"2024-09-24T13:32:33.451Z","updated_at":"2025-02-10T07:31:12.248Z","avatar_url":"https://github.com/pleft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GSP: GameShell-Phaser\n![alt text](GSPGames/breakout/thumbnail.png \"Breakout\") ![alt text](GSPGames/defender/thumbnail.png \"Defender\") ![alt text](GSPGames/invaders/thumbnail.png \"Invaders\") ![alt text](GSPGames/mario/thumbnail.png \"Infinite Mario\") ![alt text](GSPGames/pacman/thumbnail.png \"Pacman\")\n\nCentral repository for [GSPLauncher](GSPLauncher/README.md), [GSPGames](GSPGames/README.md).\n\n## Installation\n\n1. Login via `ssh` to GameShell\n2. Clone this repository in `/home/cpi`\n   ```bash\n    git clone https://github.com/pleft/GSP.git\n   ```\n3. `cd` into the `GSP/` directory and run:\n   ```bash\n    chmod +x gsp-installer.sh gsp-updater.sh\n    ```\n    and then\n    ```bash\n    ./gsp-installer.sh\n    ```\n4. If no errors appear, reboot GameShell and start the launcher by selecting the \n\n    ![alt text](./common/GSPLauncher.png) menu item.\n\n## Updating\n\nTo update to the latest GSP code, simply perform a `git pull` on the `master` branch. For those who are not familiar with `git`, just execute `./gsp-updater.sh` script found inside the `GSP/` direcrory from `ssh`. Just have in mind that any **local changes** will be **lost**.\n\n## Miscellaneous\n\n### Debugging\nThe shortcut script has been updated to expose the `nwjs` debugging port (9222). This can be usefull to troubleshoot problems and also to help developing on the actual GameShell. To access the debugger all is needed is `Google Chrome` to open a `url` in the form `http://GAMESHELL_IP:9222` and Chrome's developing tools will fire up. **However** it is not so easy since the GameShell's OS does not expose port 9222 to the public. So here comes `ssh` to the rescue. More specifically an `ssh tunneling` is needed. It is very simple, from the **host** computer open a terminal and type:\n\n```bash\nssh -L 9090:localhost:9222 cpi@GAMESHELL_IP\n```\n\nwhere `GAMESHELL_IP` is the ip assigned to GameShell e.g. `192.168.1.100`. Then the terminal will ask for credentials and upon giving the correct, on the **host** computer fire up Chrome and enter the following url: `http://localhost:9090`. Data on GameShell's port `9222` are transfered through `ssh` to the host's local port `9090`. Happy Debugging!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleft%2Fgsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpleft%2Fgsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleft%2Fgsp/lists"}