{"id":50373850,"url":"https://github.com/danlkv/codette","last_synced_at":"2026-05-30T08:30:51.366Z","repository":{"id":357973876,"uuid":"1237008593","full_name":"danlkv/codette","owner":"danlkv","description":"Control your local Claude Code from a mobile-friendly browser UI, anywhere. Self-hosted, end-to-end encrypted, with multi-host multi-device support.","archived":false,"fork":false,"pushed_at":"2026-05-22T04:01:55.000Z","size":2399,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-22T06:43:46.299Z","etag":null,"topics":["agentic-ai","ai-agent","claude-code","e2e-encryption","mobile","software-tools","svelte","tunnel","websocket","webui"],"latest_commit_sha":null,"homepage":"https://codette.ai","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danlkv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-12T19:37:16.000Z","updated_at":"2026-05-22T04:01:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/danlkv/codette","commit_stats":null,"previous_names":["danlkv/codette"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danlkv/codette","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlkv%2Fcodette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlkv%2Fcodette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlkv%2Fcodette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlkv%2Fcodette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danlkv","download_url":"https://codeload.github.com/danlkv/codette/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlkv%2Fcodette/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33686018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["agentic-ai","ai-agent","claude-code","e2e-encryption","mobile","software-tools","svelte","tunnel","websocket","webui"],"created_at":"2026-05-30T08:30:51.304Z","updated_at":"2026-05-30T08:30:51.361Z","avatar_url":"https://github.com/danlkv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codette\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"doc/Codette-mobile-dark-pendulum.png\" width=\"320\" alt=\"Codette mobile UI\" /\u003e\n\u003c/p\u003e\n\n\u003e Control your local Claude Code from a mobile-friendly browser UI, anywhere. Self-hosted, end-to-end encrypted, with multi-host multi-device support.\n\nA three-piece system that lets you run Claude Code on your laptop and drive it from a browser on your phone, tablet, or any other machine. Kick off new prompts and watch output stream in real time — over the public internet, without exposing your machine.\n\n## How it works\n\n```mermaid\nflowchart LR\n    H[\"host\u003cbr/\u003e(your laptop)\u003cbr/\u003eruns Claude\"]\n    S[\"server\u003cbr/\u003e(relay)\u003cbr/\u003eroutes messages\"]\n    C[\"client\u003cbr/\u003e(browser on phone)\u003cbr/\u003eSvelte SPA\"]\n\n    H \u003c--\u003e|WebSocket| S\n    S \u003c--\u003e|WebSocket| C\n```\n\n- **host** — Node process on your local machine. Spawns Claude Code, connects to the server, streams output.\n- **server** — Express + WebSocket relay. Routes messages between hosts and clients. Handles login, JWTs, file serving.\n- **client** — Svelte SPA. Login, session sidebar, chat view with markdown and tool-call rendering, inline file panels.\n\nRun the server anywhere reachable from the public internet (a $5/mo VPS works). Run the host on the machine where you want Claude to do real work. Open the client in any browser to drive it.\n\n## Quick start\n\n**Server** (run on a VPS or any internet-reachable machine):\n\n```sh\ncd server \u0026\u0026 npm install \u0026\u0026 node src/index.js\n```\n\n**Host** (run on the machine where Claude runs):\n\n```sh\n./install.sh   # interactive setup, writes run.sh, optionally installs systemd service\n./run.sh\n```\n\nOr manually:\n\n```sh\ncd host \u0026\u0026 npm install\nCLIENT_USERNAME=you CLIENT_PASSWORD=pass HOST_KEY=secret SERVER_URL=wss://yourserver node index.js\n```\n\n**Client** — the server serves the pre-built client from `client/dist/`. To rebuild:\n\n```sh\ncd client \u0026\u0026 npm install \u0026\u0026 npm run build\n```\n\n## Auth \u0026 encryption\n\nThe host generates an EC P-256 keypair on first run and sends the public key to the server. Clients log in with username + password via HMAC-based challenge-response; the host signs a JWT with its private key, the server verifies with the public key. The password never reaches the server.\n\nWhen a password is set, the client and host independently derive AES-GCM-256 encryption keys from it. All message content is encrypted end-to-end — the server relays opaque ciphertext and cannot read session data, file contents, or git diffs. See [`doc/auth.spec.md`](doc/auth.spec.md) for the full protocol.\n\nMultiple clients can connect to the same host. Multiple hosts (different usernames) can connect to the same server; the server routes messages by JWT.\n\n## Environment variables\n\n| Variable | Default | Description |\n|---|---|---|\n| `SERVER_URL` | `ws://localhost:3000` | Server WebSocket URL (host → server) |\n| `CLIENT_USERNAME` | `whoami` | Username for web login |\n| `CLIENT_PASSWORD` | `changeme` | Password for web login |\n| `HOST_KEY` (server) | _(none)_ | Optional master-shortcut secret. If set, any host presenting it authenticates without going through `/install.sh`. Unset = only per-IP tokens accepted. |\n| `CODETTE_HOST_KEY` (host) | _(none)_ | Token the host presents to the server. Normally written into `credentials.json` by `install.sh`. Required on the host side. |\n| `PORT` | `3000` | Server listen port |\n| `CODETTE_DATA_HOME` | platform default | Override data directory (host keys, session names) |\n| `CODETTE_TRACE` | off | Set to `1` for protocol-level trace logging |\n| `E2E` | on | Set to `0` to disable e2e encryption (debug only) |\n\nChange every default before exposing the server to the public internet.\n\n## Related projects\n\n- [Claude Code remote control](https://code.claude.com/docs/en/remote-control) — Anthropic's official remote access feature\n- [siteboon/claudecodeui](https://github.com/siteboon/claudecodeui) — desktop-focused Claude Code web UI\n- [chadbyte/clay](https://github.com/chadbyte/clay) — local daemon with multi-vendor support (Claude + Codex)\n- [sugyan/claude-code-webui](https://github.com/sugyan/claude-code-webui) — local-only browser UI","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanlkv%2Fcodette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanlkv%2Fcodette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanlkv%2Fcodette/lists"}