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

terminal-thingy

v0.2.1

Published

Stream your terminal to your phone

Downloads

45

Readme

terminal-thingy

Stream your terminal to your phone as a read-only second screen.

What it does

Run the CLI on your laptop, and your terminal appears on your iPhone over local WiFi. No setup beyond scanning a QR code.

Good for:

  • Monitoring long-running tasks without keeping your laptop screen on
  • Watching Claude Code run while you do something else
  • Keeping an eye on builds from across the room

Your phone is a viewer, not a controller. Terminal input stays on your laptop.

Quick Start

npx terminal-thingy

This starts the server, prints a QR code and a PIN. Open the iOS app, scan the QR code (or enter the PIN manually), and your terminal starts streaming.

CLI Options

| Option | Description | Default | |---|---|---| | --port <number> | WebSocket server port | random | | --host <address> | Bind address | 0.0.0.0 | | --shell <command> | Shell to run | $SHELL | | --no-qr | Skip printing QR code | — | | --no-bonjour | Skip mDNS advertisement | — | | --fps <number> | Max updates per second | 30 | | --scrollback <number> | Max scrollback lines | 1000 | | --no-auth | Disable token auth and encryption | — | | --reset-pin | Generate a new PIN for this device | — |

iOS App

Coming soon to TestFlight.

To build from source:

  1. Install xcodegen: brew install xcodegen
  2. cd ios && xcodegen generate
  3. Open TerminalThingy.xcodeproj in Xcode
  4. Set your signing team in project settings
  5. Build and run on your device

How it works

  • The CLI wraps your shell in a PTY and maintains a headless virtual terminal (xterm-headless)
  • Screen state is diffed and streamed over WebSocket at up to 30fps
  • The iOS app discovers the server via Bonjour (mDNS) or by scanning the QR code
  • All traffic is AES-256-GCM encrypted by default
  • Device pairing: enter the PIN once, and the app remembers it for future sessions

Requirements

  • CLI: Node.js 18+
  • iOS app: iOS 16+, iPhone
  • Both devices on the same WiFi network

Security

  • All traffic encrypted by default (AES-256-GCM)
  • PIN-based device pairing
  • Local network only — no data leaves your WiFi
  • Use --no-auth to disable for trusted networks

License

CLI: MIT License. See LICENSE.

iOS app: Source available for personal use and contributions. See ios/LICENSE.