TourniRC is an indev iRC client aiming to be a tournament client for osu built on python and flask. As a consequence of commonplace sheet practice, some commands & features that I would honestly like to have for the sake of completeness weren't added because it would make them redundant. It will aim to do what BrigittaBlazor and c4o haven't done by providing (most of which are still unimplemented):
- Buttons to send ref commands (timers, aborts, starts, setting, clearhost)
- But not invite, move, kick, ban, pw, etc because they're redundant by way of sheet
- Team displays (who's in the room, what's their teams, their mods)
- Audio triggers for preset events & custom chat triggers
- Saving logs
- Automatic dc/rc logic
- Stronger disconnect logic, including saving open rooms and automatically reconnecting to them, preserving chat history, etc.
- Block list
- Settings for users
- Hotkeys to change channels
- And the ability to reorder them
- Persistent tab specific timer storage for individual tournaments
- Also includes persistence for your login.
- Tournament specific configs that allow you to send map change commands with a button press
- (after configuration in the client of course)
- A new modern UI powered by Tailwind & DaisyUI
- Including moving the channel swapping to the sidebar, custom font sizes, and a collapsible actions section on the right of the screen to allow for more things to happen
- 32 themes because dark and pink are cool I think
- Short term room history to allow you to join back quickly after an accidental disconnect
- Automatic score tracking/map winner tracking so you don't have to check the mp link/watch the game/use a slow sheet api
- Hotkeys to send commands?
- Git clone the repo
pip install -r requirements.txtnpm run run
Install Python build dependencies with uv pip install -r requirements-build.txt,
then run uv run --with pyinstaller pyinstaller TourniRC.spec --noconfirm.
The build output is written under dist/ on Windows, macOS, and Linux.
On Windows, macOS, and Linux, the packaged app stores writable configuration
and logs in the platform's per-user application-data directory. Set
TOURNIRC_DATA_DIR or TOURNIRC_LOG_DIR to override those locations.
git tag -a v1.1.0 -m "TourniRC 1.1.0"
git push origin v1.1.0can also be started manually from the repository's
actions tab for an existing v-prefixed tag
TourniRC writes its runtime diagnostics to logs/ automatically:
irc.logcontains the traditional human-readable application log and is reset on startup.irc-events.logcontains rotating JSON-lines records for raw IRC traffic, parsed IRC events, errors, and reconnect state.ui-events.logcontains rotating JSON-lines records for browser and Socket.IO activity.
IRC passwords and tokens are automatically replaced with [REDACTED]. Chat messages and channel names are retained for debugging, so log files should still be treated as private. Structured event logs rotate at 5 MB and retain three backups.
irc is shit and does not have acks for message sends. thus, TourniRC does not automatically resend messages after reconnecting. This is intentional: replaying referee commands such as abort, timer, or match-control commands can duplicate. I added a warning but there is a stale window between when you can dc and when things are back, so if you get a reconnect window, you might have lost some state.
Read help page
cfg/login.inicontains the saved IRC username and password after a successful logincfg/settings.jsoncontains configurationcfg/recentrooms.inicontains recent match-room historycfg/sounds/contains custom sound uploads
If cfg/settings.json is malformed, TourniRC preserves a timestamped .invalid-...json copy and starts with safe defaults.