A small Windows notifier that turns Codex events or manual messages into desktop alerts.
It currently does two things:
- Sends Windows Toast notifications
- Runs one default full-screen flash effect when a notification is sent
The goal of this project is simple: stay lightweight, direct, and easy to integrate into a local development setup.
- Windows only
- Send manual notifications
- Accept Codex JSON payloads
- Convert
agent-turn-completeevents into readable notification titles and messages - Always run the default flash effect when sending a notification
Show help:
codex-notifier --helpSend a manual notification:
codex-notifier manual "Build finished" "The release build completed successfully."Handle a Codex payload:
codex-notifier codex --json "{...}"If no subcommand is provided, the program sends a default test notification:
codex-notifierBuild the release binary first:
cargo build --releaseThen point notify in ~/.codex/config.toml to the release binary in this project, for example:
notify = [
"D:\\path\\to\\codex-notifier\\target\\release\\codex-notifier.exe",
"codex",
"--json"
]Codex passes the payload as the final argument to --json.
Run locally:
cargo run -- manual "Test" "Hello from codex-notifier"Format check:
cargo fmt -- --checkLint:
cargo clippy --all-targets --all-features -- -D warningsTests:
cargo testBuild release:
cargo build --release- CLI parsing uses
clap - Codex payload parsing uses
serde/serde_json - Toast notifications use
winrt-notification - Full-screen flash uses
screen-flash = "0.1.1"
src/
app.rs # Main application flow
cli.rs # Command-line argument definitions
codex.rs # Codex payload -> NotificationContent
lib.rs # Library entry point and exports
main.rs # Binary entry point
notification.rs # Windows Toast notification sending
Licensed under either of the following, at your option:
- MIT License
- Apache License, Version 2.0