Discord Rich Presence for iRacing sessions using python.
- Display current session, position, laps, current track name and car name.
- User-friendly interface and installation
- Lightweight
- Customizable settings
Idle | Practice |
---|---|
![]() |
![]() |
Time Attack | Racing |
![]() |
![]() |
-
Ensure Python 3.12.4 or later is installed.
-
Clone the repository
git clone https://github.com/BananaJeanss/iRacingRPC
-
Navigate to the project directory
cd iRacingRPC
-
Install the required dependencies
pip install -r requirements.txt
-
Make sure everything in settings.json is to your liking.
-
Run the application
py main.pyw
If you want to see the console, rename main.pyw to main.py.
Settings.json has a few settings that you can change to your liking.
- updateInterval: The interval in seconds at which the presence updates.
- displayIdle: Boolean value to show or hide the idle status.
- displayGithub: Boolean value to show or hide the GitHub link in the presence when idle.
- CustomIdleText: Text to display when the user is idle.
- EnableLock: If set to true, the script will not run again if it's already running. If psutil is installed, it will check the PID value inside irpc.lock and check if a process with the same PID is already running. Without psutil, the script will just check if irpc.lock exists.
If you're interested in contributing to this project, we welcome your help! Please refer to the CONTRIBUTING.md file for detailed information on how to get started.
Whether you have ideas for new features or have found a bug that needs fixing, we encourage you to open an issue or submit a pull request. Your contributions are greatly appreciated!