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

cloak-remote

v0.1.8

Published

Cloak — a private remote for your coding agent. Control a Claude Code session on your machine from your phone (OpenAI/Gemini next). Scan a QR, end-to-end encrypted, free, cross-platform.

Readme

Cloak — a private remote for your coding agent

Drive Claude Code from your phone. Nothing leaves your machines.

Cloak is a private, self-hosted remote for your coding agent — full terminal and chat, every edit gated with a diff, over a direct end-to-end-encrypted tunnel between your computer and your phone. No account. No cloud. Nothing leaves your two devices.

Works with Claude Code today; OpenAI / Gemini CLI next.

📱 The Cloak mobile app isn't live yet — it's coming soon. The host below (npx cloak-remote) is published and works today, but the iOS / Android app that scans the QR and pairs with it hasn't been released yet. Want early access? Get in touch → — tell us how you'd use Cloak and we'll reach out. We read every message and reply personally.


Quick start

On the computer where you run Claude Code:

npx cloak-remote

That's it — no install, no signup. On first run it:

  1. Asks you to set a PIN (4+ digits).
  2. Prints a QR code in your terminal.
  3. Scan it with the Cloak mobile app (early access — see above) and enter the PIN — the two devices pair directly over end-to-end encryption.

Then drive your agent from anywhere: approve edits with inline diffs, run commands, and watch responses stream.

The command installed by this package is cloak. You can also run it directly with npx cloak-remote.

How it works

The phone is a thin remote. Your message is encrypted on-device, sent to the host, which runs the Claude Agent SDK locally on your existing Claude Code login. Claude decides and acts on your machine; the host streams tokens and tool requests back; the phone renders them and gates every action. The Cloudflare tunnel binary is downloaded automatically on first run — no install, no account.

Options

cloak [start] [options]

| Option | Description | | --- | --- | | --pin <digits> | Set/override the PIN (4+ digits). Persisted for next time. | | --port <n> | Local port to listen on (default 6767). | | --cwd <dir> | Working directory for the shell (default: current directory). | | --lan | Skip the Cloudflare tunnel; advertise the LAN address (same Wi-Fi only). | | --keep-awake | Keep this computer awake while serving so the connection isn't dropped (macOS). | | --fingerprint | Print this computer's pairing-key fingerprint (compare it in the app) and exit. | | -h, --help | Show help. |

Environment equivalents: POCKET_CLAUDE_PIN, POCKET_CLAUDE_LAN=1, POCKET_CLAUDE_KEEP_AWAKE=1.

Security

ECDH P-256 pairing by QR (no key is ever transmitted) → per-message AES-256-GCM → PIN → per-session forward secrecy. The tunnel is outbound-only — no inbound ports are opened. Verify the fingerprint yourself with npx cloak-remote --fingerprint and compare it to the value shown under "Verify encryption" in the app.

Requirements

  • Node.js 18+
  • macOS, Linux, or Windows
  • An existing Claude Code login on the host machine

License

MIT