Glen Cornell
Toolkit

Recipe

Make your own F1 standings page

Turn the latest driver championship results into a page you can open on your laptop. Give it a web address and let it refresh after race weekends if you want.

Example from the starter2025 driver standings
Top three drivers after round 24
RankDriverPoints
1Lando Norris423
2Max Verstappen421
3Oscar Piastri410
Source · Jolpica F1, round 24

1. Make the page

Use Download starter above and save the file in a new folder called f1-standings. Open a terminal in that folder. On a Mac, you can type cd followed by a space, drag the folder into Terminal, and press Return. Then run this command.

python3 standings.py

On Windows, open the folder in File Explorer, type powershell in its address bar, and press Enter. Run py standings.py. If the command isn't recognized, install Python 3 and reopen your terminal.

The script asks Jolpica for every driver's rank, name, and points. It writes them to a file called index.html inside a new site folder.

2. Check the result

Double-click site/index.html. The season and round appear above the standings. The source link below the table goes to the numbers for that exact round. Compare the first driver's name and points against that source.

Want to check a completed season? Run python3 standings.py 2025 (or py standings.py 2025 on Windows). Reopen the page. After round 24, Norris should have 423 points and Verstappen 421. Run the starter again without a year to return to the current season.

3. Give it your own spin

Try opening the script with an AI coding tool and asking, “Can you show how many points each driver is behind the leader? Keep the scoring order and add a column to the table.” Run it again for 2025. You should see a gap of two points for Verstappen and 13 for Piastri. That's a quick way to check whether the change did what you asked.

4. Put it on the web (optional)

Create a GitHub repository for the project. Add standings.py at the top of the repository and site/index.html inside its site folder. You can drag the script and the whole site folder into GitHub's Upload files screen. Commit them to the default branch.

In Vercel, import that repository. Choose the Other framework preset, override Build Command with an empty field, and set Output Directory to site. Deploy and open the address Vercel gives you. You should see the same standings you opened on your computer.

5. Refresh it automatically (optional)

Copy the contents of the GitHub Actions workflow. If your browser downloads the file, open it in a text editor. In your repository, choose Add file → Create new file. Name it .github/workflows/update.yml, paste the workflow, and commit it to the default branch.

Open Actions → Refresh standings → Run workflow to try it once. The same workflow checks every day at 07:17 UTC. When the standings change, it commits an updated page to your repository. A connected Vercel project picks up the new commit.

If the run fails at Save any new results, check whether your repository permits workflows to write to the default branch. If Jolpica hasn't posted standings for a new season yet, the script exits with a message and keeps the last page you made.

What's in my version

My F1 standings page also shows how the title race changed over the season. It reads each race and sprint, assigns points to the team a driver raced for that weekend, and checks the totals against the championship standings. The starter takes the published totals directly. It's enough to make a page you can use after the next race.

Make your own F1 standings page | Toolkit | Glen Cornell