| Crates.io | pitbox |
| lib.rs | pitbox |
| version | 0.1.0 |
| created_at | 2025-10-17 15:20:08.2265+00 |
| updated_at | 2025-10-17 15:20:08.2265+00 |
| description | An F1 CLI that can output standings, results, and more. |
| homepage | |
| repository | https://github.com/ZacDanMon/pitbox |
| max_upload_size | |
| id | 1887777 |
| size | 229,977 |
Pitbox is a CLI written in Rust to display F1 standings, results, and other stats in pretty formatted tables using data from the jolpica-f1 API.
This project is still in the early stages, and may change significantly over time.
To install the latest release version, you will need Rust and Cargo installed
cargo install pitbox
The different output types are separated into different subcommands to the main app, with each subcommand having it's own set of optional flags to use. Each subcommand has a shorthand version that is just one letter (usually the first letter of the command), e.g., For standings you can just use s for a shorter version.
pitbox <command> [options]
pitbox standings <-c|-d> [options]
You can specify constructor standings with -c, or driver standings with -d. Output will default to the latest standings of the current F1 season. However that behavior can be overridden using the season flag -s and/or the round flag -r to specify a round to display the standings relative to, e.g., if you wanted to show the driver standings for 2016 at round 13 you would use:
pitbox standings -d -s 2016 -r 13

pitbox results [options]
This command will display the race results of one race. No other part of the weekend is included in this output, only the race. The default race if no options are provided is the most recent race of the current season. This can be overridden by the season flag -s and/or the round flag -r to show the results from a particular season and a particular race.

pitbox driver -n <names> [options]
This command will display stats over a season for one or multiple drivers, giving you a way to compare driver performance. When multiple drivers are requested, they're displayed in descending order by total points. Currently these are the stats that are displayed for each driver:

You can optionally pass a season flag -s to display a driver's race results from any season, otherwise it will default to results from the current season.
This roadmap is very subject to change and includes a mix of big and small additions I'd like to add.
This app would not be possible without the awesome work done by the jolpica API project. If you like this app, please consider donating to their Ko-fi to help keep it running.
Pitbox is licensed under the MIT License.