Formula 1 2026, decoded — live timing, standings, telemetry, and race analytics in one broadcast-style dashboard.
f1lytics.com • Features • Tech Stack • Getting Started • Data Sources
Features
Race weekends, live
- Live Timing — real-time positions, gaps, intervals, sector times, tyres, and race control messages, streamed from Formula 1's own live feed over Server-Sent Events.
- Starting Grid — appears minutes after qualifying ends (OpenF1-first, official data as it publishes), on the race page and the homepage weekend card.
- Weekend Mode — during a race weekend the homepage switches state automatically: countdown to lights out, sprint winner, grid preview; after the flag, the podium takes over for three days.
- Sprint Results — full sprint classification on every sprint-weekend race page.
- Race Review — replay the timing tower of any completed session.
- Homepage live panel — during a session the homepage shows the running session, lap count, track status and top five, from a CDN-cached snapshot of the feed.
Lock In, the predictions game
- Call it before qualifying — pole, the podium in order, fastest lap, the winning margin and, on sprint weekends, the sprint winner.
- Settled from the official classification — scores, CALLED IT / CLOSE / COOKED stamps, round and season leaderboards.
- Leagues with friends — private leagues with an invite link, up to 200 players each.
- Share cards — every locked-in round gets a public card with its own social image.
- Your calls on the live tower — the timing screen tags the drivers you called while the race runs.
The season, analyzed
- Standings — driver and constructor championships with points gaps and per-driver team contributions.
- Race Results — every Grand Prix with lap-time charts, tyre strategies, and grid-to-finish deltas.
- Driver & Team Profiles — career stats, season form, teammate head-to-heads, historical constructor timelines.
- Head-to-Head Compare — any two drivers or teams across stats, qualifying pace, and points progression.
- Circuit Guide — all circuits on an interactive 3D globe, with track maps, lap records, and key stats.
- Calendar & Schedule — the full season with session times in your local timezone (switchable), sprint-aware countdowns, and a season progress bar.
- F1 News — aggregated headlines from BBC Sport, Motorsport.com, Autosport, The Race, and PlanetF1.
Fully responsive, dark broadcast-style UI with a state-aware homepage — the headline is generated from live season data, not a slogan.
Tech Stack
| Category | Technology |
|---|---|
| Framework | Next.js 16 (App Router, ISR) |
| Language | TypeScript 5 (strict mode) |
| Styling | Tailwind CSS 4 |
| Animations | GSAP 3 + ScrollTrigger |
| Charts | Recharts 3 |
| 3D | Three.js + React Three Fiber |
| Data | Jolpica-F1, OpenF1, F1 live timing |
| Database / auth | Neon Postgres via Drizzle, Better Auth (Google, magic link) |
| UI Components | Radix UI, Lucide Icons |
| Analytics | Vercel Analytics + Speed Insights |
| Deployment | Vercel |
Getting Started
git clone https://github.com/shvmmshr/f1lytics.git
cd f1lytics
pnpm install
pnpm dev
Open http://localhost:3000.
No environment variables are required for the analytics site: all data comes from free, public APIs. Lock In needs the database and auth variables listed in docs/lockin/SETUP.md and shows a coming-soon state without them. (Optionally set REVALIDATION_SECRET in production to protect the on-demand cache revalidation endpoint.)
Project Structure
src/
├── app/
│ ├── (marketing)/ # Homepage (state-aware hero, weekend mode)
│ ├── (season)/ # Standings, calendar, drivers, teams, circuits, races, news
│ ├── (live)/ # Live timing and race review
│ ├── (tools)/ # Head-to-head compare
│ └── api/ # Live data, SSE relay, news, revalidation
├── components/
│ ├── charts/ # Lap times, tyre strategy visualizations
│ ├── home/ # Hero, countdown, calendar strip, news strip
│ ├── layout/ # Navbar, footer, page transitions
│ ├── live/ # Live timing UI
│ ├── shared/ # Broadcast design system, logo, schedules, badges
│ └── ui/ # Base primitives (shadcn/ui)
├── hooks/ # Live polling + SSE stream hooks
└── lib/
├── api/ # Jolpica, OpenF1, weekend resolver, news
└── constants/ # Season data (circuits, drivers, teams, schedules)
Data Sources
| Source | Usage | Freshness |
|---|---|---|
| OpenF1 | Session results, laps, stints, telemetry, weather | Minutes after each session |
| Jolpica-F1 | Official standings, results, qualifying | Authoritative, hours after |
| F1 live timing | Real-time timing during sessions (SSE relay) | Live |
| RSS feeds | F1 news from major motorsport outlets | ~15 min |
Time-sensitive data (grids, fresh podiums) resolves OpenF1-first and upgrades to official Jolpica data as it publishes. Everything is cached with Next.js ISR on per-route revalidation intervals — results and points appear within about five minutes of a session ending.
Deployment
Deploy your own instance with one click:
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feat/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push and open a Pull Request
License
MIT — see LICENSE.
F1lytics is an unofficial fan project and is not affiliated with Formula 1, the FIA, or any F1 team.
