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.2.1

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.

Chat with Claude Code, Codex (OpenAI), or Cursor — pick the agent and folder per session. Anything else (Gemini CLI included) runs in the full terminal.

📱 The Cloak app for Android is live — get it on Google Play. Run the host below, scan the QR with the app, and you're paired. On iPhone? iOS is coming soon — get in touch → for early access. 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 app (Android on Google Play; iOS coming soon) 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 and sent to the host, which runs the agent locally on your existing login — Claude Code (via the Agent SDK), Codex, or Cursor — never on your API keys, never metered. The agent 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.

Sessions live on the host, so they survive phone disconnects, sleep, and network changes — reconnect and pick up exactly where you left off. Start with --keep-awake and the connection stays up even with the screen locked.

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). | | --shell <name> | Terminal shell on Windows: powershell, pwsh, or cmd (default: cmd). | | --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/Windows/Linux). | | --fingerprint | Print this computer's pairing-key fingerprint (compare it in the app) and exit. | | --reset-pin | Clear only the saved PIN (you'll be asked for a new one next run) and exit. | | --reset | Erase ALL Cloak state on this computer (PIN, identity, paired devices) and exit. | | -h, --help | Show help. |

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

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 login on the host for at least one supported agent — Claude Code, Codex, or Cursor

License

MIT