OpenAthlete
AGPLv3 endurance training platform: EU-oriented hosting, transparent CTL/ATL/TSB logic in code, self-hosting, and full export. Built in Grenoble.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
An AI-powered fantasy football assistant that helps PPR league users with draft picks, waiver wire decisions, and provides intelligent content aggregation from multiple fantasy football sources.查看完整 README ↗An AI-powered fantasy football assistant that helps PPR league users with draft picks, waiver wire decisions, and provides intelligent content aggregation from multiple fantasy football sources.
fantasy-football-assistant/
├── backend/ # Python FastAPI backend
│ ├── app/
│ │ ├── api/v1/ # API endpoints
│ │ ├── core/ # Configuration and security
│ │ ├── db/ # Database configuration
│ │ ├── models/ # SQLAlchemy models
│ │ └── services/ # Business logic
│ ├── alembic/ # Database migrations
│ ├── requirements.txt
│ └── .env # Environment variables
├── frontend/ # React TypeScript frontend
│ ├── src/
│ │ ├── components/ # Reusable components
│ │ ├── pages/ # Page components
│ │ ├── services/ # API calls
│ │ ├── types/ # TypeScript definitions
│ │ └── hooks/ # Custom React hooks
│ ├── package.json
│ └── tailwind.config.js
├── scripts/ # Setup and utility scripts
├── docs/ # Documentation
└── docker-compose.yml # Development environment
brew install postgresql)# Navigate to backend
cd backend
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Start PostgreSQL (if not running)
brew services start postgresql@14
# Create database and user
createdb fantasy_football_db
createuser -s fantasy_user
psql fantasy_football_db -c "ALTER USER fantasy_user PASSWORD 'fantasy_pass';"
# Run database migrations
alembic upgrade head
# Initialize with sample data
python -c "from app.db.init_db import init_db; init_db()"
# Start the backend server
uvicorn app.main:app --reload --port 8000
Backend is now running at: http://localhost:8000
# Navigate to frontend (in a new terminal)
cd frontend
# Install dependencies
npm install
# Start the development server
npm run dev
Frontend is now running at: http://localhost:5173
Demo Accounts:
[email protected] / admin123[email protected] / password123[email protected] / DemoPass123!# Start backend server
cd backend && source venv/bin/activate && uvicorn app.main:app --reload
# Create new migration
alembic revision --autogenerate -m "Description"
# Apply migrations
alembic upgrade head
# Reset database
python -c "from app.db.init_db import init_db; init_db()"
# Start development server
cd frontend && npm run dev
# Build for production
npm run build
# Run linter
npm run lint
# Preview production build
npm run preview
POST /api/v1/auth/register - User registrationPOST /api/v1/auth/token - User loginGET /api/v1/auth/me - Get current userGET /api/v1/players/ - List all playersGET /api/v1/players/{id} - Get player detailsGET /api/v1/players/search - Search playersPOST /api/v1/draft/start - Start draft sessionGET /api/v1/draft/{session_id}/recommendations - Get recommendationsPOST /api/v1/draft/{session_id}/picks - Record draft pickGET /api/v1/content/blog-posts/ - List blog postsPOST /api/v1/content/generate - Generate AI contentCreate a .env file in the backend directory:
# Database
DATABASE_URL=postgresql://fantasy_user:fantasy_pass@localhost:5432/fantasy_football_db
# Security
SECRET_KEY=your-secret-key-here
# AI APIs (optional - add your keys for full functionality)
OPENAI_API_KEY=your-openai-key
ANTHROPIC_API_KEY=your-anthropic-key
# Fantasy Platform APIs (optional)
ESPN_CLIENT_ID=your-espn-client-id
ESPN_CLIENT_SECRET=your-espn-client-secret
YAHOO_CLIENT_ID=your-yahoo-client-id
YAHOO_CLIENT_SECRET=your-yahoo-client-secret
# Start all services
docker-compose up -d
# View logs
docker-compose logs -f
# Stop services
docker-compose down
Guides (docs/guides/)
Manual test procedures (docs/testing/)
Audit history (docs/audits/) - point-in-time findings, check git log before trusting an open item as still-current
git checkout -b feature-namegit commit -m "Add feature description"MIT License - see LICENSE file for details
Need help? Check the troubleshooting guide or open an issue.