Back to browse
GitHub Repository

Approve Claude Code permission requests from your phone via ntfy

68 starsJavaScript

Approve Claude Code permission requests from your phone via ntfy

by yuu1ch13·Feb 22, 2026·5 points·2 comments

AI Analysis

●●SolidSolve My ProblemDark Horse

Phone-based approval for Claude Code without abandoning the dev loop entirely.

Strengths
  • Solves genuine friction: Claude Code stalls if you're not at terminal; this unblocks remote work
  • Clever wire-protocol design: ntfy.sh topic routing with SSE + timeout auto-deny is elegant, not over-engineered
  • Low friction setup: QR code subscription, config auto-registration, one command to start working
Weaknesses
  • Extremely niche: only Claude Code users away from terminal; most devs at desk nearby, dismissing the blocker
  • Dependency on public ntfy.sh; users concerned about privacy have no self-hosted bridge unless they fork
Target Audience

Claude Code users who work remotely or away from their terminal

Post Description

Claude Code asks for permission before running tools (Bash, Write, Edit, etc.). If you're not at your terminal, it just waits. This tool hooks into Claude Code's PermissionRequest hook and sends each prompt as a push notification to your phone via ntfy.sh. Tap Approve or Deny, and Claude continues.

Setup:

npm install -g claude-remote-approver claude-remote-approver setup

Then scan the QR code with the ntfy app on your phone and start a new Claude Code session.

How it works: The hook POSTs the permission request to an ntfy topic, then subscribes to a response topic via SSE. When you tap a button on your phone, ntfy delivers the response back. The hook writes {"behavior":"allow"} or {"behavior":"deny"} to stdout and exits.

The topic name is generated with crypto.randomBytes(16) (128 bits), config file is 0600, and unanswered requests auto-deny after 120 seconds.

If you don't want requests going through the public ntfy.sh server, you can self-host ntfy and point the config at your own instance.

Github: https://github.com/yuuichieguchi/claude-remote-approver

npm: https://www.npmjs.com/package/claude-remote-approver

Similar Projects

Developer Tools●●Solid

Claude Relay – Web UI for Claude Code, zero install, push notifications

Runs the agent locally and pushes live streams to a browser tab or your phone using WebSockets + the Web Push API, so approvals no longer block when you step away from the terminal. The PIN-based web auth, per-worktree session model, and direct use of Anthropic's Agent SDK are pragmatic choices that keep everything on-device while solving a very specific, annoying UX gap.

Niche GemWizardry
chadbyte
113mo ago

Clawty - Text your Claude Code from anywhere

A one-day MVP with a very specific charm: install via bun, text your 'clawty' from your phone, and get work done without leaving the bed. It's a clever ergonomics hack for Claude users and the repo-first approach is pleasant, but the UX sounds fragile (author warns texting is "glitchy") and there's no demo or clear delivery/auth model, so it's useful if you have the exact problem but not a must-install for everyone.

Ship ItNiche Gem
ryannampham
203mo ago