flutter
Flutter는 wger용 피트니스·운동 앱입니다
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A Next.js application for the 2026 FIA Formula One World Championship: a live-timing tower, lap and sector analysis, tyre strategy, track map, race control, telemetry, results, schedule, drivers, teams and championship standings.
Its organising rule is data integrity. Every dataset carries provenance (provider, mode, source timestamp, fetch time, completeness). The UI shows one of LIVE, HISTORICAL, SIMULATED DATA, OFFLINE or NO DATA, and providers never stand in for each other. A failed live request shows an error, never demo or historical data presented as live.
Requires Node.js 20.9 or later (tested on Node 24).
npm install
npm run dev
Open http://localhost:3000 (it redirects to /timing). No credentials are needed: completed 2026 sessions load from OpenF1's free historical API, results load from Jolpica-F1, and the Demo button in the header opens a fully simulated session.
| Command | Purpose |
|---|---|
npm run dev | Development server |
npm run build / npm start | Production build and server |
npm test | Unit and API tests (Vitest) |
npm run typecheck | TypeScript strict check |
npm run sync:season | Regenerate the 2026 calendar from OpenF1 + Jolpica-F1 |
All variables are server-only (no NEXT_PUBLIC_ prefix). Copy .env.example to .env.local.
| Variable | Required | Meaning |
|---|---|---|
OPENF1_USERNAME, OPENF1_PASSWORD | Only for live timing | A paid OpenF1 account (openf1.org/auth.html). The server exchanges these for a one-hour bearer token at POST https://api.openf1.org/token. Without them, a session in progress shows "Live timing unavailable" with the reason. |
OPENF1_BASE_URL | No | Defaults to https://api.openf1.org |
JOLPICA_BASE_URL | No | Defaults to https://api.jolpi.ca/ergast/f1 |
OPENF1_MIN_REQUEST_SPACING_MS | No | Minimum gap between upstream OpenF1 requests (default 350 ms), to stay within free-tier limits |
| Feature | Live (with credentials) | Without credentials | Demo mode |
|---|---|---|---|
| Timing tower (positions, gaps, intervals, laps, sectors, speed trap, tyres, pits, status) | OpenF1 live REST, polled every 4–30 s (user setting) | OpenF1 historical, completed sessions only; races can be replayed lap by lap | Simulated |
| Track status, session phase, lap deletions | Race-control messages (OpenF1) | Same, historical | Simulated, fictional messages |
| Race-control feed | OpenF1 | OpenF1 | Fictional, prefixed [DEMO] |
| Lap history, lap chart, sector comparison | OpenF1 laps + stints + pits + race control | Same | Simulated |
| Tyre strategy | OpenF1 stints (sourced); tyre age derived and marked * | Same | Simulated |
| Track map | Outline traced from OpenF1 position data for that session; car markers from OpenF1 location | Same; markers at the replay instant | Fictional circuit; simulated markers |
| Telemetry | OpenF1 car_data (speed, throttle, brake on/off, gear, RPM) | Same | Synthetic trace, labelled |
| Weather | OpenF1 | OpenF1 | Simulated, labelled |
| Results | Jolpica-F1 (GP, Sprint, Qualifying); OpenF1 session_result (Practice, Sprint Qualifying) | Same | Not used |
| Championship, drivers, teams | Computed from Jolpica-F1 classified results, cross-checked against Jolpica's published standings | Same | Not used |
| Schedule | lib/config/season-2026.data.json, generated from OpenF1 + Jolpica-F1 | Same | Not used |
Demo mode affects only Live Timing and Telemetry. Other pages always show real published data and say so while demo mode is on.
rb, which is mapped in lib/config/teams-2026.ts.STALE, and a failed poll keeps the last data on screen labelled OFFLINE.Browser UI ──► /api/timing/[resource] ──► OpenF1 provider (live | historical) ──► zod validation ──► normalisation ──► { data, provenance }
──► /api/results, /api/season, /api/circuit ──► Jolpica-F1 / OpenF1
──► demo provider (deterministic, runs in the browser; also exposed at /api/timing/*?mode=demo)
lib/config/: the 2026 grid, teams, scoring and calendar (typed, validated at load).lib/timing/: domain types, formatters, calculations, the track-status state machine, zod schemas, pure OpenF1 normalisation, telemetry alignment.lib/timing/providers/demo/: a fictional circuit and a seeded race simulation. Everything is computed up front, so any instant is a pure function of time.lib/server/: upstream HTTP (rate spacing, retries, cache), OpenF1 and Jolpica clients, the OpenF1 providers, results and standings.lib/client/: settings (localStorage), column visibility (sessionStorage), the timing feed (provider selection, polling, out-of-order protection, freshness) and the demo clock.components/: the shell, timing tower and panels, track map, race control, strategy, telemetry and pages.Deploying to Vercel works as-is: API routes are serverless functions and the cache is per instance.
npm test runs 135 tests covering:
There are no automated browser end-to-end tests; the main flows (timing tower with real and demo data, lap replay, track map, race control, results, schedule, driver/team pages, championship, telemetry, light theme, mobile width) were checked manually in a browser during development.
lib/config/scoring.ts. Displayed totals use the provider's published per-result points, which include penalties. The Championship page shows whether the computed standings match the published standings. Ties are broken by Grand Prix countback.PROVISIONAL.drs channel is not shown. "Overtake enabled/disabled" race-control messages are categorised as such. No battery, energy or brake-temperature channels exist in any source, so none are shown.npm run sync:season to pick up changes.lib/config/drivers-2026.ts was cross-checked against OpenF1's entry list for the United States GP weekend and Jolpica-F1's driver list on 2026-10-24. Results data shows substitute appearances (Yuki Tsunoda at Racing Bulls and Liam Lawson at Red Bull in rounds 12–14). Results and standings always use each session's actual entrant.