{"id":50309658,"url":"https://github.com/jahirxtrap/cconnect","last_synced_at":"2026-06-06T00:01:03.354Z","repository":{"id":360968770,"uuid":"1250782296","full_name":"jahirxtrap/cconnect","owner":"jahirxtrap","description":"Mobile interface for Claude Code","archived":false,"fork":false,"pushed_at":"2026-05-31T12:19:30.000Z","size":492,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-31T14:05:42.593Z","etag":null,"topics":["claude-code","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jahirxtrap.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-27T00:56:33.000Z","updated_at":"2026-05-31T12:16:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jahirxtrap/cconnect","commit_stats":null,"previous_names":["jahirxtrap/cconnect"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jahirxtrap/cconnect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahirxtrap%2Fcconnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahirxtrap%2Fcconnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahirxtrap%2Fcconnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahirxtrap%2Fcconnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jahirxtrap","download_url":"https://codeload.github.com/jahirxtrap/cconnect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahirxtrap%2Fcconnect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33964367,"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-06-05T02:00:06.157Z","response_time":120,"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":["claude-code","kotlin"],"created_at":"2026-05-28T20:00:42.045Z","updated_at":"2026-06-06T00:01:03.335Z","avatar_url":"https://github.com/jahirxtrap.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CConnect\n\nMobile interface for **Claude Code**. Drive Claude Code running on your PC —\nsessions, files, projects, file edits, interactive permission prompts — from an\nAndroid app, locally over Tailscale or publicly over a Tailscale Funnel.\n\n```\n[Android app] ──HTTP/WS──\u003e [Backend :8723 on the PC] ──Agent SDK──\u003e [Claude Code]\n```\n\n## Structure\n\n```\ncconnect/\n├── backend/   # FastAPI bridge (Python) — see backend/CLAUDE.md\n└── mobile/    # Android app (Jetpack Compose) — see mobile/CLAUDE.md\n```\n\n## Run modes\n\nThe backend runs in two modes. Both use the same `python run.py` entry.\n\n### Local HTTP (no auth)\n\n```bash\ncd backend\npython -m venv .venv \u0026\u0026 source .venv/Scripts/activate\npip install -e .\npython run.py\n```\n\n- Backend listens on `:8723`, no auth.\n- **Requirement:** both PC and phone have **Tailscale** installed and signed\n  into the same account. The phone connects using the PC's tailnet IP\n  (`100.x.x.x`) shown in the Tailscale app, e.g. `http://100.x.x.x:8723`.\n  No funnel needed.\n\n### Public HTTPS (token-gated, exposes the PC over the internet)\n\n```bash\npython run.py --expose tailscale\n```\n\nWhat this does:\n\n1. Runs `tailscale up` and `tailscale funnel --bg 8723` to publish the backend\n   at `https://\u003chostname\u003e.\u003ctailnet\u003e.ts.net` (port 443).\n2. If `PUBLIC_ACCESS_TOKEN` is unset, generates one and persists it in\n   `backend/.env` (reused on subsequent runs).\n3. Prints the public URL, the token, and a **scannable QR** encoding\n   `{\"url\":\"...\",\"token\":\"...\"}` for the mobile app.\n4. Gates every `/api/*` route — except `/api/health` — behind\n   `Authorization: Bearer \u003ctoken\u003e`. The WebSocket handshake checks the same.\n5. On `Ctrl+C` (or process exit) runs `tailscale funnel --https=443 off` to\n   close the funnel.\n\n**Requirement (PC only):** Tailscale installed, signed in, and **Funnel\nenabled for this node** in the tailnet ACL. The phone needs only an internet\nconnection — no Tailscale required.\n\n## Mobile\n\nOpen Settings → Connections → scan QR (top-right of the dialog) to autofill the\nconnection from `--expose`'s output. The connection becomes active immediately\nand the chat reconnects.\n\n## Built-in features\n\nOn top of plain Claude Code, the backend ships a few helpers wired into the\nagent so they're available out of the box from the phone:\n\n- **Shared folder.** Drop a file into `backend/shared/` — or just ask Claude to\n  write one there — and you get a tap-to-download link in the chat. The phone\n  lets you save it to Downloads, save as somewhere else, or share to another\n  app, all over the same authenticated connection.\n- **Cross-project progress check.** Ask things like _\"how's the README I left\n  running in \u003cother-project\u003e going?\"_ and Claude summarizes that other\n  session's latest activity into Done / Pending / Files touched / Next step,\n  without you having to open it.\n- **Editable system prompt.** `backend/prompts/agent.md` is auto-appended to\n  every chat — that's where the file-sharing and progress-check conventions\n  live. Edit it to teach Claude your own conventions or to add guidance for\n  new tools.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahirxtrap%2Fcconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjahirxtrap%2Fcconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahirxtrap%2Fcconnect/lists"}