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

claude-pocket

v1.0.3

Published

Hop between Claude Code sessions from your phone — mobile dashboard with tmux window management

Readme

Claude Pocket

Control Claude Code sessions from your phone.

Mobile-optimized dashboard with tmux window management, action buttons (Ctrl-C, Esc, Enter, arrows), text input, and an SSH tunnel for remote access through VPNs.

Features

  • Mobile dashboard — Tokyo Night themed, touch-optimized UI with live ANSI terminal output
  • Session management — switch between Claude Code sessions via tmux windows; swipe to kill
  • Remote access — automatic SSH tunnel via localhost.run, with QR code for quick connect
  • MFA — 6-digit code shown in terminal, invalidated on every wrong guess
  • Full terminal — embedded ttyd terminal for when you need the real thing

Prerequisites

| Tool | Install | |------|---------| | Claude Code | npm install -g @anthropic-ai/claude-code | | tmux | sudo apt install tmux | | ttyd | sudo apt install ttyd | | Node.js 18+ | nodejs.org | | SSH client | sudo apt install openssh-client |

Install

npm pack
npm install -g claude-pocket-*.tgz

Usage

claude-pocket              # start, scan QR to connect
claude-pocket -f 24        # larger terminal font
claude-pocket -T           # LAN only, no tunnel
claude-pocket -k           # stop everything

Options:

| Flag | Description | |------|-------------| | -p PORT | Dashboard port (default: 7682) | | -P PORT | Terminal port (default: 7683) | | -f SIZE | Terminal font size (default: 18) | | -t | Force tunnel (fail if SSH unavailable) | | -T | Disable tunnel (LAN only) | | -k | Kill a running session |

How it works

  1. Starts a tmux session and ttyd web terminal
  2. Launches a Node.js server with the mobile dashboard and API
  3. Opens an SSH tunnel via localhost.run for public access
  4. Displays a QR code — scan it from your phone
  5. Enter the MFA code shown in the terminal

From the dashboard you can read Claude's output, send messages, use action buttons, and manage multiple sessions from the hamburger menu.

Environment variables

| Variable | Default | Description | |----------|---------|-------------| | CLAUDE_POCKET_PORT | 7682 | Dashboard server port | | CLAUDE_POCKET_TTYD_PORT | 7683 | ttyd terminal port | | CLAUDE_POCKET_TOKEN | random | URL token (auto-generated) | | CLAUDE_POCKET_TMUX_SESSION | claude-pocket | tmux session name | | CLAUDE_POCKET_TUNNEL | auto | auto, on, or off | | CLAUDE_POCKET_FONT_SIZE | 18 | Terminal font size |

License

MIT