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

picrophone

v0.10.3

Published

On-device dictation + text-to-speech bridge for the pi coding agent (macOS; Windows coming soon).

Readme

picrophone

npm version npm downloads

Talk to the pi coding agent with your voice, and have its replies read back to you — fully on-device.

  • Dictation (STT): speak and your words become prompts.
  • Read-aloud (TTS): the agent's replies are spoken back.
  • Pluggable engines: STT and TTS sit behind a common protocol; swap with one command.
  • Interrupt anytime: say "stop" (or "shut up") to cut off a reply.
  • Mute: say "mute"/"unmute", or run /mute, to pause listening without leaving voice mode.
  • Thinking sound: a soft ambient tone plays while the agent works.

It ships as a toggleable pi extension backed by a small native helper.


Quickstart

pi install npm:picrophone

Then run pi, type /voice, and click Allow when macOS asks for Microphone + Speech Recognition (for Picrophone). Now just talk:

  • Speak your request — on a short pause it's sent automatically.
  • Say "stop" (or "shut up") to cut off a reply.
  • Say "mute" / "unmute" (or run /mute) to pause/resume listening.
  • Run /voice again to switch to push-to-talk (review before Enter), and once more to turn voice off. A soft chime means it's listening again.

To pin a version: pi install npm:[email protected]. Remove with pi remove npm:picrophone.


Platforms

macOS (supported)

  • Apple Silicon or Intel — universal binary (arm64 + x86_64), macOS 13+.
  • Dictation: whisper (local WhisperKit, default; models tinylarge) or apple (native SFSpeechRecognizer).
  • Read-aloud: av (AVSpeechSynthesizer, default), say, or qwen (on-device Qwen3-TTS).

Configure engines in ~/.pi/agent/picrophone.json (see docs/configuration.md). Full engine and model reference: docs/engines.md.

Windows (coming soon)

Packaging is wired up (an os-gated optional dependency), but no binary ships yet. See docs/platforms.md.


Usage

Toggle with /voice — cycles: offauto (sends on pause) → push-to-talk (fills the prompt box; press Enter to send) → off. The footer shows the state: 🎙 auto, 🎙 push, 🎙 thinking, 🎙 speaking, 🔇 muted.

Or ask the agent — the extension registers a voice_mode tool, so you can just say/type "turn on voice mode".

Interrupt — while the agent is thinking or speaking, say "stop", "shut up", "cancel", or "wait" to abort the turn and silence the readback. A bare stop word only — "stop the server" is a normal request.

Dictated prompts are prefixed with 🎙 so both you and the model know they came from speech.

Permissions

The first time you start voice mode, macOS prompts for Microphone and Speech Recognition, attributed to Picrophone (not your terminal). Click Allow; review later in System Settings → Privacy & Security. Text-to-speech needs no permission. Why a .app? See docs/architecture.md.

Docs

Feedback

Feature requests and bug reports go in GitHub Issues — see docs/troubleshooting.md for what to include.