GenieF1 is a professional, production-ready Formula 1 live telemetry and AI race engineer platform. It provides a real-time dashboard powered by live telemetry data and offers AI insights, simulations, and historical data analysis.
+-------------------+ +-------------------+ +-------------------+
| | | | | |
| LiveF1 (F1 +------>+ FastAPI +<----->+ Next.js 15 |
| SignalR API) | | Backend | WS | Frontend |
| | | (Python 3.12) | | (React 19) |
+-------------------+ +--------+----------+ +-------------------+
|
v
+-------------------+
| |
| Groq AI |
| (llama3-8b) |
| |
+-------------------+
- Live Telemetry Dashboard: Real-time track map, driver standings, gaps, and weather data.
- AI Race Engineer: Context-aware AI insights based on the live race state.
- Simulations: Pit stop projections, ERS impact analysis, and overtake simulations using Monte Carlo methods.
- Historical Data: Browse past sessions and lap times.
- Discord Bot: Companion bot for broadcasting insights.
- Backend: Python 3.12, FastAPI,
livef1(SignalR), Groq AI, Stripe,discord.py - Frontend: Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS v4, MapLibre GL
- Data: FastF1 (historical),
livef1(live)
- Python 3.12+
- Node.js 20+
pnpm
-
Clone the repository:
git clone <repo-url> cd genief1
-
Environment Variables: Copy
.env.exampleto.envand fill in the required keys. -
Backend Setup:
python -m venv .venv source .venv/bin/activate pip install -r backend/requirements.txt -
Frontend Setup:
cd frontend pnpm install
Use the provided Makefile:
- Backend:
make dev-backend - Frontend:
make dev-frontend
The application will be available at http://localhost:3000.
See the interactive API docs at http://localhost:8000/docs when the backend is running.
See DEPLOY.md for Render.com deployment instructions.