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

pi-speak

v0.2.0

Published

Voice readback extension for Pi — reads agent responses aloud via Unreal Speech TTS

Readme

pi-speak

⚠️ Early development — API and features may change. Install at your own risk.

npm version Test Status TypeScript License: MIT

Voice readback extension for Pi.

Features

  • Voice readback — Press a keybind to hear agent responses via Unreal Speech TTS
  • Voice ping — Spoken summary when agent finishes (LLM-powered via OpenRouter, or fallback)
  • Audio caching — Responses cached for instant replay
  • Status widget — Shows current playback state in the UI
  • macOS support — Platform abstraction exists for future Linux/Windows support

Installation

  1. Install the extension:
pi install npm:pi-speak
  1. Add your API key to your environment by sourcing ~/.env in your shell:
# Add to your shell profile (~/.zshrc, ~/.bashrc, etc.)
source ~/.env

# Or set it inline:
UNREAL_SPEECH_API_KEY=your-key-here pi
  1. Reload Pi — the extension is auto-discovered.

Configuration

On first run, a default config is created at ~/.config/pi-speak/config.json.

All available options with descriptions and defaults are defined in the schema:

  • schema.ts — Zod source with descriptions, defaults, and enums
  • schema.json — Generated JSON Schema (enables editor autocomplete via $schema)

Usage

  • Notification: When the agent finishes, a notification appears with the session name and summary. Navigate to the session yourself, then press alt+r to hear the response.
  • alt+r: Press to replay the last response. Press again during playback to stop.

Debugging

Set PI_SPEAK_DEBUG=0 to disable the debug log, or set "debug": false in config. Log file: ~/.pi-speak-debug.log

Development

Prerequisites

  • Node.js 20+
  • npm

Setup

# Clone the repository
git clone https://github.com/nikbrunner/pi-speak.git
cd pi-speak

# Install dependencies
npm install

Testing

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Run tests with coverage
npm run test:coverage

# Run all quality checks
npm run test:all

Quality Assurance

# Lint
npm run test:lint

# Format check
npm run test:format

# Type check
npm run test:compile

# Regenerate JSON schema after changing schema.ts
npm run generate:schema

# Fix lint and format issues
npm run lint
npm run format

Releases

This project uses release-please for automated versioning and changelog generation via Conventional Commits.

Troubleshooting

Voice readback not working

  1. Ensure UNREAL_SPEECH_API_KEY is set in your environment
  2. Check if system audio is not muted
  3. Look at ~/.pi-speak-debug.log for error messages

Extension not loading

  1. Verify the extension is installed: pi install npm:pi-speak
  2. Check Pi logs for extension errors
  3. Ensure you're on macOS (Linux/Windows audio not yet supported)

Config issues

The config file is at ~/.config/pi-speak/config.json. Delete it to reset to defaults.

License

MIT