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

claude-says

v1.1.0

Published

Real-time text-to-speech companion for Claude Code CLI — hear Claude think and narrate as it works

Readme

claude-says

Stop staring at your terminal waiting for Claude Code to finish. claude-says reads Claude's output aloud in real-time so you can step away, stretch, or keep working — and just listen.

Built this because I was tired of babysitting my screen every time Claude Code was making changes. Now my laptop tells me what Claude is building.

Install

npm install -g claude-says

Lean install (recommended for macOS): the Google Cloud TTS provider pulls in a large optional dependency tree (~100 packages, ~15 MB). If you use the built-in macOS say voice (the default) or ElevenLabs, skip it:

npm install -g claude-says --omit=optional

You can add it later if you want Google Cloud TTS: npm install -g @google-cloud/text-to-speech.

Quick Start

# 1. Setup (installs Claude Code hook, tests audio)
claude-says setup

# 2. Start the daemon in one terminal
claude-says

# 3. Use Claude Code in another terminal as normal
claude

That's it. When Claude responds, you'll hear it spoken aloud.

Why?

  • Claude Code runs can take minutes — you shouldn't have to watch text scroll the entire time
  • You might miss when Claude asks for input or confirmation
  • Sometimes you just want to code from your couch

TTS Providers

| Provider | Setup | Latency | Cost | |----------|-------|---------|------| | macos (default) | None | Lowest (local) | Free | | google | API key required | ~1-2s/sentence | Pay per use | | elevenlabs | API key required (paid plan) | ~0.5-1s | Pay per use |

# Use a specific provider
claude-says setup --provider macos
claude-says --provider google

macOS (default)

Works out of the box using the built-in say command. No API keys needed.

# Pick a voice
claude-says voices              # List English voices
claude-says voices --all        # List all 177 voices
claude-says --voice "Daniel"    # Use a specific voice

# Control speech rate (words per minute, default: 200)
claude-says --rate 150          # Slower
claude-says --rate 250          # Faster

# Combine options
claude-says --voice "Karen" --rate 150

You can also set these permanently in ~/.claude-says/config.json:

{ "macos": { "voice": "Daniel", "rate": 150 } }

Google Cloud TTS

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json
claude-says setup --provider google

ElevenLabs

export ELEVENLABS_API_KEY=your-key
claude-says setup --provider elevenlabs

Commands

claude-says              # Start daemon (listen to all sessions)
claude-says -l           # Pick a session interactively
claude-says -s <id>      # Listen to a specific session
claude-says -p <name>    # Use a specific TTS provider
claude-says --narrator   # Enable LLM narrator mode (summarizes output)
claude-says --voice "Daniel"  # Use a specific macOS voice
claude-says --rate 150   # Adjust speech rate (words per minute)
claude-says setup        # Configure provider and install hook
claude-says sessions     # List Claude Code sessions
claude-says providers    # List available TTS providers
claude-says voices       # List available macOS voices

Controls (while daemon is running)

| Key | Action | |-----|--------| | p | Pause / Resume | | s | Show sessions | | q | Quit |

How It Works

  1. A Stop hook in Claude Code fires after each response
  2. The hook reads the session transcript and extracts the assistant's text
  3. Text is sent to the claude-says daemon via Unix socket IPC
  4. The daemon splits text into sentences, strips markdown noise, generates audio via TTS, and plays it through an ordered queue

Adding a Provider

Create src/providers/yourprovider.js extending BaseTTSProvider:

import { BaseTTSProvider } from './base.js';

export class YourProvider extends BaseTTSProvider {
  async synthesize(text) {
    // Convert text to audio buffer
    return { audio: buffer, format: 'mp3' };
  }

  async validate() {
    return { ok: true };
  }
}

Register it in src/tts.js.

License

MIT