{"id":19720622,"url":"https://github.com/jhillgithub/multiplayer-template","last_synced_at":"2025-06-17T06:03:45.320Z","repository":{"id":236205913,"uuid":"792136802","full_name":"jhillgithub/multiplayer-template","owner":"jhillgithub","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-26T05:36:41.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T23:39:10.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/jhillgithub.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":"2024-04-26T03:48:54.000Z","updated_at":"2024-04-26T05:36:44.000Z","dependencies_parsed_at":"2024-11-11T23:11:58.505Z","dependency_job_id":"2cd5d72c-9e6e-4b40-aa73-8e0ef3d66b32","html_url":"https://github.com/jhillgithub/multiplayer-template","commit_stats":null,"previous_names":["jhillgithub/multiplayer-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhillgithub/multiplayer-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhillgithub%2Fmultiplayer-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhillgithub%2Fmultiplayer-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhillgithub%2Fmultiplayer-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhillgithub%2Fmultiplayer-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhillgithub","download_url":"https://codeload.github.com/jhillgithub/multiplayer-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhillgithub%2Fmultiplayer-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260301961,"owners_count":22988715,"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-11T23:11:56.417Z","updated_at":"2025-06-17T06:03:45.271Z","avatar_url":"https://github.com/jhillgithub.png","language":"TypeScript","readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n\n\u003cbr /\u003e\n\n\u003ch1 align=\"center\"\u003eMultiplayer-Template\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n    A socket.io and webrtc template for react\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/jhillgithub/multiplayer-template\"\u003e\u003cstrong\u003eExplore the repo »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    ·\n    \u003ca href=\"https://github.com/jhillgithub/multiplayer-template/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/jhillgithub/multiplayer-template/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n## About The Project\n\nThis is a WIP template to setup multiplayer features for react with socket.io and webrtc. The goal is to create a generic template that can be used for collaborative applications or multiplayer games. Socket.io is used to manage the initial lobby/room and may also be used as a signaling server for webrtc. WebRTC will be added in order to offload the data transfer during gameplay by setting up a fully connected mesh of peers per room.\n\nCurrent progress:\n\n- [x] Setup basic socket.io server with node and express.\n- [x] Setup Room context for room-based communication and broadcasting.\n- [ ] Add signaling to the socket.io server to use with webrtc\n- [ ] Custom STUN and TURN servers???\n- [ ] Test simple-peer\n- [ ] Test webrtc without libraries\n- [ ] Add a RPC registry for custom broadcast functions for all connected peers\n\nBlockers:\n\n- Attempted to use peerjs for webrtc, but there are support issues that lead me to believe that this may not be a good approach\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n### Built With\n\n[![React][React.js]][React-url]\n\n[![Typescript][Typescript]][Typescript-url]\n\n[![TailwindCSS][TailwindCSS]][Tailwindcss-url]\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Getting Started\n\nTo get a local copy up and running follow these simple example steps.\n\n### Installation\n\n1. Clone the repo\n   ```sh\n   git clone https://github.com/jhillgithub/multiplayer-template.git\n   ```\n2. Install NPM packages for client and then server\n   ```sh\n   npm install\n   ```\n3. Start the application for client and then server\n   ```sh\n   npm run dev\n   ```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n\n[forks-shield]: https://img.shields.io/github/forks/jhillgithub/multiplayer-template.svg?style=for-the-badge\n[forks-url]: https://github.com/jhillgithub/multiplayer-template/network/members\n[stars-shield]: https://img.shields.io/github/stars/jhillgithub/multiplayer-template.svg?style=for-the-badge\n[stars-url]: https://github.com/jhillgithub/multiplayer-template/stargazers\n[issues-shield]: https://img.shields.io/github/issues/jhillgithub/multiplayer-template.svg?style=for-the-badge\n[issues-url]: https://github.com/jhillgithub/multiplayer-template/issues\n[React.js]: https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB\n[React-url]: https://reactjs.org/\n[TailwindCSS]: https://img.shields.io/badge/tailwindcss-000000?style=for-the-badge\u0026logo=tailwindcss\u0026logoColor=white\n[Tailwindcss-url]: https://reactjs.org/\n[Typescript]: https://img.shields.io/badge/typescript-000000?style=for-the-badge\u0026logo=typescript\u0026logoColor=white\n[Typescript-url]: https://reactjs.org/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhillgithub%2Fmultiplayer-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhillgithub%2Fmultiplayer-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhillgithub%2Fmultiplayer-template/lists"}