{"id":28759599,"url":"https://github.com/sounishnath003/practice-leetcode-multiplayer","last_synced_at":"2026-04-18T12:03:37.390Z","repository":{"id":286010218,"uuid":"956931954","full_name":"sounishnath003/practice-leetcode-multiplayer","owner":"sounishnath003","description":"a multiplayer application to practice leetcode problems easily with peers","archived":false,"fork":false,"pushed_at":"2026-02-19T15:54:27.000Z","size":954,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T16:47:57.937Z","etag":null,"topics":["golang","htmx","leetcode","websocket"],"latest_commit_sha":null,"homepage":"https://practice-leetcode-multiplayer-797087556919.asia-south1.run.app/","language":"JavaScript","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/sounishnath003.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-29T06:34:41.000Z","updated_at":"2026-02-19T15:55:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e99cee4-8c38-4004-97a3-5081b0e5c8de","html_url":"https://github.com/sounishnath003/practice-leetcode-multiplayer","commit_stats":null,"previous_names":["sounishnath003/practice-leetcode-multiplayer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sounishnath003/practice-leetcode-multiplayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sounishnath003%2Fpractice-leetcode-multiplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sounishnath003%2Fpractice-leetcode-multiplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sounishnath003%2Fpractice-leetcode-multiplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sounishnath003%2Fpractice-leetcode-multiplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sounishnath003","download_url":"https://codeload.github.com/sounishnath003/practice-leetcode-multiplayer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sounishnath003%2Fpractice-leetcode-multiplayer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31967993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["golang","htmx","leetcode","websocket"],"created_at":"2025-06-17T05:07:51.203Z","updated_at":"2026-04-18T12:03:37.377Z","avatar_url":"https://github.com/sounishnath003.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Practice Leetcode Multiplayer\n\n\u003e NOTE: Project is just a thought. Do not expect to be maintain nicely. Not sure, about future plans.\n\nThis project is a multiplayer platform for practicing Leetcode problems. It allows users to collaborate and compete in solving coding challenges in real-time with integrated audio calling and cloud code execution.\n\n## YouTube Demo\n\n[Practice Leetcode Multiplayer | Collaborate and practice together | Go + HTMX\n](https://www.youtube.com/watch?v=3QiOIUQptu8)\n\n## Deployed Service URL: \n\n[practice-leetcode-multiplayer-797087556919.asia-south1.run.app](https://practice-leetcode-multiplayer-797087556919.asia-south1.run.app)\n\n## Latest Features\n\n- **Collaborative Code Editor**: Real-time synchronized editor with syntax highlighting for Python, Java, JavaScript, and C++.\n- **Remote Code Execution**: Execute code directly in the cloud using a dedicated **Serverless Execution Engine** (hosted on Google Cloud Run) with support for Python, Java, JavaScript, and C++.\n- **Smart Search with Suggestions**: Find any LeetCode problem by name with a real-time suggestions dropdown showing the top 5 matches.\n- **Integrated Audio Calls**: Seamless pair programming experience with built-in **WebRTC audio calling**.\n- **Automatic Boilerplate**: Selecting a problem or changing languages automatically fetches the correct function stubs and starter code from LeetCode.\n- **Full State Sync**: All participants stay in sync with the same code, programming language, and problem details via WebSockets.\n\n## Architecture\n\n- **Backend**: Go (Golang) with standard library `net/http` and `gorilla/websocket`.\n- **Frontend**: HTML + Tailwind CSS + HTMX for dynamic interactions.\n- **Code Execution**: Python-based Flask app running in a Docker container on Google Cloud Run, strictly isolated with execution timeouts.\n- **Real-time**: WebSockets for state synchronization and WebRTC for peer-to-peer audio communication.\n\n## UI Screens:\n\n### Create room or Join room:\n\n![signin](assets/signin.png)\n\n### Multiplayer Screen (with Audio \u0026 Code Execution):\n\n![multiplayer](assets/multiplayer.png)\n\n## Getting Started\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/sounishnath003/practice-leetcode-multiplayer.git\n    ```\n2. Install dependencies:\n    ```bash\n    make install\n    ```\n3. Set up the Code Execution Engine URL (optional, defaults to production):\n    ```bash\n    export CODE_EXECUTION_ENGINE_URL=\"https://your-engine-url.run.app\"\n    ```\n4. Start the application:\n    ```bash\n    make run\n    ```\n\n## Environment Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `PORT` | Port for the Go server | `3000` |\n| `CODE_EXECUTION_ENGINE_URL` | URL of the deployed Cloud Run engine | `https://your-engine-url.run.app` |\n| `GOOGLE_APPLICATION_CREDENTIALS` | Path to GCP service account JSON (for authenticated calls) | N/A |\n\n\n## Contributing\n\nContributions are welcome! Feel free to open issues or submit pull requests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsounishnath003%2Fpractice-leetcode-multiplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsounishnath003%2Fpractice-leetcode-multiplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsounishnath003%2Fpractice-leetcode-multiplayer/lists"}