This tool helps iRacing users efficiently navigate series, cars, and tracks, allowing them to make informed decisions about the best content to purchase based on usage in the current season. The project also includes wishlist functionality, allowing users to add items and navigate to iRacing's website for easy purchasing.
Visit it at: https://adrianulima.github.io/my-racing-planner/
This project is not affiliated with or endorsed by iRacing.com.
- Content Analysis: View cars and tracks used by every active series, and decide best purchase for the season.
- Wishlist: Add cars and tracks to a wishlist for streamlined purchasing.
- Integration with iRacing: Links to iRacing's website to complete purchases.
Before running the project, ensure you have the following installed:
- Node.js (v20 or newer)
pnpm
package manager
-
Clone the repository:
git clone https://github.com/your-username/iracing-content-navigator.git cd iracing-content-navigator
-
Install dependencies:
pnpm install
To start the development server:
pnpm run dev
The app will be available at http://localhost:5173/my-racing-planner.
To create a production build:
pnpm run build
The output will be located in the dist
folder.
To preview the production build locally:
pnpm run preview
The project includes scripts to fetch data from iRacing's public API and parse it into JSON files. These scripts require valid iRacing credentials in the .env
file.
-
Create a
.env
file in the root directory and add your iRacing API credentials:IRACING_USERNAME=your_username IRACING_PASSWORD=your_password
-
Run the fetch script:
pnpm run fetch-data
-
Process the fetched data into parsed JSON files:
pnpm run parse-data
Copy the content of ir-api/parsed/
folder into src/ir-data/
folder. The generated JSON files will be used to populate the application's content.
Contributions are welcome! If you'd like to improve this project, please:
- Fork the repository
- Create a new branch (
git checkout -b feature-name
) - Commit your changes (
git commit -m 'Add feature-name'
) - Push to the branch (
git push origin feature-name
) - Open a pull request