Claude Code AFK

Get push notifications to your phone when Claude Code needs your attention

📱

Push Notifications

Receive instant notifications on your phone when Claude Code requires input

🔒

Secure Pairing

Simple QR code pairing with secure device tokens and Web Push API

âš¡

Lightweight

Minimal Rust CLI with no async runtime overhead

How It Works

1

Pair Your Device

Run the CLI setup command and scan the QR code with your phone

2

Grant Permissions

Enable push notifications when prompted in your browser

3

Configure Claude Code

Add the notification hook to your Claude Code configuration

4

Stay Notified

Get push notifications whenever Claude needs your attention

Architecture

Claude Code
→
CLI Tool
Rust
→
Backend
SvelteKit
→
Your Phone
Web Push

Quick Start

# Install the CLI
cargo build --release
# Pair your device
claude-afk setup
# Test notification
echo '{"message":"Hello!"}' | claude-afk notify

Built with SvelteKit, Rust, and Web Push API