Skip to main content

Vibing everything

自托管的 Claude Code 远程控制台 (项目仓库名 ClaudeCodeRemote / CCR, 品牌 "Vibing everything"). 用 Claude CLI 的 stream-json 协议托管会话, 通过 Web/PWA 提供完整的 claude.ai/code 体验 — 聊天、工具批准、diff、推送, 跨 设备同步, 全部跑在自己机器上.

现状 (2026-05)

可用功能:

  • 多机 Hub 聚合: 任意台机器跑 CCR server, 反向 WS 接到一个 Hub, 一个 PWA 面板看所有机器上的 session, 跨机切换无感知
  • 完整聊天 UI: 消息流 + Markdown / 代码高亮 + 工具调用卡 + diff 渲染
    • 权限审批卡 + 自定义 askuser 问答卡
  • PWA: 加到主屏当 app 用; 自适应 iPhone 刘海; 边缘右滑接管系统手势
  • OAuth 登录: Google / GitHub / Gitee (已配); Feishu / DingTalk (代码 现成, 配 client id 即用)
  • 多 LLM 后端: 同一台 CCR server 可对接 Anthropic / DeepSeek / Kimi / Qwen 等 (通过 ANTHROPIC_BASE_URL + 各家 OpenAI-compatible 网关)
  • 自定义 MCP ask_user: 绕过 SDK builtin AskUserQuestion 的硬编码极短 timeout, 用户答题想多久就多久 (见 claude_code_remote/mcp/)

架构

PWA (vibe.qpqi.group)
    ↓ HTTPS + WSS
Hub (FastAPI, 聚合 + auth + forward)
    ↓ 反向 WS tunnel (servers 主动接出)
CCR server × N (每台机器一份, 跑 claude CLI subprocess)
    ↓ stdio stream-json
claude CLI (Anthropic / 第三方 LLM 网关)

部署

  • 自己机器跑 server: 见 PWA Help 页 (登录后顶栏齿轮旁) 的 quick path
  • Hub 容器化: 见 deploy/docker-compose.hub.yml
  • 单机本地 (无 Hub): 见 deploy/README.md

开发约定

新会话进来先读 CLAUDE.md (项目说明 + spec-first 工作流) 和 REQUIREMENTS.md (2026-05-12 设计稿, 目标 + 技术路线 仍然准确).

可视化 SPEC 在 ~/SynologyDrive/Claude/ccr-spec.html (本地路径, 用户私有 工作文件; 每次 UI 改动应同步 SVG mockup + 行为表).

仓库

源: https://github.com/hwaipy/ClaudeCodeRemote

app.py 是 2026-05 前的 Flask + tmux 启动器基线, 已不使用, 保留作 参考 (UI 配色 / systemd 习惯), 后续会清掉.

Metadata

Release files for claude-code-remote 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-code-remote 1.0.2
File Size Uploaded Provenance
claude_code_remote-1.0.2.tar.gz 2.4 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-code-remote 1.0.2
File Interpreter ABI Platform
claude_code_remote-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / claude_code_remote-1.0.2.tar.gz

Download URL claude_code_remote-1.0.2.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
0e9daf488950fe47030fcd39afb35c2d8a058fee33ffb0f97706362cd3d1c899
BLAKE2b-256 checksum
How to use checksums
55b1a4d438ebf09e7ada57bbcc8f9cb19f07cc99999768d1a6156a7989ea061a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

Release files / claude_code_remote-1.0.2-py3-none-any.whl

Download URL claude_code_remote-1.0.2-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
145abf19fe5529877efbe6a71d4cb555281571624f74c7616dafa565101d9753
BLAKE2b-256 checksum
How to use checksums
a50a8df34d8ed5858f3a4564af4cd74ea78539e34432ca5c465bf6dc62366ab7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

Security for claude-code-remote 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for claude_code_remote-1.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page