{"id":13712689,"url":"https://github.com/grayhatdevelopers/create-multiplayer-game","last_synced_at":"2025-04-12T02:38:31.467Z","repository":{"id":218597986,"uuid":"746322553","full_name":"grayhatdevelopers/create-multiplayer-game","owner":"grayhatdevelopers","description":"Create a multiplayer web game in React, in seconds 👾🚀","archived":false,"fork":false,"pushed_at":"2024-07-19T17:28:14.000Z","size":128,"stargazers_count":13,"open_issues_count":3,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-12T02:38:26.608Z","etag":null,"topics":["game","game-development","gaming","javascript","multiplayer","multiplayer-game","nodejs","playroom","playroom-kit","playroomkit","web","web-game"],"latest_commit_sha":null,"homepage":"https://grayhat.studio/games/pricing","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grayhatdevelopers.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":"2024-01-21T18:10:55.000Z","updated_at":"2025-04-05T07:24:56.000Z","dependencies_parsed_at":"2024-01-23T00:05:50.344Z","dependency_job_id":"a594b5a6-9110-4e30-a5c8-91a60e230018","html_url":"https://github.com/grayhatdevelopers/create-multiplayer-game","commit_stats":null,"previous_names":["grayhatdevelopers/create-web-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grayhatdevelopers%2Fcreate-multiplayer-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grayhatdevelopers%2Fcreate-multiplayer-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grayhatdevelopers%2Fcreate-multiplayer-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grayhatdevelopers%2Fcreate-multiplayer-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grayhatdevelopers","download_url":"https://codeload.github.com/grayhatdevelopers/create-multiplayer-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507143,"owners_count":21115543,"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":["game","game-development","gaming","javascript","multiplayer","multiplayer-game","nodejs","playroom","playroom-kit","playroomkit","web","web-game"],"created_at":"2024-08-02T23:01:21.465Z","updated_at":"2025-04-12T02:38:31.447Z","avatar_url":"https://github.com/grayhatdevelopers.png","language":"JavaScript","funding_links":[],"categories":["Tooling"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://i.imgur.com/QbZxbgX.png\" width=\"100%\" style=\"border-radius: 12px\"\u003e\n\u003c/div\u003e\n\n# create-multiplayer-game \u003ca href=\"https://npmjs.com/package/create-multiplayer-game\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/create-multiplayer-game\" alt=\"npm package\"\u003e\u003c/a\u003e\n\n\u003e ℹ️ This is a work-in-progress. Star (⭐) this repo to follow updates.\n\nThe web game framework which gets out of your way, and gives you control. Build games in days, not weeks!\n\n## Use cases\n- You can use it as a base for a fresh project\n- As a wrapper for an existing game (e.g. to add start/end screens, to make your game a PWA)\n- To quickly test out some logic in a multiplayer scenario\n\n## Scaffolding Your First Web Game Project\n\n\u003e **Compatibility Note:**\n\u003e create-multiplayer-game requires [Node.js](https://nodejs.org/en/) version 21+.\n\nWith NPM:\n\n```bash\nnpx create-multiplayer-game@latest\n```\n\nThen follow the prompts!\n\nYou can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + React project, you can run:\n\n```bash\nnpx create-multiplayer-game@latest my-awesome-game --template vite-react-ts\n```\n\nCurrently supported template presets include:\n\n- `vite-react-ts`\n- `next-ts`\n- `vite-react-ts-premium` (coming soon)\n- Some community-driven templates\n\nYou can use `.` for the project name to scaffold in the current directory.\n\n## Syncing your template\nYou'll want to periodically pull updates from your base template. This ensures you're always packed with the latest features, bug fixes and more. This may cause merge conflicts.\n\nTo pull the latest from the template, simply run the following command in the **project directory**:\n\n```bash\nnpx create-multiplayer-game sync\n```\n\n## Community Templates\n\ncreate-multiplayer-game is a tool to quickly start a multiplayer web game project from a basic template for popular frameworks. Check out Awesome Playroom for [community maintained templates](https://github.com/grayhatdevelopers/awesome-playroom?tab=readme-ov-file#open-source-games-and-boilerplates) that include other tools or target different frameworks. You can use a tool like [degit](https://github.com/Rich-Harris/degit) to scaffold your project with one of the templates.\n\n```bash\nnpx degit user/project my-project\ncd my-project\n\nnpm install\nnpm run dev\n```\n\nIf the project uses `main` as the default branch, suffix the project repo with `#main`\n\n```bash\nnpx degit user/project#main my-project\n```\n\n### Want to add a template?\nFeel free to add a template of your choice to create-multiplayer-game.\n1. Edit this file: https://github.com/grayhatdevelopers/create-multiplayer-game/blob/main/src/utils/data/templates.mjs\n2. Make a Pull Request.\n\nIt'll be reviewed and tested by the maintainers before merging.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrayhatdevelopers%2Fcreate-multiplayer-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrayhatdevelopers%2Fcreate-multiplayer-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrayhatdevelopers%2Fcreate-multiplayer-game/lists"}