HAPI means "哈皮," a Chinese transliteration of Happy. Great credit to the original project.
Run Claude Code / Codex / Gemini sessions locally and control them remotely through a Web / PWA / Telegram Mini App.
Why HAPI? HAPI is a local-first alternative to Happy. See Why Not Happy? for the key differences.
- Start AI coding sessions from any machine.
- Monitor and control sessions from your phone or browser.
- Approve or deny tool permissions remotely.
- Browse files and view git diffs.
- Track session progress with todo lists.
- Supports multiple AI backends: Claude Code, Codex, and Gemini.
npm install -g @twsxtd/hapiOr with Homebrew:
brew install tiann/tap/hapiOther options: Installation guide
- Start the server:
hapi server- Start a coding session:
hapi- Open the UI at
http://localhost:3006and log in with the token in~/.hapi/settings.json.
docker run -d --name hapi -p 3006:3006 -v hapi-data:/data ghcr.io/tiann/hapi-server:latestMore setup options: Installation guide
- Claude CLI installed and logged in (
claudeon PATH) for Claude Code sessions. - Bun if building from source.
bun install
bun run build:single-exe