zhaimingyou/aisync
zhaimingyou★ 1Shell最后同步: 2026-08-17
aisync多电脑统一入口: SSH 反向隧道 + nginx + Authelia 把多台电脑的 DeepSeek Harness Web GUI 聚合到一个域名下(含 ECS 控制面/机器侧 agent/一键部署脚本)
README 摘要
aisync 多电脑统一入口 一个入口(选择器页)→ 每台电脑一个子域名 → 服务器上的 SSH 隧道反代到各电脑的 DeepSeek Harness(DSH)Web GUI。 本文档以作者自己的部署为例(域名 aisync.club、ECS 阿里云)。 换成你自己的域名/服务器 见下方「部署到自己的域名/服务器」——仓库已参数化,占位符见「部署前替换清单」。 架构 - DNS :泛域名 .aisync.club A 记录 → REPLACE ECS PUBLIC IP (加新电脑/改名不用再动 DNS) - 证书 :泛域名证书 .aisync.club + aisync.club (certbot + 阿里云 DNS-01) - 认证 :Authelia,cookie 域 .aisync.club ,一次登录三台通用 - 隧道 :每台电脑 autossh/ssh 反向隧道,连 ECS 的回环端口;ECS 无需开放任何新公网端口 - 控制面 :ECS 上的 aisyncd (Python 标准库守护进程,仅回环监听),负责机器注册、心跳聚合、nginx map 渲染 - 昵称同步 :ECS 上的 labels-api (仅回环监听,受 Authelia 保护),✏️ 昵称按账号存储、跨设备生效 - 仪表盘 :首页除选机器卡片外,还显示每台机器的 DSH 活动连接数(机器侧统计 TCP 到 DSH 端口)和 24 小时连接数;下方"近期连接"表展示最近连接(时间/机器/用户/来源 IP/方式),数据来自 nginx 机器子域名 JSON access log → aisyncd 聚合 控制面(aisyncd)与机器记录 机器清单的唯一数据源是 ECS 上的 /etc/aisync/machines/ .json (每台机器一份记录: name / label / icon / port / heartbeat token / last seen / last hb )。以下产物全部由 aisyncd 从记录派生: 产物 路径 说明 nginx map 反代 /etc/nginx/conf.d/machines.conf 按记录渲染(map 版,见 ecs/nginx-machines.conf ) 选择器数据 /var/www/aisync-selector/machines.json 分层健康:隧道 → 心跳 → DSH + 活动连接数 连接日志 /var/www/aisync-selector/connections.json 仪表盘近期连接聚合(来源:nginx 机器子域名 JSON access log) 兼容数据 /var/www/aisync-selector/status.json 旧格式(name/port/icon/label/online)…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 87,829
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 28,745
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,971