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

better-remote-control

v0.2.1

Published

Access your local terminal from a mobile browser via Cloudflare Tunnel

Readme

Better Remote Control

Your local terminal, on your phone.

A lightweight, mobile-first web terminal powered by Cloudflare Tunnel.
Built for running Claude Code from anywhere.

한국어


Why?

Claude Code Remote Control is unstable. Every alternative I tried was either bloated with unnecessary features or riddled with bugs. So I built brc — a focused tool that does one thing well: puts your local terminal on your phone.

Quick Start

Install (no Node.js required)

curl -fsSL https://raw.githubusercontent.com/custardcream98/better-remote-control/main/install.sh | sh

Or download a standalone binary from GitHub Releases.

With npm

npx better-remote-control

From source

git clone https://github.com/custardcream98/better-remote-control.git
cd better-remote-control
pnpm install && cd client && pnpm install && cd ..
pnpm run build && pnpm start

A QR code appears in your terminal. Scan it, enter the password, and you're in.

Features

Run Claude Code Remotely

Control your local Claude Code session from anywhere — on the couch, in bed, on the go. All you need is a phone and a browser.

Multi-Session Terminals

Run multiple sessions side by side — Claude Code in one, dev server in another, tests in a third. Switch between them with a tap.

Mobile-Optimized Keyboard

Quick keys designed for thumb accessibility:

  • Tab Esc — bottom row, easy reach
  • Ctrl+C ⇧Tab Opt+↵ / — top row, auxiliary
  • Arrow keys support long-press to repeat

Image Upload

Upload images from your camera or gallery directly into the terminal. The file path is automatically inserted — perfect for passing images to Claude Code.

Always On

Keeps your Mac awake with caffeinate — close the lid, and your terminal keeps running. Requires power connection.

Auto-Reconnect

Lost connection? brc automatically reconnects and restores your full terminal history. No output is lost.

Secure by Default

Password authentication with rate limiting (5 attempts / 60s), CSRF protection, and timing-safe comparison. Auth tokens are HttpOnly + SameSite=Strict.

Usage

brc [options]

| Option | Description | | --------------------- | ----------------------------------------------- | | -p, --port <port> | Port number (default: 4020) | | --password <pw> | Set password manually (default: auto-generated) | | -s, --shell <shell> | Shell path (default: $SHELL) | | -c, --cwd <dir> | Default working directory (default: $HOME) | | --command <cmd> | Auto-execute command on session start | | --no-tunnel | Disable Cloudflare Tunnel (local only) | | --no-caffeinate | Disable sleep prevention |

# Run Claude Code remotely
brc --command "claude --dangerously-skip-permissions"

# Start in a specific project
brc --cwd ~/my-project

# Local network only (no tunnel)
brc --no-tunnel

# Custom password
brc --password mysecretpassword

Prerequisites

cloudflared is required for remote access via Cloudflare Tunnel:

brew install cloudflared   # macOS
# or see https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/

Without cloudflared, brc still works on your local network with --no-tunnel.

| Requirement | Install | | ----------------- | -------------------------------- | | Node.js >= 18 | nodejs.org | | pnpm | npm install -g pnpm |

License

MIT