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

remote-iterm2

v1.2.6

Published

Control iTerm2 from your phone over local network

Readme

remote-iterm2

Control your macOS iTerm2 from your phone over local network.

Fork of remote-iterm with mobile Safari fixes and key handling improvements.

Install

npm install -g remote-iterm2

Usage

remote-iterm2          # start
remote-iterm2 stop     # stop
remote-iterm2 restart  # restart

Open the printed URL on your phone (same Wi-Fi network).

Configuration

Create ~/.remote-iterm2.json to customize behavior:

{ "tabColor": false }

| Option | Default | Description | |--------|---------|-------------| | tabColor | true | Automatically set tab background color when focusing a window. Set to false to preserve manually set tab colors. |

What's Changed (v1.1.0)

  • Mobile Safari white screen fix — Built frontend as static files served by Express on a single port, eliminating the socket.io-client ESM incompatibility with Vite dev server
  • Key sending overhaul — Control chars (DEL, ESC, ^C, ^D, etc.) now sent via iTerm AppleScript write text (character id N), Enter uses write text "" with default newline. Fixes DEL printing garbage and Enter not executing in apps like Claude Code
  • osascript path fix — Uses full path /usr/bin/osascript to avoid "not found" errors in Node.js subprocesses
  • Quick Actions reorder — Enter button moved to the front: Enter → ESC → ^C → ^D → ^Z → ^L
  • Single port mode — Only port 7291 needed (no separate Vite dev server)

Features

  • Real-time terminal output with syntax coloring
  • Tab management (create, close, rename via long-press)
  • Multi-window support with spatial map
  • Broadcast commands to multiple windows
  • Command history with arrow navigation
  • Virtual keyboard with terminal keys
  • Quick action buttons (Enter, ESC, ^C, ^D, ^Z, ^L, etc.)
  • Clipboard paste/copy
  • Landscape mode optimized for iPhone
  • Dynamic Island / notch safe area handling
  • Connection latency indicator
  • Screen wake lock
  • Long-running command alert
  • Scroll lock
  • Split pane view
  • PWA — add to home screen

Requirements

  • macOS with iTerm2
  • Node.js >= 18
  • Phone on the same Wi-Fi

Documentation

  • User Guide — Full-featured bilingual (Chinese / English) manual with dark theme, sidebar navigation, and responsive design.

Manual Setup

git clone https://github.com/richardhuang/remote-iterm2.git
cd remote-iterm2
cd server && npm install && cd ../client && npm install
cd client && npx vite build && cd ..
./iterm-server

Ports

  • 7291 — HTTP server + WebSocket (single port)

License

MIT