← All Work

Fastest Lap Times (FLT)

A personal lap-time tracker for Assetto Corsa.

Python Flask SQLite Steam OpenID INI Parsing Custom SQL Schema Blueprints
Type Personal project
Role Sole developer
Stack Python · Flask · SQLite · Steam API

The problem

Assetto Corsa stores personal bests in local files, one per car and track combination. Reviewing times meant opening files manually or checking an in-game menu one combination at a time.

I built a harvester and web application to turn those files into views across cars, tracks, and sessions, with split analysis.

The Solution

FLT is a full-stack Flask application built around a Python harvester that reads game files, normalizes the data, and loads it into a custom SQLite schema. A web interface then exposes the data through browseable catalog views, per-session time breakdowns, and split analysis, all behind Steam OpenID so only the account owner can access it.

I treated the game?s output directory as a data source: read the files, normalize the records, and build views the game did not provide.

How It Works

  • The harvester scans the Assetto Corsa output directory, locates personalbest.ini and laps.ini files, and parses them into structured payloads
  • Split times are correlated to personal bests by matching lap times across files
  • Parsed data is submitted to the app via a CLI submitter and written into a custom SQL schema designed for per-car, per-track, and cross-session querying
  • Steam OpenID handles authentication: users sign in with their Steam account, and the app verifies identity against the Steam OpenID endpoint before granting access
  • A catalog blueprint provides car and track browse views; a times blueprint handles per-lap detail and split breakdowns
  • Custom Jinja filters handle slug-to-display-name formatting for cars and tracks

What It Demonstrates

  • End-to-end product thinking: raw files → ETL → structured schema → authenticated web UI
  • Custom SQL schema design to support queries that the raw source data makes impossible
  • Third-party authentication integration with Steam OpenID, not just username/password auth
  • Flask application factory pattern with blueprint-based feature organization
  • Separating data ingestion (harvester CLI) from data serving (web app)

Keep exploring

More projects · Get in touch