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

tau-mirror

v1.0.7

Published

Web UI that mirrors your Pi terminal session in the browser

Readme

Tau

A web UI that mirrors your Pi terminal session in the browser. No separate server — it runs as a Pi extension inside your existing process.

Tau dark mode

Tau terracotta theme

Settings

Commands

What it does

Tau connects to your running Pi TUI and gives you a second view in the browser. Same session, same messages, same tools — just a different screen. Type in the terminal or the browser, both stay in sync.

  • Live mirroring — streams messages, tool calls, and thinking blocks in real-time
  • Works on any device — open it on your phone, tablet, or another monitor
  • Session browser — view history from any past session
  • No extra process — the Pi extension is the server

Install

pi install npm:tau-mirror

Or from git:

pi install git:github.com/mattkennelly/tau

Usage

  1. Start Pi normally in your terminal
  2. Open the URL shown in the status bar (default: http://localhost:3001)
  3. That's it

Type /qr in the terminal to show a QR code and scan it to access via your phone.

Features

Chat

  • Full markdown rendering with syntax-highlighted code blocks
  • Streaming responses with typing indicator
  • Image attachments (paste, drag & drop, or button)
  • Copy any message with one click
  • Inline diff viewer for edit tool calls (red/green lines)
  • Scroll-to-bottom button with new message indicator
  • Message queuing — type while the agent is working, messages queue and auto-send

Session Management

  • Browse all past sessions grouped by project
  • Full-text search across all session history with highlighted snippets
  • Sorted by last modified (most recent first)
  • Live session marked with a green dot
  • Historical sessions are read-only
  • Inline session rename
  • Favourite sessions, tags, and filtering

Model & Thinking

  • Model picker with search/filter and keyboard support
  • Thinking level toggle (off/low/medium/high)
  • Token usage percentage with context window visualiser
  • Cost tracking per session

Voice Input

  • Mic button in the input area using Web Speech API (on-device dictation)
  • Live transcription into the textarea
  • Pulses red while recording

File Browser

  • Right sidebar with lazy-loaded file tree
  • Navigate directories, open files natively
  • Drag files onto the input to insert their path

Compaction

  • Manual context compaction with status display
  • Auto-compaction support

PWA

  • Installable as a standalone app on iOS, Android, and macOS
  • Custom app icons
  • Service worker with network-first caching

Configuration

Environment variables (set before starting Pi):

| Variable | Default | Description | |----------|---------|-------------| | TAU_MIRROR_PORT | 3001 | Server port | | TAU_STATIC_DIR | (bundled) | Override static files path |

How it works

Tau is a Pi extension that starts an HTTP + WebSocket server inside the Pi process. The extension subscribes to all Pi events and forwards them to connected browser clients. Commands from the browser are executed via the extension API against the same agent session.

┌─────────────┐     ┌──────────────────────────────┐     ┌─────────────┐
│  Pi TUI     │     │  Pi Process                  │     │  Browser    │
│  (terminal) │◄───►│                              │◄───►│  (Tau)      │
│             │     │  tau extension               │     │             │
└─────────────┘     │    ↳ HTTP + WS on :3001      │     └─────────────┘
                    └──────────────────────────────┘

There's no separate server to run. The extension auto-loads when Pi starts and shuts down when Pi exits.

Development

Clone and point the extension at the local static files:

git clone https://github.com/mattkennelly/tau.git
cd tau
TAU_STATIC_DIR=$(pwd)/public pi

Edit the files in public/ — refresh the browser to see changes.

License

MIT