outloud 0.1.0

Claude Code Stop hook that reads each reply out loud with your OS built-in voice
outloud-0.1.0 is not a library.

outloud

Claude Code, out loud. A tiny Rust Stop hook that reads each reply aloud with your operating system's built-in voice. No cloud, no API keys.

OS Voice used
macOS say
Windows PowerShell System.Speech
Linux espeak-ng if installed, otherwise spd-say

Code blocks are spoken as "code block", markdown symbols are stripped, and replies are capped at 4000 characters. The text is passed to the voice on stdin, never through a shell.

Install

  1. Install the binary (needs Rust):

    cargo install --git https://github.com/logesh-kumar/outloud
    

    Or download a prebuilt binary from the Releases page and put it on your PATH.

  2. Add the plugin in Claude Code:

    /plugin marketplace add logesh-kumar/outloud
    /plugin install outloud@outloud
    

On Linux, install a voice if you have none: sudo apt install espeak-ng.

Without the plugin

Add this to ~/.claude/settings.json, using the binary's absolute path:

{
  "hooks": {
    "Stop": [
      { "hooks": [{ "type": "command", "command": "/absolute/path/to/outloud" }] }
    ]
  }
}

Try it

echo '{"transcript_path":"/path/to/transcript.jsonl"}' | outloud --dry-run

--dry-run prints the speech command and the cleaned text instead of speaking.

Turn it off

  • For one session: start Claude Code with OUTLOUD_OFF=1 (plugin install only).
  • For good: /plugin uninstall outloud@outloud, or remove the Stop entry from your settings.
  • Run /hooks in Claude Code to see whether the hook is registered.

Develop

cargo test
cargo clippy --all-targets
cargo install --path .

Release

Bump version in Cargo.toml and .claude-plugin/plugin.json, then:

git tag v0.1.0 && git push origin v0.1.0

The release workflow tests, builds macOS, Linux and Windows binaries, and attaches them to a GitHub release.

License

MIT