{"id":48775368,"url":"https://github.com/davydmaker/pokenergy","last_synced_at":"2026-04-13T12:04:41.230Z","repository":{"id":344482564,"uuid":"1181993527","full_name":"davydmaker/pokenergy","owner":"davydmaker","description":"Virtual Energy Deck for Pokemon TCG - Track energy cards without physical decks","archived":false,"fork":false,"pushed_at":"2026-03-15T07:54:32.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-15T08:24:33.176Z","etag":null,"topics":["card-game","deck","energy","multiplayer","pokemon","react","tcg"],"latest_commit_sha":null,"homepage":"https://pokenergy.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davydmaker.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-14T22:36:26.000Z","updated_at":"2026-03-15T07:54:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/davydmaker/pokenergy","commit_stats":null,"previous_names":["davydmaker/pokenergy"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/davydmaker/pokenergy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydmaker%2Fpokenergy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydmaker%2Fpokenergy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydmaker%2Fpokenergy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydmaker%2Fpokenergy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davydmaker","download_url":"https://codeload.github.com/davydmaker/pokenergy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydmaker%2Fpokenergy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["card-game","deck","energy","multiplayer","pokemon","react","tcg"],"created_at":"2026-04-13T12:04:40.269Z","updated_at":"2026-04-13T12:04:41.212Z","avatar_url":"https://github.com/davydmaker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PokEnergy\n\nVirtual energy deck for Pokemon TCG.\n\nBought some boosters but don't have enough energy cards to play? PokEnergy solves that. It simulates your energy deck on your phone — just bring your Pokemon and Trainer cards. When you draw an energy, use a marker (die, token, coin) instead of a physical card.\n\nWorks solo or multiplayer. Bilingual (PT/EN). Light and dark theme.\n\n## How it works\n\n1. Set up your deck: size, energy count and distribution by type\n2. Set prize cards and initial hand size\n3. Each turn, draw a card:\n   - **Energy** — the app shows the type, use a marker on the table\n   - **Not energy** — draw the physical card from your real deck\n4. Manage energies: discard, recover, shuffle hand, search deck, move between hand/play/discard\n5. Flip the coin when needed\n\n## Features\n\n**Deck \u0026 hand**\n- Full deck configuration (size, energies, distribution, prizes, initial hand)\n- Draw confirmation on second draw per turn\n- Deck search with destination (hand or straight to play)\n- Shuffle hand into deck and draw new cards\n- Undo up to 30 actions\n\n**Energies in play**\n- Move energy from hand to play (attach to a Pokemon)\n- Discard from play (knockout, attack cost)\n- Recover from discard to hand or deck\n- Panel showing energies in play, in deck and in discard\n\n**Multiplayer**\n- Rooms via Firebase with turn-based flow\n- Share room by URL\n- Action history visible between players\n- Coin flip result visible to all\n- Old rooms auto-deleted when host creates a new one\n\n**General**\n- Virtual coin flip (heads/tails)\n- Full action history\n- In-app help explaining all mechanics\n- Portuguese and English\n- Light/dark theme\n- Mobile-first\n\n## Stack\n\n- React 19 + TypeScript\n- Vite\n- Firebase (Firestore + Anonymous Auth)\n\n## Setup\n\n```bash\nnpm install\ncp .env.example .env\nnpm run dev\n```\n\n### Firebase (for multiplayer)\n\n1. Create a project at [Firebase Console](https://console.firebase.google.com)\n2. Enable Firestore Database\n3. Enable Authentication \u003e Anonymous sign-in\n4. Copy your web app credentials to `.env`\n5. Deploy rules: `firebase deploy --only firestore:rules`\n\nSolo mode doesn't need Firebase.\n\n### Security\n\n- Anonymous auth required for all Firestore operations\n- Security rules enforce field immutability, player limits, role-based access and valid status transitions\n- Old rooms from the same host are auto-deleted when creating a new room\n- Optional TTL (requires Blaze plan): configure a policy on the `expireAt` field for automatic cleanup of abandoned rooms\n\n## Scripts\n\n| Command | Description |\n|---------|-------------|\n| `npm run dev` | Dev server |\n| `npm run build` | Type-check + build |\n| `npm run preview` | Preview build |\n| `npm run lint` | ESLint |\n\n## License\n\n[GPL](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavydmaker%2Fpokenergy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavydmaker%2Fpokenergy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavydmaker%2Fpokenergy/lists"}