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

voice-prompter

v0.0.1

Published

Personal Voice Assistant CLI with teleprompter-style display

Readme

Prompter

Personal Voice Assistant CLI with teleprompter-style display. Speak questions, get AI-powered answers displayed in large, easy-to-read text.

Features

  • Push-to-talk voice input - Press Space to record, Space again to stop
  • Speech-to-text via OpenAI Whisper
  • AI responses via Claude Opus 4.5 (through OpenRouter)
  • Streaming teleprompter display - Answers displayed word-by-word
  • Learning mode - Automatically extracts and remembers facts about you
  • Personal memory - Stores facts, conversations, and knowledge base
  • User profiles - Customize response style and personal context

Installation

npm install -g voice-prompter

Quick Setup

1. Install audio recording tool

macOS:

brew install sox

Ubuntu/Debian:

sudo apt-get install sox

Windows:

choco install sox

2. Set API keys

# OpenRouter (for Claude Opus 4.5)
export OPENROUTER_API_KEY=sk-or-...

# OpenAI (for Whisper transcription)
export OPENAI_API_KEY=sk-...

3. Verify setup

prompter setup

4. Start using

prompter

Usage

Interactive Mode

prompter

Keyboard Controls: | Key | Action | |-----|--------| | Space | Push to talk (press to start, press again to stop) | | L | Toggle learning mode | | C | Toggle continuous listening | | P | Edit profile | | K | Add knowledge | | Q | Quit |

CLI Commands

prompter              # Start interactive mode
prompter setup        # Check dependencies and setup status
prompter profile      # View your profile
prompter learn FILE   # Add a document to knowledge base
prompter config       # View configuration
prompter clear-memory # Clear all stored memory

How It Works

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│   Speak     │────▶│   Whisper   │────▶│   Claude    │
│  Question   │     │   (OpenAI)  │     │  Opus 4.5   │
└─────────────┘     └─────────────┘     └─────────────┘
                                               │
                                               ▼
┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│   Learn     │◀────│   Display   │◀────│   Answer    │
│   Facts     │     │ Teleprompter│     │  Streamed   │
└─────────────┘     └─────────────┘     └─────────────┘
  1. Voice Capture - Records audio via SoX
  2. Transcription - Sends audio to OpenAI Whisper API
  3. Context Building - Combines your profile, facts, recent conversations, and knowledge
  4. AI Response - Sends question + context to Claude Opus 4.5 via OpenRouter
  5. Display - Streams response word-by-word in teleprompter style
  6. Learning - Extracts and stores facts from conversation

Data Storage

All data is stored locally in ~/.prompter/:

~/.prompter/
├── config.json           # App settings
├── profiles/
│   └── default.json      # User profile
└── memory/
    ├── facts.json        # Learned facts about you
    ├── conversations.json # Conversation history
    └── knowledge/        # Ingested documents

Getting API Keys

OpenRouter (for Claude)

  1. Go to openrouter.ai
  2. Sign up and add credits
  3. Create an API key starting with sk-or-

OpenAI (for Whisper)

  1. Go to platform.openai.com
  2. Sign up and add credits
  3. Create an API key starting with sk-

Requirements

  • Node.js 18+
  • SoX (audio recording)
  • Microphone access
  • API keys for OpenRouter and OpenAI

Troubleshooting

"No audio recording tool found"

Install SoX using the commands in the setup section above.

"Could not understand audio"

  • Speak clearly and at normal volume
  • Check your microphone is working
  • Ensure you're in a quiet environment

API errors

  • Verify API keys are set: prompter setup
  • Check you have credits on both OpenRouter and OpenAI
  • Verify network connectivity

Permission errors on macOS

Grant terminal microphone permission in System Preferences > Security & Privacy > Privacy > Microphone.

License

MIT