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-whisper-voice

v0.2.0

Published

Minimal hold-SPACE voice input for Pi using an OpenAI-compatible Whisper/STT endpoint.

Readme

pi-whisper-voice

Minimal hold-SPACE voice input for Pi using an OpenAI-compatible Whisper/STT endpoint.

Hold SPACE to record, release to transcribe, and the transcript is inserted into Pi's editor for review. It does not auto-send the message; edit the text and submit manually when ready.

Features

  • Hold SPACE push-to-talk inside Pi
  • Local microphone capture via ffmpeg
  • OpenAI-compatible STT endpoint: POST /v1/audio/transcriptions
  • In-TUI settings for server URL, model, and token
  • Transcript inserted into the editor for review/editing
  • Persistent footer state: 🎤 ready, 🎤 recording, 🎤 transcribing
  • No cloud-provider lock-in
  • No fallback shortcut or global daemon

Usage

Start Pi. If the terminal supports Kitty keyboard protocol, the footer should show:

🎤 ready

Then:

  1. Hold SPACE until recording starts.
  2. Speak.
  3. Release SPACE.
  4. Wait for 🎤 transcribing to finish.
  5. Review/edit the transcript inserted in the editor.
  6. Send manually when ready.

Toggle voice input:

/voice

Configure the STT server URL, model name, and token:

/voice-settings

Alias:

/voice settings

Show the active configuration:

/voice status

Settings are saved under piWhisperVoice in global Pi settings JSON (~/.pi/agent/settings.json). Environment variables can override saved values:

PI_VOICE_STT_BASE_URL
PI_VOICE_STT_MODEL
PI_VOICE_STT_TOKEN

Project-local voice settings are ignored for safety so a repository cannot redirect microphone audio or supply a token.

Current requirements

  • Pi coding agent
  • A terminal/session with Kitty keyboard protocol key-release support
  • ffmpeg installed and microphone permission granted
  • An OpenAI-compatible transcription server

Example STT endpoint shape:

POST http://localhost:8000/v1/audio/transcriptions
Authorization: Bearer dummy
Content-Type: multipart/form-data

Response:

{ "text": "transcribed text" }

Install

Install from npm:

pi install npm:pi-whisper-voice

Or test without installing:

pi -e npm:pi-whisper-voice

Install from GitHub:

pi install git:github.com/kengbailey/pi-whisper-voice

Local development install

This repository can also be loaded directly from disk:

pi -e /path/to/pi-whisper-voice

For global auto-discovery during local development, place it at:

~/.pi/agent/extensions/pi-whisper-voice/

License

MIT