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

autopreso

v0.1.7

Published

Realtime speech to presentation. Let the whiteboard whiteboard itself.

Readme

[!WARNING] autopreso is in alpha and under active development. Expect rough edges, breaking changes, and the occasional weird drawing. Bug reports welcome.

You wanted to give the talk, not build the deck.

autopreso runs a local web app with a live Excalidraw canvas and a listening agent. You speak; transcripts stream to a model; the model draws, labels, and rearranges the whiteboard in real time. Stage a few seed elements, hit start, and present.

  • Hands free - your speech drives an agent that edits an Excalidraw scene as you talk, no clicking required.
  • Bring your own model - use your OpenAI API key or Codex subscription. Auto Preso itself is completely free and open source.
  • Can run locally - use Moonshine for transcription and Ollama for the agent and you get a fully local setup.

Quick Start

$ npx autopreso              # boots the server, opens the browser
autopreso listening at http://127.0.0.1:3210

# In the browser:
# 1. Drop reference materials onto the staging canvas (title, agenda, etc).
# 2. Pick your microphone, transcription model, agent model, and optional Agent instructions.
# 3. Click "Start Preso" and start talking.

Install

npm (recommended)

npm install -g autopreso
autopreso

npx (no install)

npx autopreso

From source

git clone https://github.com/kunchenguid/autopreso.git
cd autopreso
npm install
npm start

How It Works

  ┌──────────┐   audio    ┌──────────────┐   text   ┌──────────────┐
  │   mic    │──────────► │     STT      │────────► │  whiteboard  │
  │ (browser)│   24kHz    │ Moonshine /  │ chunks   │    agent     │
  └──────────┘            │ OpenAI WS    │          │ (OpenAI /    │
                          └──────────────┘          │  Codex /     │
                                                    │  Ollama)     │
                                                    └──────┬───────┘
                                                           │ tool calls
                                                           ▼
                                                  ┌────────────────┐
                                                  │   Excalidraw   │
                                                  │  scene (live)  │
                                                  └────────────────┘
  • Two modes - "staging" lets you sketch seed content client-side; "live" hands the canvas over to the agent, biases OpenAI Realtime transcription toward staging text and labels, and starts streaming transcripts.
  • Local server, local network only - the Express + WebSocket server binds to 127.0.0.1; nothing is exposed beyond your machine.
  • Persistent settings - models, API keys, STT engine choices, and Agent instructions live in ~/.config/autopreso/settings.json and survive restarts.
  • Warmup loop - after you hit start the agent primes itself against your staging content and Agent instructions so the first sentence you say doesn't get a cold model.

CLI Reference

| Command | Description | | -------------- | -------------------------------------------- | | autopreso | Start the local server and open the browser. | | autopreso -h | Show help. |

Flags

| Flag | Description | | ------------ | --------------------------------------------- | | --no-open | Start the server without opening the browser. | | -h, --help | Show help. |

Configuration

Settings persist at ~/.config/autopreso/settings.json and are managed from the in-app status panel. Agent instructions are saved automatically from staging, can be up to 100,000 characters, and take effect on the next Start Preso. The live Session cost card estimates agent token costs and OpenAI Realtime audio costs for the current presentation, resetting on Start Preso or session reset. OpenAI prices use the built-in May 2026 rate table; local providers show $0.0000, Codex shows token volume because it routes through your subscription, and unknown models show n/a.

Defaults on first run

When no settings file exists, autopreso picks providers based on what it finds in your environment:

| You have... | Agent provider | Transcription | | ------------------------------------------ | ------------------------------ | -------------------------- | | Nothing | OpenAI gpt-5.5 (needs a key) | Moonshine medium (macOS) | | OPENAI_API_KEY in env | OpenAI gpt-5.5 | OpenAI Realtime | | Codex CLI signed in (~/.codex/auth.json) | Codex gpt-5.5-fast | Moonshine medium | | Codex CLI signed in + OPENAI_API_KEY | Codex gpt-5.5-fast | OpenAI Realtime | | OLLAMA_MODEL set | Ollama (your model) | Moonshine medium |

Auto-detection precedence: Codex CLI auth wins over OLLAMA_MODEL wins over OPENAI_API_KEY for the agent. Transcription flips to OpenAI Realtime any time an OpenAI key is present, otherwise Moonshine. After first run, this auto-detection no longer applies - change providers from the in-app status panel.

Environment variables

Provider variables only seed settings.json on first run. Once the file exists, they're ignored - edit the file or use the in-app panel. Log path variables are read on each process start.

| Variable | Purpose | | ---------------------- | ----------------------------------------------------- | | PORT | Port to listen on. Default: 3210. | | OPENAI_API_KEY | Seeds the OpenAI key for both agent and Realtime STT. | | OPENAI_MODEL | Seeds the OpenAI agent model. | | OPENAI_BASE_URL | Seeds the OpenAI agent API base URL. | | CODEX_MODEL | Seeds the Codex model. | | OLLAMA_MODEL | Seeds the Ollama model. | | AUTOPRESO_CACHE_LOG | Cache usage log path. Default: ~/.config/autopreso/logs/cache.log. | | AUTOPRESO_DEBUG_LOG | Agent debug log path. Default: ~/.config/autopreso/logs/debug.log. |

Local Moonshine transcription ships as an optional native sidecar for darwin-arm64 and darwin-x64. On other platforms, choose OpenAI Realtime in the STT panel.

Credits

  • Excalidraw - the whiteboard canvas, scene model, and rendering.
  • Moonshine the local speech-to-text model that makes the offline path possible.
  • Vercel AI SDK - tool-calling agent loop and provider abstraction.

Development

npm install                       # install deps
npm run dev                       # run the CLI from source
npm run typecheck                 # tsc --noEmit
npm test                          # node --test
npm run build:moonshine-sidecars  # build the Python sidecar binaries