{"id":29939950,"url":"https://github.com/lonzzi/cs2-map-pick","last_synced_at":"2025-08-03T00:42:49.040Z","repository":{"id":305999638,"uuid":"1023532518","full_name":"lonzzi/cs2-map-pick","owner":"lonzzi","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-23T04:00:39.000Z","size":242,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-23T05:31:46.599Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lonzzi.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,"zenodo":null}},"created_at":"2025-07-21T09:54:29.000Z","updated_at":"2025-07-23T04:00:42.000Z","dependencies_parsed_at":"2025-07-23T05:31:57.596Z","dependency_job_id":null,"html_url":"https://github.com/lonzzi/cs2-map-pick","commit_stats":null,"previous_names":["lonzzi/cs2-map-pick"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/lonzzi/cs2-map-pick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonzzi%2Fcs2-map-pick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonzzi%2Fcs2-map-pick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonzzi%2Fcs2-map-pick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonzzi%2Fcs2-map-pick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lonzzi","download_url":"https://codeload.github.com/lonzzi/cs2-map-pick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonzzi%2Fcs2-map-pick/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268479902,"owners_count":24256887,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2025-08-03T00:42:44.154Z","updated_at":"2025-08-03T00:42:48.996Z","avatar_url":"https://github.com/lonzzi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CS2 Map Pick\n\nA modern web application for Counter-Strike 2 teams to perform map ban/pick (banpick) processes interactively and visually.\n\n## Features\n\n- Real-time map ban/pick flow for BO3/BO5\n- Team authentication via unique links\n- Live updates with Supabase Realtime\n- Responsive UI with Tailwind CSS and Shadcn UI\n- Map pool and decider logic\n- Visual feedback and status for each map\n\n## Tech Stack\n\n- **Next.js 15 (App Router)**\n- **React 19**\n- **TypeScript**\n- **Tailwind CSS**\n- **Shadcn UI \u0026 Radix UI**\n- **Supabase** (Database \u0026 Realtime)\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v18+ recommended)\n- pnpm (or npm/yarn)\n- Supabase project (see below)\n\n### Installation\n\n```bash\npnpm install\n```\n\n### Environment Setup\n\n1. Create a `.env.local` file in the root directory.\n2. Add your Supabase credentials:\n   ```env\n   NEXT_PUBLIC_SUPABASE_URL=your-supabase-url\n   NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY=your-supabase-publishable-default-key\n   ```\n\n### Database Setup\n\n- Create a `rooms` table in Supabase with the following structure (example):\n  - `id` (uuid, primary key)\n  - `code` (text)\n  - `team_a` (text)\n  - `team_b` (text)\n  - `team_a_code` (text)\n  - `team_b_code` (text)\n  - `mode` (text)\n  - `map_pool` (text[])\n  - `steps` (jsonb)\n  - `progress` (jsonb)\n\n### Running Locally\n\n```bash\npnpm dev\n```\n\nVisit [http://localhost:3000](http://localhost:3000) in your browser.\n\n## Project Structure\n\n```\ncs2-map-pick/\n├── app/                # Next.js app directory (routing, pages)\n│   └── banpick/        # Banpick flows and team pages\n├── components/         # UI components (Shadcn, custom)\n├── hooks/              # Custom React hooks\n├── lib/                # Utilities, Supabase client, map data\n├── public/             # Static assets (map images, icons)\n├── styles/             # Global styles (Tailwind)\n├── README.md           # Project documentation\n└── ...\n```\n\n## Contributing\n\nPull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.\n\n1. Fork the repo\n2. Create your feature branch (`git checkout -b feat/your-feature`)\n3. Commit your changes (`pnpm commit`)\n4. Push to the branch (`git push origin feat/your-feature`)\n5. Open a Pull Request\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonzzi%2Fcs2-map-pick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flonzzi%2Fcs2-map-pick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonzzi%2Fcs2-map-pick/lists"}