New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

happy-codex

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happy-codex

Mobile and Web client for Claude Code and Codex

latest
Source
npmnpm
Version
0.14.7
Version published
Weekly downloads
36
111.76%
Maintainers
1
Weekly downloads
 
Created
Source

Fork notice (github.com/shayne/happy)

This is a fork of the upstream project at https://github.com/slopus/happy, focused on first-class Codex support while complementing the original work. You can use this fork via npx -y happy-codex@latest. In this fork, Codex is the default agent.

Happy

Code on the go — control AI coding agents from your mobile device.

Free. Open source. Code anywhere.

Installation

npm install -g happy-codex

Usage

Codex (default)

happy
# Run latest Codex via npx (no global codex install)
happy @openai/codex@latest

This will:

  • Start a Codex session
  • Display a QR code to connect from your mobile device
  • Allow real-time session sharing between Codex and your mobile app

Claude

happy claude

This will:

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

Gemini

happy gemini

Start a Gemini CLI session with remote control capabilities.

First time setup:

# Authenticate with Google
happy connect gemini

Commands

Main Commands

  • happy – Start Codex session (default)
  • happy claude – Start Claude Code session
  • happy gemini – Start Gemini CLI session
  • happy codex – Start Codex mode
  • happy @openai/codex@latest – Start Codex via npx

Utility Commands

  • happy auth – Manage authentication
  • 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

Connect Subcommands

happy connect gemini     # Authenticate with Google for Gemini
happy connect claude     # Authenticate with Anthropic
happy connect codex      # Authenticate with OpenAI
happy connect status     # Show connection status for all vendors

Gemini Subcommands

happy gemini                      # Start Gemini session
happy gemini model set <model>    # Set default model
happy gemini model get            # Show current model
happy gemini project set <id>     # Set Google Cloud Project ID (for Workspace accounts)
happy gemini project get          # Show current Google Cloud Project ID

Available models: gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite

Options

Claude Options (when running happy claude)

  • -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
  • --claude-arg ARG - Pass additional argument to Claude CLI

Global Options

  • -h, --help - Show help
  • -v, --version - Show version

Environment Variables

Happy Configuration

  • 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)

Gemini Configuration

  • GEMINI_MODEL - Override default Gemini model
  • GOOGLE_CLOUD_PROJECT - Google Cloud Project ID (required for Workspace accounts)

Gemini Authentication

Personal Google Account

Personal Gmail accounts work out of the box:

happy connect gemini
happy gemini

Google Workspace Account

Google Workspace (organization) accounts require a Google Cloud Project:

happy gemini project set your-project-id

Or use environment variable:

GOOGLE_CLOUD_PROJECT=your-project-id happy gemini

Guide: https://goo.gle/gemini-cli-auth-docs#workspace-gca

Contributing

Interested in contributing? See CONTRIBUTING.md for development setup and guidelines.

Requirements

  • Node.js >= 20.0.0

For Claude

  • Claude CLI installed & logged in (claude command available in PATH)

For Gemini

  • Gemini CLI installed (npm install -g @google/gemini-cli)
  • Google account authenticated via happy connect gemini

License

MIT

FAQs

Package last updated on 29 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts