openilink-hub is a free, open source ai interaction & interfaces project written in Go and released under MIT. It has 1,579 GitHub stars, 140 forks and 18 open issues, and was last pushed 3 months ago. On this registry it ranks #108 of 135 tracked projects in AI Interaction & Interfaces, with 5 head-to-head comparisons available.

What is openilink-hub?

OpeniLink Hub is a self-hosted, MIT-licensed WeChat bot management platform with a built-in app marketplace, built for developers, operators and teams who want to run and extend WeChat bots through a web console instead of writing raw protocol code.

What it is

OpeniLink Hub is an open-source message management platform and App Marketplace for the WeChat ClawBot plugin, built on the public iLink (智联) protocol. WeChat introduced the ClawBot plugin in March 2026, and iLink became the first officially sanctioned way to send and receive WeChat messages programmatically. The protocol itself, however, is only a raw channel: it can receive messages and send replies, while context_token handling, CDN encryption, 24-hour expiry and multi-bot management are all left to the developer.

The concrete problem the project solves is that gap. OpeniLink Hub wraps those low-level concerns so that a self-hoster can scan a QR code to bind a WeChat account, manage multiple bots from a web console, and extend functionality by installing apps from a marketplace rather than writing code. In place of hand-rolled integration work and command-line-only tooling, it provides a complete platform with a management backend, an application marketplace and multi-channel message distribution. It is written in Go with a React 19 front end and is distributed under the MIT licence.

Key capabilities

  • QR-code binding and multi-bot management through a Web console, with Passkey login and message-chain tracing for diagnosing where a delivery fails.
  • App Marketplace with 20+ Apps, including Lark, Slack, Discord, DingTalk, GitHub, Notion, Google and Linear, plus weather, exchange rate, accounting, map and RSS tools.
  • Three concurrent message delivery channels: WebSocket real-time push, Webhook HTTP callbacks and AI auto-reply to an LLM.
  • Handling of iLink context_token management, CDN upload with AES encryption so images, video and files can be sent in one line, and 24-hour expiry with reminders before the window closes.
  • Seven language SDKs over the public iLink protocol.
  • A built-in OpenClaw app that acts as an AI Agent Gateway, plus support for custom apps connected to your own business systems.

Who uses it and how

  • Teams bridging a WeChat bot into existing chat and productivity stacks, enabling an app to relay messages to Lark, Slack, Discord or DingTalk, or into GitHub, Notion, Google and Linear.
  • Developers who forward WeChat messages to their own services over WebSocket or Webhook instead of installing marketplace apps.
  • Operators running several WeChat bots who need a console for binding, status monitoring and trace-level debugging.
  • Users wanting no-code bots for everyday tasks such as weather, exchange rates, accounting, maps or RSS.

Getting started

The README provides a one-click install for Linux and macOS via curl -fsSL https://raw.githubusercontent.com/openilink/openilink-hub/main/install.sh | sh followed by the oih command, or a Docker run with docker run -d -p 9800:9800 openilink/openilink-hub:latest from Docker Hub or ghcr.io/openilink/openilink-hub:latest from GHCR. After opening http://localhost:9800 and registering, the first account automatically becomes the administrator. SQLite is the default database and PostgreSQL is available by setting DATABASE_URL.

How it compares

OpenClaw is described as an AI Agent framework, while OpeniLink Hub is a message management platform; in the Hub, OpenClaw is simply a built-in app that can be enabled or skipped. Against other iLink-related open-source projects, which the README characterises as low-level SDKs or Agent bridge tools, the Hub positions itself as the only complete platform with a management backend, an app marketplace and multi-channel distribution.

When to use it — and when not to

A self-hoster must operate the service and its host, and choose between the default SQLite database and an optional PostgreSQL instance. Native Windows is not supported, so Windows users must run Docker or WSL2. The project is independently developed against a community-reversed protocol, carries an explicit takedown disclaimer and has no affiliation with the official iLink team, so anyone needing an officially supported or vendor-backed channel should not choose it.

project readme (upstream, from github) — read inline

免责声明:本项目基于公开的 iLink 协议进行独立开发,仅供学习交流与技术研究使用。项目与 iLink 协议的官方团队无任何关联或授权关系。若相关权利方认为本项目存在侵权,请通过 Issue 联系我们,我们将在确认后第一时间予以下架处理。

Disclaimer: This project is independently developed based on the publicly available iLink protocol for learning and research purposes only. It is not affiliated with or endorsed by the official iLink team. If any rights holder believes this project infringes upon their rights, please contact us via an Issue and we will take it down promptly upon confirmation.

OpeniLink Hub



微信 ClawBot iLink 协议的开源消息管理平台 + App 应用市场
Open-source message management platform + App Marketplace for WeChat ClawBot (iLink protocol)

扫码绑定微信号,通过应用市场一键扩展能力 —— 飞书 / Slack / Discord / GitHub / Notion 等 20+ App,装上就用
多 Bot 管理 · 20+ App · 平台互通 · 效率工具 · 生活助手 · AI Tools · 7 种语言 SDK · Passkey 登录

License Go React Docker GitHub Stars Release

官网 & 文档 · 在线体验 · 快速开始 · 应用市场 · SDK · English


快速开始

# 一键安装(Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/openilink/openilink-hub/main/install.sh | sh

# 启动
oih

# 或者用 Docker(二选一)
docker run -d -p 9800:9800 openilink/openilink-hub:latest              # Docker Hub
# 或者 / or:
docker run -d -p 9800:9800 ghcr.io/openilink/openilink-hub:latest     # GHCR

打开 http://localhost:9800,注册账号(第一个注册的自动当管理员),扫码绑定微信号,完事。

默认用 SQLite,不用装数据库,不用配任何东西。想用 PostgreSQL?设个 DATABASE_URL 就行。

Windows 用户:原生 Windows 不支持,请用以下任一方式:

  • Docker(推荐)docker run -d -p 9800:9800 openilink/openilink-hub:latest
  • WSL2:在 WSL 的 Ubuntu/Debian 里按上面的 Linux 方式跑

这是什么?

2026 年 3 月微信推出了 ClawBot 插件,底层叫 iLink(智联) 协议 —— 第一次官方允许你用程序收发微信消息。

但 iLink 只是个原始通道:能收消息、能发回复,没了。你还得自己处理 context_token、CDN 加密、24 小时过期、多 Bot 管理……

OpeniLink Hub 把这些全包了,并且通过 App 应用市场 让你一键扩展功能:

  • 扫码绑定,Web 后台管理多个 Bot
  • 应用市场一键装功能 —— 对接飞书 / Slack / GitHub / Notion,查天气、记账、AI 对话,不用写代码
  • WebSocket / Webhook / AI 三个通道同时转发消息到你的服务
  • 24 小时窗口到期前提醒,避免错过续期
  • 消息链路追踪,出问题一眼看到卡在哪
flowchart TD
    subgraph WeChat
        A[微信 ClawBot 插件]
    end

    A -->|iLink 协议| B[OpeniLink SDK]
    subgraph OpeniLink["OpeniLink Hub"]
      C[消息调度]
    end
    B --> C

    C --> D[App: 平台互通<br/>飞书 / Slack / Discord / 钉钉 / 企业微信]
    C --> E[App: 效率工具<br/>GitHub / Google / Notion / Linear]
    C --> F[App: 生活工具<br/>天气 / 汇率 / 记账 / 地图 / RSS ...]
    C --> G[App: OpenClaw]
    C --> H[自定义 App]
    C --> I[WebSocket 实时推送]
    C --> J[Webhook 转发]
    C --> K[AI 自动回复]

    D --> L[第三方平台<br/>消息互通 + AI Tools]
    E --> M[项目管理 / 文档协作 / 代码仓库]
    F --> N[日常查询 / 自动化 / 个人助手]
    G --> O[AI Agent Gateway]
    H --> P[你的业务系统]
    I --> Q[实时客户端]
    J --> R[HTTP 回调服务]
    K --> S[LLM]
和 OpenClaw 什么关系?

OpenClaw 是 AI Agent 框架,OpeniLink Hub 是消息管理平台,两个东西。

在 Hub 里,OpenClaw 是一个内置 App —— 在应用市场一键启用就行。当然你也可以完全不用 OpenClaw,选别的 App 或直接用 WebSocket/Webhook 对接你自己的服务。

简单说:OpenClaw 管 AI 逻辑,Hub 管消息收发和 App 分发,各干各的,想连就连。

为什么用 Hub?

自己对接 iLink 会遇到这些问题

你遇到的问题 Hub 怎么解决
iLink 没有官方文档,全靠社区逆向 完善中文文档 + 7 种语言 SDK
context_token 管理复杂,消息经常发不出去 SDK 自动处理,你只管收消息发回复
24 小时过期掉线,重要消息丢了 到期前提醒 + 消息持久化
发图片要自己搞 CDN 上传 + AES 加密 一行代码发图片视频文件
只能命令行操作,管不了多个 Bot Web 控制台,扫码绑定、状态监控、消息追踪
想加功能得自己写代码 应用市场一键安装,不写代码也能扩展

和其他开源项目比

GitHub 上有不少 iLink 相关的开源项目,但大多是底层 SDK 或 Agent 桥接工具。Hub 是目前唯一带管理后台 + 应用市场 + 多通道分发的完整平台。

OpeniLink Hub 其他方案
定位 完整消息管理平台 SDK / Agent 桥接器
应用市场 有,一键装功能,支持社区 App
Web 后台 完整控制台 + 消息追踪 无 / 仅配置面板
消息分发 App + WebSocket + Webhook + AI 并行 单一通道
SDK 7 种语言 1~4 种
部署 一行命令,内置 SQLite 零配置 需要外部数据库
OpenClaw 依赖 完全独立(可选适配) 部分强依赖

核心特性

App 应用市场 · 不写代码也能扩展 Bot。20+ 官方 App 覆盖平台互通(飞书、Slack、Discord、钉钉、企业微信)、效率工具(GitHub、Google Workspace、Notion、Linear)、生活工具(天气、汇率、记账、地图、RSS)等场景。通过 PKCE OAuth 安全安装,支持第三方开发者上架。

多 Bot 管理 · 扫码绑定多个微信号,统一面板看状态,到期前提醒防掉线。

说明:微信 24 小时窗口目前不能由 Hub 在后台静默自动续期。Hub 现在支持的是“到期前提醒”,会在窗口快到期时提醒你回一条消息,收到回复后窗口会重新开始计时。

多通道消息下发

  • App — 已安装的 App 自动接收匹配的消息,通过 WebSocket 或 Webhook 投递
  • WebSocket — 毫秒级实时推送
  • Webhook — HTTP 回调,对接任意服务
  • AI 自动回复 — 接入 OpenAI 兼容 API,Bot 自动对话

消息追踪 · 每条消息从收到到投递的完整链路,哪一步耗时多少一目了然,出问题快速定位。

Passkey 登录 · 指纹、Face ID、硬件密钥直接登录,也支持 GitHub / LinuxDo OAuth。

管理后台 · 用户管理、角色权限、OAuth 配置、AI 全局设置、App 管理,一站式掌控。

App 应用市场

Hub 的核心扩展机制。每个 App 是一个独立服务,通过标准协议与 Hub 交互。

能装什么?

平台互通 — 微信与第三方平台双向消息互通 + AI Tools 自然语言操作

应用 能干什么
Lark(飞书) 🔥 消息互通 + 34 个 AI Tools,覆盖日历、云文档、任务、通讯录、多维表格、邮箱、知识库、视频会议等 11 大业务域
Slack 消息互通 + 23 个 AI Tools,管理频道、消息、用户、文件、提醒、书签
Discord 消息互通 + 19 个 AI Tools,管理频道、成员、Embed、服务器
DingTalk(钉钉) 消息互通 + 20 个 AI Tools,覆盖通讯录、日程、待办、审批、考勤、钉盘
WeCom(企业微信) 消息互通 + 18 个 AI Tools,覆盖通讯录、日程、审批、打卡、微盘、客户联系

效率工具 — 在微信里用自然语言操作主流 SaaS 平台

应用 能干什么
GitHub 36 个 AI Tools,管理 Issue、PR、Repo、Actions、Release、Gist
Google Workspace 18 个 AI Tools,操作 Gmail、Calendar、Drive、Docs、Sheets
Notion 15 个 AI Tools,管理页面、数据库、评论、搜索
Linear 13 个 AI Tools,管理 Issue、项目、团队、Cycle

生活工具 — 轻量实用,零配置或免费 API 即可运行

应用 能干什么
Amap(高德地图) 10 个 AI Tools,POI 搜索、路线规划、天气、地理编码
Weather(天气) 全球城市天气 + 空气质量查询
Currency(汇率) 30+ 货币实时汇率换算
Expense(记账) 微信记账 + 月报 + 分类统计
Reminder(提醒) 一次性 / 重复 / Cron 定时提醒
Cron(定时任务) Cron 调度 + 自动消息推送
RSS RSS 订阅,新文章自动推送到微信
QRCode(二维码) 二维码生成与解码,纯本地运算

开发者 & 基础设施

应用 能干什么
Command Service /s 600519 查股价、/gi 赛博朋克城市 生成图片、/a 帮我写邮件 AI 对话,20+ 命令
OpenClaw 让 OpenClaw AI Agent 直接通过微信聊天
Runner 把本地 CLI 命令暴露为微信可调用的 App Tools
Bridge 微信消息自动转发到你自己的服务器
Echo 开发者模板,3 分钟上手写自己的 App

App 类型

类型 说明 示例
内置 App 随 Hub 一起提供,无需额外部署 Bridge、OpenClaw
市场 App 从远程 Registry 安装 Lark、GitHub、Weather 等 20+
自定义 App 你自己开发的 你的业务系统

怎么装?

  1. 在 Hub 后台进入「应用市场」
  2. 看到想要的 App,点「安装」
  3. 通过 PKCE OAuth 完成授权
  4. App 开始接收消息,完事

怎么开发?

App 通过以下方式与 Hub 交互:

  • 接收事件:WebSocket 连接或 Webhook 回调
  • 定义命令:声明 tools 和 commands,用户通过 /命令@提及 触发
  • 发送回复:调用 Hub API 发消息

参考 openilink-app-echo 快速上手。

Mock Server(本地开发调试)

不用跑真实 Hub + 微信 Bot,用 Mock Server 在本地开发和测试 App:

# 启动 Mock Server,将事件通过 Webhook 投递到你的 App
go run ./cmd/appmock --webhook-url http://localhost:8080/webhook

# 注入一条模拟消息,触发你的 App
curl -X POST http://localhost:9801/mock/event \
  -d '{"sender":"alice","content":"@test-app hello"}'

# 查看你的 App 发了什么消息
curl http://localhost:9801/mock/messages

Mock Server 复用真实的 Bot API handler,行为与生产环境完全一致。完整文档见 docs/mock-server.md

架构总览

flowchart TB
    subgraph Client["客户端"]
        direction TB
        WX[微信号<br/>扫码绑定] --> Provider[Provider<br/>iLink]
        UI[Web UI<br/>React] --> API[REST API<br/>Go]
    end

    Provider --> Broker[Message Broker]
    API --> Broker

    Broker --> AppDispatch[App 调度]
    Broker --> WS[WebSocket<br/>实时客户端]
    Broker --> WH[Webhook<br/>回调]
    Broker --> AI[AI Sink<br/>自动回复]

    AppDispatch --> BuiltinApps[内置 App<br/>Bridge / OpenClaw]
    AppDispatch --> MarketApps[市场 App<br/>Echo / Command Service]
    AppDispatch --> CustomApps[自定义 App]

    subgraph Storage["存储"]
        DB[(SQLite / PostgreSQL<br/>数据)]
        MinIO[(MinIO<br/>媒体存储)]
        PK[Passkey<br/>WebAuthn]
    end

部署指南

数据存储

默认 SQLite,零配置。数据文件位置:

  • Linux: ~/.local/share/openilink-hub/openilink.db
  • macOS: `~/Library

readme truncated — read the full docs on github

Frequently asked questions

Is openilink-hub free to use?

openilink-hub is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does openilink-hub do?

开源微信 Bot 管理平台 + App 应用市场 | Self-hosted WeChat Bot Platform with App Marketplace | Lark · Slack · Discord · DingTalk · GitHub · Notion · 20+ Apps | AI Tools | 7

What is openilink-hub written in?

openilink-hub is primarily written in Go. Its source is publicly available at https://github.com/openilink/openilink-hub, and it has 1,579 GitHub stars.