npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cvox

v3.0.1

Published

Claude Voice Notifications - voice alerts and desktop notifications for Claude Code.

Readme

cvox

Voice notifications for Claude Code and the Claude Desktop app. Get spoken alerts or desktop notifications when Claude needs permission or finishes a task — so you can step away from the screen.

Upgrading from v2? The v3 rewrite is a Go binary with no runtime dependencies. Run cvox remove --global to uninstall the old Node version, then follow the install steps below.

Features

  • Works with both the Claude Code CLI and the Claude Desktop app — one setup covers both
  • Cross-platform TTS: macOS (say), Linux (espeak), Windows (SAPI via PowerShell)
  • Cross-platform desktop notifications: macOS (osascript), Linux (notify-send), Windows (PowerShell NotifyIcon)
  • Interactive setup: choose language and notification method (voice, desktop, or both); each offers an "Inherit" option to fall back to the parent layer (defaults → ~/.cvox.json)
  • Two hook events: permission prompt and task completion
  • Three-layer config merging: defaults → ~/.cvox.json → project .cvox.json
  • Idempotent installation — safe to run multiple times
  • {project} placeholder in messages, auto-detected from directory name
  • No runtime dependencies — single Go binary (~3 MB)

Quick Start

# Install via Homebrew (macOS)
brew install lmk123/tap/cvox

# Or via npm (requires Node.js 18+)
npm install -g cvox

# Or install the binary directly (macOS/Linux/Windows)
curl -fsSL https://raw.githubusercontent.com/lmk123/cvox/main/install.sh | sh

# Or download a binary from the Releases page:
# https://github.com/lmk123/cvox/releases

# Set up for your project (run inside the project directory)
cvox init

# Or enable it for every project at once
cvox init --global

cvox always installs its hooks into the global ~/.claude/settings.json, so a single cvox init covers every project and every git worktree on your machine. Whether a given project actually speaks is controlled by a .cvox.json file:

  • cvox init writes .cvox.json to the project root → only this project speaks. Because .cvox.json is committed to git, it travels with every git worktree of the project, so notifications keep working there too.
  • cvox init --global writes .cvox.json to your home directory → every project speaks.

A project with no .cvox.json (neither in its root nor in your home dir) stays silent — voice and desktop notifications both default to off.

Uninstall

# Silence the current project (deletes its .cvox.json; hooks stay installed)
cvox remove

# Fully uninstall: remove the global hooks and ~/.cvox.json
cvox remove --global

Configuration

Create a .cvox.json in your project root or home directory (~/.cvox.json) to customize behavior:

{
  "project": "my app",
  "hooks": {
    "notification": {
      "enabled": true,
      "message": "Claude Code needs permission, from {project}"
    },
    "stop": {
      "enabled": true,
      "message": "Claude Code task completed, from {project}"
    }
  },
  "tts": {
    "enabled": true
  },
  "desktop": {
    "enabled": false
  }
}

| Field | Type | Default | Description | |-------|------|---------|-------------| | project | string | directory name | Project name used in {project} placeholder | | hooks.notification.enabled | boolean | true | Enable alert on permission prompts | | hooks.notification.message | string | "Claude Code needs permission, from {project}" | Message for permission prompt | | hooks.stop.enabled | boolean | true | Enable alert on task completion | | hooks.stop.message | string | "Claude Code task completed, from {project}" | Message for task completion | | tts.enabled | boolean | false | Enable/disable TTS voice globally | | desktop.enabled | boolean | false | Enable/disable desktop notifications globally |

Config files are merged with deep merge — you only need to specify the fields you want to override. Both tts.enabled and desktop.enabled default to false, so a project only speaks once a .cvox.json turns one of them on (which cvox init does for you when you choose a concrete option). When running cvox init, both the language and notification method prompts offer an "Inherit" choice that omits the corresponding field from the .cvox.json, letting it fall back to the parent layer (defaults → ~/.cvox.json).

How It Works

  1. cvox init injects hooks into the global ~/.claude/settings.json shared by both the Claude Code CLI and the Claude Desktop app. Installing once covers every project and every git worktree.
  2. When either surface triggers a hook event (permission prompt or stop), it pipes a JSON payload via stdin to cvox notify.
  3. cvox notify reads the event, loads your config (defaults → ~/.cvox.json → project .cvox.json), and calls the platform TTS engine and/or desktop notification. With no config file present, voice and desktop both default to off, so the project stays silent.

Why the hooks live in the global settings file

Earlier versions wrote hooks to the project's .claude/settings.local.json. That file is git-ignored, and git worktree only checks out tracked files — so new worktrees lost the hook and went silent. Installing the hook globally (machine-level) avoids this entirely, while the committed .cvox.json travels with each worktree to decide whether that project speaks.

Upgrading? Just run cvox init once to install the global hooks — all your existing projects (which already have a committed .cvox.json) start working immediately, worktrees included. If an old project's main checkout double-speaks, it still has a legacy hook in its settings.local.json; re-running cvox init in that project removes it.

License

MIT