{"id":49655121,"url":"https://github.com/nedhmn/duel-tools","last_synced_at":"2026-05-06T08:43:27.314Z","repository":{"id":330229068,"uuid":"1120165702","full_name":"nedhmn/duel-tools","owner":"nedhmn","description":"Yu-Gi-Oh replay scraping and analysis tool for DuelingBook. Scrape replays, parse duel logs, and analyze player performance across games.","archived":false,"fork":false,"pushed_at":"2026-04-09T05:23:19.000Z","size":2089,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-09T07:22:22.192Z","etag":null,"topics":["python","react","yugioh"],"latest_commit_sha":null,"homepage":"","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/nedhmn.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":"2025-12-20T16:15:17.000Z","updated_at":"2026-04-09T05:23:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nedhmn/duel-tools","commit_stats":null,"previous_names":["nedhmn/duel-tools"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/nedhmn/duel-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedhmn%2Fduel-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedhmn%2Fduel-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedhmn%2Fduel-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedhmn%2Fduel-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nedhmn","download_url":"https://codeload.github.com/nedhmn/duel-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedhmn%2Fduel-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32685708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"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":["python","react","yugioh"],"created_at":"2026-05-06T08:43:26.563Z","updated_at":"2026-05-06T08:43:27.304Z","avatar_url":"https://github.com/nedhmn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duel Tools\n\nYu-Gi-Oh replay scraping and analysis tool for DuelingBook. Scrape replays, parse duel logs, and analyze player performance across games.\n\n## Quick Start (Self-Hosting)\n\n```bash\ngit clone https://github.com/nedhmn/duel-tools.git\ncd duel-tools\ncp .env.example .env   # fill in required values\ndocker compose -f docker-compose.prod.yml up -d\n```\n\nApp runs at `http://localhost:8000`.\n\nSee the [Self-Hosting guide](./docs/guides/self-hosting.md) for environment variable details.\n\n## Project Structure\n\n```\nduel-tools/\n├── apps/\n│   ├── api/          # FastAPI + Celery worker\n│   ├── cron/         # Scheduled sync jobs\n│   └── web/          # React + Vite frontend\n├── packages/\n│   ├── dt-capsolver/ # Captcha solving (Turnstile, reCAPTCHA v2)\n│   ├── dt-db/        # SQLAlchemy models + Alembic migrations\n│   ├── dt-logger/    # structlog config\n│   ├── dt-parser/    # Replay JSON parsing\n│   ├── dt-scraper/   # DuelingBook scraping\n│   └── dt-seeder/    # S3 replay import\n└── docs/             # Guides + architecture docs\n```\n\n## Development\n\nPrerequisites: Python 3.13+, Node 22+, [uv](https://docs.astral.sh/uv/), [pnpm](https://pnpm.io/), Docker\n\n```bash\ndocker compose up -d                    # postgres + redis\nuv sync                                 # python deps\ncd apps/web \u0026\u0026 pnpm install             # frontend deps\ncp apps/api/.env.example apps/api/.env  # configure env\ncd packages/dt-db \u0026\u0026 make migrate       # init database\n```\n\n- **API**: `cd apps/api \u0026\u0026 make dev`\n- **Worker**: `cd apps/api \u0026\u0026 make worker`\n- **Frontend**: `cd apps/web \u0026\u0026 pnpm dev`\n\n## Docs\n\n| Guide                                         | Description           |\n| --------------------------------------------- | --------------------- |\n| [Development](./docs/guides/development.md)   | Full local setup      |\n| [Self-Hosting](./docs/guides/self-hosting.md) | Docker Compose deploy |\n| [Deployment](./docs/guides/deploy.md)         | CI/CD + Railway       |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnedhmn%2Fduel-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnedhmn%2Fduel-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnedhmn%2Fduel-tools/lists"}