Skip to content

Happy Coder CLI to connect your local Claude Code to mobile device

Notifications You must be signed in to change notification settings

yongkangc/happy-cli

 
 

Repository files navigation

Happy CLI (@yongkangc/happy-coder)

Code on the go controlling Claude Code from your mobile device.

Free. Open source. Code anywhere.

This fork includes:

  • Claude Code 2.0.55 (latest)
  • Claude Opus 4.5 support
  • OpenAI Codex support with GPT-5.1-Codex-Max (xhigh/high/medium reasoning)

Installation

npm install -g @yongkangc/happy-coder

Usage

happy

This will:

  1. Start a Claude Code session
  2. Display a QR code to connect from your mobile device
  3. Allow real-time session sharing between Claude Code and your mobile app

Commands

  • happy auth – Manage authentication
  • happy codex – Start Codex mode
  • happy connect – Store AI vendor API keys in Happy cloud
  • happy notify – Send a push notification to your devices
  • happy daemon – Manage background service
  • happy doctor – System diagnostics & troubleshooting

Options

  • -h, --help - Show help
  • -v, --version - Show version
  • -m, --model <model> - Claude model to use (default: sonnet)
  • -p, --permission-mode <mode> - Permission mode: auto, default, or plan
  • --claude-env KEY=VALUE - Set environment variable for Claude Code (e.g., for claude-code-router)
  • --claude-arg ARG - Pass additional argument to Claude CLI

Environment Variables

  • HAPPY_SERVER_URL - Custom server URL (default: https://api.cluster-fluster.com)
  • HAPPY_WEBAPP_URL - Custom web app URL (default: https://app.happy.engineering)
  • HAPPY_HOME_DIR - Custom home directory for Happy data (default: ~/.happy)
  • HAPPY_DISABLE_CAFFEINATE - Disable macOS sleep prevention (set to true, 1, or yes)
  • HAPPY_EXPERIMENTAL - Enable experimental features (set to true, 1, or yes)

Requirements

  • Node.js >= 20.0.0
  • Claude CLI installed & logged in (claude command available in PATH)

Related Projects

License

MIT

About

Happy Coder CLI to connect your local Claude Code to mobile device

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.3%
  • JavaScript 5.7%