{"id":29127591,"url":"https://github.com/shidemantlej/h2h","last_synced_at":"2026-04-13T12:02:07.231Z","repository":{"id":301036502,"uuid":"980233030","full_name":"ShidemantleJ/h2h","owner":"ShidemantleJ","description":"Web app for head-to-head speedcubing","archived":false,"fork":false,"pushed_at":"2025-06-24T20:14:47.000Z","size":305,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-24T21:29:50.220Z","etag":null,"topics":["competitions","react","realtime-games","speedcubing","supabase-js"],"latest_commit_sha":null,"homepage":"https://h2hcube.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShidemantleJ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2025-05-08T19:39:18.000Z","updated_at":"2025-06-24T20:14:50.000Z","dependencies_parsed_at":"2025-06-25T15:15:24.984Z","dependency_job_id":null,"html_url":"https://github.com/ShidemantleJ/h2h","commit_stats":null,"previous_names":["shidemantlej/h2h"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ShidemantleJ/h2h","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShidemantleJ%2Fh2h","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShidemantleJ%2Fh2h/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShidemantleJ%2Fh2h/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShidemantleJ%2Fh2h/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShidemantleJ","download_url":"https://codeload.github.com/ShidemantleJ/h2h/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShidemantleJ%2Fh2h/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262690387,"owners_count":23349167,"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":["competitions","react","realtime-games","speedcubing","supabase-js"],"created_at":"2025-06-30T01:01:30.996Z","updated_at":"2026-04-13T12:02:07.174Z","avatar_url":"https://github.com/ShidemantleJ.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# H2HCube\n\nA real-time, head-to-head speedcubing web app. Compete, track, and connect with friends in speedcubing matches.\n\n## Features\n\n- Real-time head-to-head matches\n- WCA login integration\n- Friends system with requests and notifications\n- Live match invites and notifications\n- Match statistics and history\n\n## Tech Stack\n\n- **Frontend:** React, Vite, Tailwind CSS\n- **Backend:** Node.js, Express, Supabase, PostgreSQL\n- **Authentication:** Passport.js (WCA OAuth)\n- **Deployment:** AWS EC2\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v18+)\n- Supabase project\n- WCA OAuth credentials\n\n### Supabase Project Setup\n\nPlease see the schema.sql file in the root directory. Once you create a supabase project,\nyou should be able to paste it into the SQL editor. If this doesn't work, try following\nthe instructions [here](https://github.com/orgs/supabase/discussions/773#discussioncomment-5806539)\n\n### Backend Setup\n\n1. Copy `.env.example` to `.env` in `h2hbackend/` and fill in your secrets.\n2. Install dependencies:\n   ```bash\n   cd h2hbackend\n   npm install\n   ```\n3. Start the express server:\n   ```bash\n   npm start\n   ```\n\n### Frontend Setup\n\n1. Copy `.env.example` to `.env` in `h2hweb/` and fill in your API URLs and Supabase keys.\n2. Install dependencies:\n   ```bash\n   cd h2hweb\n   npm install\n   ```\n3. Start the frontend:\n   ```bash\n   npm run dev\n   ```\n\n### Issues/Questions\n\nIf you have any questions, find any bugs, or have any suggestions for improvement, please don't hesitate to [submit an issue](https://github.com/ShidemantleJ/h2h/issues)\n\n## License\n\n[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)\n\n---\n\nMade with ❤️ for the speedcubing community.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshidemantlej%2Fh2h","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshidemantlej%2Fh2h","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshidemantlej%2Fh2h/lists"}