BikeControl (SwiftControl)
Use Zwift Click, Zwift Play, Shimano Di2, or any Bluetooth controller with MyWhoosh, Rouvy, Zwift, and more. Free to try on iOS, Android, Windows, and macOS.
Data-driven analysis and insights for Football, NBA, and MLB
Sports & fitnessTypeScript · PythonGitHub @BrainSnack9OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
PlayStat은 축구, 농구, 야구 데이터 분석을 제공하는 스포츠 인사이트 플랫폼입니다. • ⚽ 축구 (Football): EPL, La Liga, Serie A, Bundesliga, Ligue 1 • 🏀 농구 (Basketball): NBA • ⚾ 야구 (Baseball): MLB 데이터 수집 • BallDontLie API 통합: 모든 스포츠 데이터를 단일 API로 통합 관리 • 자동 크론 작업: • collect-football: EPL 및 주요 유럽 리그 데이터 수집 • collect-basketball: NBA 경기 및 순위 데이터 수집 • collect-baseball: MLB 경기 및 순위 데이터 수집 • 실시간 업데이트: 경기 점수 및 상태 실시간 동기화 AI 분석 • GPT-4o 기반 경기 분석: 객관적 데이터 기반 인사이트 생성 • 다국어 지원: 한국어/영어 자동 번역 및 캐싱 • Daily Report: 날짜별 경기 종합 분석 리포트Read the full README ↗
PlayStat 프로젝트의 GitHub Actions 워크플로우 설명입니다.
data-collection.yml)목적: 스포츠 데이터 자동 수집 및 분석
스케줄:
수동 실행:
# GitHub UI에서 Actions > Data Collection Cron Jobs > Run workflow
# 또는 gh CLI 사용:
gh workflow run data-collection.yml -f sport=all
gh workflow run data-collection.yml -f sport=football
gh workflow run data-collection.yml -f sport=basketball
gh workflow run data-collection.yml -f sport=baseball
필요한 Secrets:
SITE_URL: 배포된 사이트 URL (예: https://playstat.space)CRON_SECRET: 크론 API 인증 토큰동작 방식: 각 스포츠별로 5개의 순차적인 작업을 15초 간격으로 실행합니다:
Collect Matches: 경기 일정 및 결과 수집
/api/cron/collect-{sport}Collect Team Data: 팀 시즌 스탯 및 순위표 수집
/api/cron/collect-team-data?sport={sport}Generate Analysis: AI 기반 경기 분석 생성
/api/cron/generate-analysis?sport={sport}Generate Daily Report: 데일리 리포트 생성
/api/cron/generate-daily-report?sport={sport}Update Live Matches: 실시간 스코어 업데이트
/api/cron/update-live-matches?sport={sport}manual-trigger.yml)목적: 수동으로 데이터 수집 트리거
기능:
사용법:
# GitHub UI에서 Actions > Manual Data Collection Trigger > Run workflow
# 스포츠 선택 + Chain 옵션 선택
특징:
health-check.yml)목적: API 및 사이트 상태 모니터링
스케줄: 매시간 실행
체크 항목:
수동 실행:
gh workflow run health-check.yml
GitHub 저장소 Settings > Secrets and variables > Actions에서 설정:
| Secret Name | Description | Example |
|---|---|---|
SITE_URL | 배포된 사이트 URL | https://playstat.space |
CRON_SECRET | 크론 API 인증 토큰 | .env 파일의 CRON_SECRET 값 |
BallDontLie Free Tier는 분당 5회 요청 제한이 있습니다:
모든 크론 작업은 GitHub Actions에서 실행됩니다:
Vercel Cron: 사용하지 않음 (vercel.json의 crons 배열은 비어있음)
# 최근 워크플로우 실행 확인
gh run list --workflow=data-collection.yml
# 특정 실행 로그 보기
gh run view <run-id>
CRON_SECRET이 올바르게 설정되었는지 확인워크플로우 파일 수정 후:
git add .github/workflows/
git commit -m "Update workflow"
git push
변경사항은 즉시 반영되며, 다음 스케줄 시간 또는 수동 실행 시 적용됩니다.
Built for PlayStat Multi-Sport Analytics Platform