Skip to content

librae8226/nexus4cc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

291 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Nexus4CC

Your Claude Code, Everywhere.

Node License: GPL v3 GitHub stars PRs Welcome

๐Ÿ‡จ๐Ÿ‡ณ ไธญๆ–‡


Showcase

Record_2026-04-06-21-49-06_40deb401b9ffe8e1df2f1cc5ba480b12-cut-merged-1775484599543.mp4


Highlights

AI on the go Your time is fragmented. Your AI shouldn't be. Command Claude Code from your phone โ€” commuting, in a meeting, or away from your desk.
Built for touch Not a desktop terminal shoehorned onto mobile. Swipe between windows, pinch-to-zoom, configurable toolbar โ€” purpose-built for fingers.
Full context, always Claude Code runs on your machine, in your tmux sessions โ€” your full codebase, your history, your preferences. Not a cloud chat that forgets everything.
Fire and forget Give the instruction, close your phone. Your agents keep running. Open later โ€” everything's exactly where you left it.

Why Nexus 4 CC?

Anthropic Remote Control Happy Coder Omnara nexus4cc
Self-hosted โŒ โŒ โš ๏ธ โœ…
No subscription needed โŒ ($100+/mo) โœ… โŒ ($9/mo) โœ…
Data stays on your infra โŒ โŒ โŒ โœ…
Real terminal (xterm) โŒ โŒ โŒ โœ…
Project & channel management โŒ โš ๏ธ โš ๏ธ โœ…
Fire & forget โš ๏ธ (10min timeout) โœ… (via relay) โœ… (via relay) โœ… (pure tmux)
PWA / installable โŒ โœ… (native app) โœ… (native app) โœ…
Open source โŒ โš ๏ธ partial โœ… โœ…

Project & channel management: Organize work by directory-based projects, each with multiple channel-like sessions โ€” switch between them instantly, like Slack channels for your terminal.


Features

  • ๐Ÿ”Œ WebSocket โ†” tmux bridge โ€” one PTY per window, real-time bidirectional I/O
  • ๐Ÿ“ฑ Mobile-first terminal โ€” xterm.js, swipe navigation, pinch-to-zoom, configurable soft toolbar
  • ๐Ÿค– Task Panel โ€” launch Claude tasks, monitor via SSE streaming, async progress
  • ๐Ÿ“‚ File browser โ€” browse, edit, upload workspace files (sort by name / modified / size)
  • ๐Ÿ—‚๏ธ Project & channel management โ€” directory-based projects, each with channel-like sessions (like Slack channels for your terminal)
  • ๐Ÿ”€ Multi-session โ€” switch tmux sessions instantly
  • ๐ŸŽจ PWA โ€” installable, dark / light themes
  • โšก Zero overhead โ€” direct WebSocket pipe, no SSH

Quick Start

git clone https://github.com/librae8226/nexus4cc.git && cd nexus4cc
cp .env.example .env          # set JWT_SECRET, ACC_PASSWORD_HASH, WORKSPACE_ROOT
npm install && cd frontend && npm install && npm run build && cd ..
npm start
# Open http://localhost:59000 on any device ๐Ÿš€

Full setup guide including Claude profile config, PM2, and mobile access: QUICKSTART.md โ†’


Install with Claude Code

If you're an AI assistant helping a user install Nexus, follow this path:

  1. Clone this repo and cd into it
  2. Run node scripts/setup.js โ€” handles deps, frontend build, PM2, and first tmux session
  3. Verify: pm2 status shows nexus online โ†’ open http://localhost:59000

Prerequisites: Node.js 20+, tmux. PM2 is installed automatically if missing.
Default login password: nexus123 (user can change it in .env after setup).


Deployment

Expose securely without port forwarding via Cloudflare Tunnel or Tailscale.


Requirements

Dependency Version Note
Node.js 20+
tmux any recent
PM2 any recent auto-installed by setup.js
OS Linux / WSL2

Security

Nexus is a single-user, self-hosted tool โ€” not a multi-tenant platform.

  • ๐Ÿ”’ bcrypt (12 rounds) password hash + JWT (30d)
  • โš ๏ธ WebSocket token passed via query string โ€” enable TLS in production
  • ๐Ÿ›ก๏ธ Run behind firewall, VPN, or tunnel โ€” do not expose directly to the internet

Documentation

Doc
QUICKSTART.md Step-by-step setup guide
ARCHITECTURE.md System design
ROADMAP.md What's next
๐Ÿ“– The story behind Nexus Why this was built

Community


Contributing

PRs and issues welcome. See CONTRIBUTING.md for local dev setup, commit standards, and good first issue ideas.


License

Dual-licensed: GPL v3 for open-source use ยท Commercial license available for proprietary / SaaS use โ€” contact librae8226 or faywong


Built with Claude Code, for Claude Code.

โšก