- Rust 97.5%
- Shell 2.2%
- Python 0.3%
eframe's default features were off, which also dropped its clipboard support, so every copy and paste did nothing. Each colour button in the layout editor now has a hex field beside it that also takes r, g, b[, a]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .cargo | ||
| agent | ||
| docs/screenshots | ||
| flatpak | ||
| protocol | ||
| timer | ||
| vendor | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| TODO.md | ||
Nyx
A keyboard-driven, Wayland-native speedrun timer for Linux, with auto splitting that works with Flatpak Steam and Proton without loosening any system security settings.
- Global hotkeys on Wayland through the desktop's Global Shortcuts portal.
- Splits and comparisons: Personal Best, Sum of Best, Average and Last Run, with golds, live deltas and run history.
- Real time or game time, with game time following LiveSplit's model, so load removers and in-game timers both work.
- LiveSplit compatible: speaks LiveSplit's server protocol on its usual
port, so existing game mods and tools can drive it, and opens LiveSplit
.lsssplit files. - Auto splitters for Steam games:
nyx-agentruns LiveSplit's WASM auto splitters against a game, native or Proton, from the game's launch options. Pick one from LiveSplit's list in the split editor and edit its settings there.
The times in the screenshots are made up.
Repository
| Directory | What it is |
|---|---|
timer/ |
The timer itself (nyx) |
protocol/ |
nyx-protocol: the LiveSplit server protocol, shared by the timer and its clients |
agent/ |
nyx-agent: a Steam launch-option wrapper that runs auto splitters |
vendor/ |
A patched copy of LiveSplit's auto-splitting runtime |
flatpak/ |
Flatpak packaging for the timer |
Building
Needs a recent stable Rust (1.96 or newer for the agent) and a desktop with the Global Shortcuts portal for hotkeys.
cargo build --release -p nyx
./target/release/nyx [split-file]
A Flatpak (se.jimmy_b.Nyx) can be built from flatpak/.
The agent is built statically so it runs inside Steam's containers; see
agent/README.md:
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl -p nyx-agent
Game integration
Three ways for a game to drive the timer, all on localhost only:
- LiveSplit server protocol on TCP port 16834: line-based commands such
as
startorsplit,pausegametimeorgetcurrenttime. Anything written for LiveSplit's server works unchanged. - HTTP API on port 28772: simple
POST /api/split-style endpoints and a JSON state endpoint, handy for scripts. nyx-agent: memory-reading auto splitters, no game mod needed. Nyx installs it for Flatpak Steam, finds splitters in LiveSplit's list, and shows their settings in the split editor.
The timer's side of both APIs is described in timer/README.md.
Development
cargo test --workspace
cargo clippy --workspace --all-targets
timer/tests/ has end-to-end scripts that drive a running timer over both
APIs, and agent/README.md describes how to test the
agent with a minimal auto splitter. Planned work is in TODO.md.
License
MIT; see LICENSE. The vendored auto-splitting runtime is
MIT OR Apache-2.0.

