正在整理你需要的资料…
FireTable/comfy-colab-kit ↗ · 项目主页 ↗
Google Colab 的 GPU 一闲置就被回收,跑 ComfyUI 稍不注意就断。comfy-gate 是这套常驻网关:按需唤醒 Colab 上的实例,睡眠时只给一张带 SSE 实时进度的唤醒卡片,醒着时透明反代进原生 ComfyUI 完整界面,还能按空闲时间与 CU 预算自动关停,起停走 colab exec。
适合没有本地显卡、想用 Colab 算力跑 ComfyUI 出图或出视频的人,也能让 Agent 直接调网关。官方定位是个人自用,转售或共享算力可能违反 Colab 条款。
comfy-colab-kit
Google Colab 的 GPU 一闲置就被回收,跑 ComfyUI 稍不注意就断
下面是把仓库 README 逐节读完后归纳出的中文要点。
网关 comfy-gate 可完全跑在自己的本地电脑上,也可部署到 VPS 上并挂在 Cloudflare Access 之后;它不重写 ComfyUI,只负责唤醒与自动关停。
展示落地页、冷启动唤醒网关与 Colab L4 上的 ComfyUI 界面,并列出智能体端到端调用网关的三个真实会话及其耗时。
对比传统 Colab 与本方案:算力与人值守解耦,会话状态存在网关不怕本地断开,用自定义域名加 Cloudflare Access 认证,并按规则自动关停。
手机或终端一键唤醒 Colab 上的 ComfyUI,支持 MCP、多身份校验、共享会话、并行下载加速与自动关停;ComfyUI 的接口全部可直连。
按需选择部署方式:个人创作者可在本机控制临时 GPU 并把界面推到本地端口,团队则可部署到服务器做长期自动化与 webhook 接入。
编码智能体可用设备码或服务令牌配对,查状态与配置、发起幂等唤醒、调用生成接口,任务执行完可以主动释放算力。
python -m venv .venv && . .venv/bin/activate && pip install -e ".[dev]"
npm install # Graphviz (WebAssembly) — lays out the architecture diagram
python -m pytest -q
node scripts/build-hero.mjs # the dispatch bench, assets/architecture/hero.svg
python scripts/build-architecture-svg.py # regenerate assets/architecture/flow*.svg
AUTH_DISABLED=true STATE_DIR=/tmp/kit COLAB_BIN=/bin/false python -m gate.app # wake page on :8080comfy-colab-kit/
├── apps/
│ ├── gate/ # [Application] Gateway & Reverse Proxy (backend Python + web UI)
│ │ ├── app.py # aiohttp entrypoint, routes, middleware, auto-stop loop
│ │ ├── session.py # Central single-instance Session orchestrator
│ │ ├── proxy.py # Reverse proxy with SSE/WS streaming & overlay injection
│ │ ├── openapi.yaml # OpenAPI 3.1 specification
│ │ └── web/ # Wake page static UI (index.html, bg.js, logo.svg)
│ └── site/ # [Application] Showcase / Landing Site
│ ├── index.html # Showcase documentation & promo page
│ ├── styles.css # Aligned theme styles
│ └── main.js # Client interactions
├── packages/
│ ├── colab/ # [Package] Colab VM agent & runtime (setup.py)
│ ├── cli/ # [Package] Host & developer CLI tool (ckit)
│ └── schemas/ # [Package] JSON Schema definitions (profile.schema.json)
├── profiles/ # Profiles & Model Configurations
│ ├── examples/ # Built-in community profiles (moss-image, flux-klein, wan-ltx-video, sd-latest, qwen-image)
│ └── custom/ # Mount point for user custom profiles
├── deploy/ # Infrastructure & deployment configuration
│ ├── Dockerfile # Container build recipe
│ ├── docker-compose.yml # VPS orchestration
│ └── Caddyfile.snippet # Reverse proxy routin| 主要语言 | Python | 许可 | MIT |
|---|---|---|---|
| 创建时间 | 2026-10-24 | 最近提交 | 2026-11-12 |
| 站内采集 | 2026-11-06 起,连续观察 13 天 | 最近一次 | 2026-11-18 |
最近 12 次采集
2026-11-06 87 ★ → 2026-11-18 138 ★ (累计 +51)
数据来自 GitHub 公开接口的每日采集快照,star 数为采集当时读到的值, 与 GitHub 页面上显示的实时数字可能有几分钟的差距。 项目名点击可回到 本页。