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

mobile-controlled-terminal

v1.0.5

Published

Control Claude Code sessions running in iTerm on your Mac from your phone, across multiple Claude accounts

Readme

mobile-controlled-terminal

Control the Claude Code sessions running in iTerm on your Mac from your phone, across all your Claude accounts.

npx mobile-controlled-terminal

That one command sets everything up and prints your phone link. Step-by-step guide with every popup explained: INSTALL.md.

What you get

  • One list of every session from every Claude account on the Mac, with account, folder, status (Working / Needs approval / Idle) and tokens used.
  • Live chat and terminal view of any session, including sub-agents (one tab per agent) and messages that are still waiting for Claude.
  • Control from the phone: send a message, interrupt (Esc), approve or reject permission prompts.
  • Start a new session under any account: pick the folder, type a prompt, and it opens in a new iTerm tab on the Mac. Startup questions (trust this folder? use the browser?) can be answered from the phone too.
  • Phone notifications when Claude needs approval or finishes replying: straight to the phone over Tailscale HTTPS (🔔 in the dashboard), or via the free ntfy app.
  • Works from anywhere over Tailscale (Wi-Fi or mobile data), and (if you choose) with the lid closed.

What setup does

  1. Installs anything missing: Homebrew, Node, Claude Code, iTerm2, Tailscale.
  2. Opens Tailscale for you to sign in.
  3. Asks for your projects folder (default: your home folder). Change it later: npx mobile-controlled-terminal folder.
  4. Sets up keep-awake, OFF by default: asks your Mac password once to allow only pmset disablesleep 0/1 without a password, and installs SwiftBar for a ☾/☀ menu bar toggle. Turn it on when you need it: menu bar, the ☀ button on the phone, or npx mobile-controlled-terminal awake on / off. Works with the lid closed.
  5. Installs a background service that starts at login and restarts if it crashes.
  6. Prints your link and opens a QR code page.

Every step skips itself if it's already done, so it's safe to run again.

On the phone

  1. Install Tailscale and sign in with the same account as the Mac.
  2. Open the link (or scan the QR code at http://localhost:7878/pair on the Mac).
  3. Share → Add to Home Screen.

Multiple Claude accounts

Every ~/.claude and ~/.claude-accountN folder is picked up automatically. To add an account:

alias claude1='CLAUDE_CONFIG_DIR="$HOME/.claude-account1" claude'
claude1   # log in once

Commands

npx mobile-controlled-terminal            # setup (default)
npx mobile-controlled-terminal status     # check everything runs and starts after a restart
npx mobile-controlled-terminal link       # print your phone link
npx mobile-controlled-terminal folder     # choose the projects folder (folder picker)
npx mobile-controlled-terminal awake on   # keep the Mac awake, lid closed too (awake off / awake)
npx mobile-controlled-terminal notify on  # phone notifications (notify off / notify test)
npx mobile-controlled-terminal restart
npx mobile-controlled-terminal logs
npx mobile-controlled-terminal uninstall

Limits

  • macOS + iTerm2 only. Sessions in Terminal.app are view-only.
  • The Mac has to be awake and logged in. If it's asleep, the phone shows "Your Mac isn't reachable" until it wakes.
  • The link contains your access key (~/.claude-mission-control/token). Anyone with the link who can reach your Mac over Tailscale can control your terminals, so don't share it. To reset it, delete that file and run npx mobile-controlled-terminal restart.