{"id":47742797,"url":"https://github.com/vutran1710/claudebox","last_synced_at":"2026-04-06T09:05:17.505Z","repository":{"id":344155691,"uuid":"1180693965","full_name":"vutran1710/claudebox","owner":"vutran1710","description":"Claude on the Cloud, accessible via official Claude mobile app, anywhere, anytime.","archived":false,"fork":false,"pushed_at":"2026-04-02T17:51:54.000Z","size":143,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T03:49:50.071Z","etag":null,"topics":["ai","claude","claude-code","deployment-automation"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vutran1710.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-13T10:04:10.000Z","updated_at":"2026-04-02T17:51:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vutran1710/claudebox","commit_stats":null,"previous_names":["vutran1710/claude-devbox","vutran1710/claudebox"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/vutran1710/claudebox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran1710%2Fclaudebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran1710%2Fclaudebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran1710%2Fclaudebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran1710%2Fclaudebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vutran1710","download_url":"https://codeload.github.com/vutran1710/claudebox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran1710%2Fclaudebox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31466228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","claude","claude-code","deployment-automation"],"created_at":"2026-04-03T00:02:56.998Z","updated_at":"2026-04-06T09:05:17.497Z","avatar_url":"https://github.com/vutran1710.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"logo.svg\" width=\"200\" /\u003e\n\u003c/p\u003e\n\n# ClaudeBox\n\nYour personal Claude Code agent, always on, accessible from anywhere.\n\nDeploy Claude Code to a cloud server and access it from your phone, tablet, or any device via the official Claude app. No static workstation needed — your dev environment lives in the cloud, ready when you are.\n\n## Why\n\n- Work from anywhere — phone, iPad, coffee shop laptop\n- Claude Code runs 24/7 with full autonomy, pre-authenticated\n- Session management via HTTP API — create, list, kill sessions remotely\n- Browser automation for Gmail, Discord, Zalo, Messenger via Chrome Lite MCP (optional)\n- Messages aggregated to am-server, queryable anytime (optional)\n\n## Quick Start\n\n```bash\n# 1. Deploy via GitHub Actions (DigitalOcean or Railway)\n\n# 2. Setup — install tools, authenticate, start services\nssh -t root@\u003chost\u003e 'cbx setup'\n\n# 3. Open the Claude app — your session appears automatically\n```\n\n## Commands\n\n```bash\n# Setup (as root, one-time)\ncbx setup                              # install tools, authenticate, start VNC\n\n# Sessions (as claude user)\ncbx code                               # new session in /workspace\ncbx code -g owner/repo                 # clone/find repo, start session\ncbx code -p my-project                 # open existing project\ncbx code --headless -g owner/repo      # non-interactive mode\n\n# API daemon\ncbx serve                              # start API server (foreground)\ncbx serve -d                           # start as daemon\ncbx serve --stop                       # stop daemon\n\n# Utilities\ncbx status                             # show all services + sessions\ncbx show api-key                       # show API key for cbx serve\ncbx help                               # full help\n```\n\n## Session Management API\n\nWhen `cbx serve` is running (port 8091):\n\n```\nPOST   /sessions     Create session { name, github?, project? }\nGET    /sessions     List active sessions\nDELETE /sessions/:n  Kill session\nGET    /health       Health check\n```\n\nAuth: `X-API-Key` header or `?key=` query param.\n\nSee [docs/cbx-serve-api.md](docs/cbx-serve-api.md) for full spec.\n\n## Deploy\n\n### GitHub Actions (recommended)\n\n1. Fork/push this repo to GitHub\n2. Add secrets (Settings \u003e Secrets \u003e Actions):\n\n| Secret | Required | Purpose |\n|--------|----------|---------|\n| `DIGITALOCEAN_ACCESS_TOKEN` | For DigitalOcean | DigitalOcean API token |\n| `RAILWAY_TOKEN` | For Railway | Railway API token |\n| `SSH_PUBLIC_KEY` | Yes | Your SSH public key |\n| `GH_TOKEN` | No | GitHub PAT for `gh` CLI auth on the server |\n\n3. Go to **Actions** \u003e **Deploy to DigitalOcean** \u003e **Run workflow**\n4. Choose region and size, click **Run** (defaults to Singapore)\n\n### Docker (local)\n\n```bash\ndocker build -t claudebox .\ndocker run -d -p 2222:22 -p 6080:6080 \\\n  -e SSH_PUBLIC_KEY=\"$(cat ~/.ssh/id_ed25519.pub)\" \\\n  claudebox\n```\n\n## Architecture\n\n```\nPhone/Tablet/Laptop\n  |\n  +-- Claude App --\u003e Claude Code sessions (tmux)\n  +-- HTTP API  --\u003e cbx serve (port 8091) --\u003e session management\n  +-- SSH       --\u003e direct access\n        |\nClaudeBox (cloud server)\n  +-- cbx serve (API daemon)\n  +-- Chrome Lite MCP (browser automation + plugins)\n  +-- am-server (message store)\n  +-- VNC desktop (Chrome + Fluxbox)\n```\n\nSee [docs/architecture.md](docs/architecture.md) for full diagram.\n\n## Code Structure\n\n```\ncmd/cbx/          Cobra CLI\ninternal/\n  auth/           OAuth + API key management\n  provision/      Tool installation + user creation\n  workspace/      GitHub repo + project resolution\n  session/        Manager interface + TmuxManager\n  service/        Service interface (VNC, AMServer)\n  serve/          HTTP API server\n  shell/          Shell execution utilities\n  setup/          TUI setup flow\n  code/           TUI session creation\n  status/         Status display\n  ui/             TUI components\ntests/            Integration tests + E2E script\n```\n\n49 tests across 10 packages. See [docs/cbx-structure.md](docs/cbx-structure.md).\n\n## Related Repos\n\n| Repo | Purpose |\n|------|---------|\n| [chrome-lite-mcp](https://github.com/vutran1710/chrome-lite-mcp) | Browser automation MCP with plugin system |\n| [am](https://github.com/vutran1710/am) | Message aggregation server |\n\n## Ports\n\n| Port | Service | Access |\n|------|---------|--------|\n| 22   | SSH | Direct (key auth) |\n| 5900 | VNC | localhost only |\n| 6080 | noVNC | Cloudflare tunnel |\n| 7331 | Chrome Lite MCP | localhost only |\n| 8090 | am-server | Cloudflare tunnel |\n| 8091 | cbx serve | Cloudflare tunnel |\n\n## Security\n\n- SSH: key-based auth only\n- VNC: password-protected, Cloudflare tunnel\n- am-server: API key, Cloudflare tunnel\n- cbx serve: API key, Cloudflare tunnel\n- DigitalOcean firewall: only port 22 open\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvutran1710%2Fclaudebox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvutran1710%2Fclaudebox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvutran1710%2Fclaudebox/lists"}