Self-hosted service
openilink/openilink-hub avatar
openilink/openilink-hub

OpeniLink Hub binds WeChat accounts to a web console, and the first account registered owns it

An open-source, self-hosted WeChat bot platform with an app marketplace. Supports Lark, Slack, Discord, DingTalk, GitHub, Notion and 20+ apps, AI tools, and SDKs in 7 languages.

1,618 stars152 forksGoMIT

At a glance

What is it?
openilink/openilink-hub is a self-hosted Go platform for the iLink protocol that WeChat shipped with the ClawBot plugin in March 2026. It wraps the raw channel problems, adds a 20 plus app marketplace, and ships four distribution routes. What the quick start does not say is that the SQLite data lives in the container and that whoever registers first is the administrator.
Who is it for?
OpeniLink Hub fits a shop or team operator who has decided to run a WeChat bot on its own hardware and wants a web console instead of a command line, and the app marketplace is the part worth evaluating first, since the AI Tool counts per platform are specific and checkable. Verify four things before you deploy.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 158 days ago.
What is it written in?
Mainly Go, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • openilink/openilink-hub1,618 ★ · +49
Star history
Repository2026-09-112026-11-23
openilink/openilink-hub1.6k1.6k

49 Stars in the last 73 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The quick start publishes the port and hands admin rights to whoever registers first

The whole install is four commands:

bash
# 一键安装(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

Then open http://localhost:9800, register an account, and the instruction says the first account registered automatically becomes the administrator. There is no bootstrap token, no generated password, and no environment variable in either Docker line to pre place an owner. The port is published to the host on all interfaces by that form of the run command, so on a machine with a routable address the first visitor to the port is the administrator, and the only step between them and the WeChat binding flow is the registration form. Windows is handled by a note rather than a binary: native Windows is not supported, and the two offered routes are Docker or WSL2.

The zero configuration start has no volume, and SQLite is the default store

The quick start says the default is SQLite, that there is no database to install and nothing to configure, and that PostgreSQL is available by setting DATABASE_URL. That makes the single container run the zero configuration path, and it is also the only path with no persistence. Neither Docker line mounts a volume, so the SQLite database lives inside the container's writable layer and disappears when the container is removed and recreated. The compose file takes a different shape for the same reason. There, the state lives outside the hub container in two services that do get volumes:

yaml
    environment:
      DATABASE_URL: postgres://openilink:${PASSWORD:-openilink}@postgres:5432/openilink?sslmode=disable
      RP_ORIGIN: ${RP_ORIGIN:-http://localhost:${HUB_PORT:-9800}}
      RP_ID: ${RP_ID:-localhost}
      STORAGE_ENDPOINT: minio:9000
      STORAGE_ACCESS_KEY: openilink
      STORAGE_SECRET_KEY: ${PASSWORD:-openilink}
      STORAGE_BUCKET: openilink

So the easiest install is the fragile one, and the durable install is the one that requires a password decision up front.

The 24 hour window is a protocol limit the hub cannot lift

One capability is explicitly declared out of reach, and it is the one that matters most for an unattended bot. The WeChat window runs 24 hours, and the platform cannot be renewed silently in the background by the hub. What the platform does instead is remind you before the window is about to expire, ask you to send a message, and restart the clock when the reply comes back. Read as a mechanism, continuity therefore depends on a person noticing a reminder and typing something back. Any workflow that assumes an account stays reachable overnight, on a schedule, or through a weekend has a daily cliff in it, and the marketplace cannot install an app that removes that cliff because the limit is in the protocol rather than in the hub. The same document also states that iLink has no official documentation and that everything was worked out by community reverse engineering, and it carries a disclaimer that the project is independently developed, is not affiliated with or endorsed by the official team, and will be taken down on request from a rights holder.

Four distribution routes and no version pin in either container command

Four ways in are offered and they do not line up. The shell route pipes a remote script into sh, and nothing describes what that script writes to disk, what it puts on the PATH, or how to remove it afterwards. The two container routes name two different registries, Docker Hub and GHCR, for the same image. And native Windows is not a route at all, only Docker or WSL2 inside an Ubuntu or Debian distribution. Both container commands tag the image `:latest`, so a reader following the quick start verbatim gets whatever the registry currently serves rather than a fixed build, even though the repository's own releases are numbered. The releases are v0.1.36 published on 2026-06-18, v0.1.35 on 2026-04-24, and v0.1.34 on 2026-04-14, and the last commit to the tree is dated 2026-06-18, the same day as the newest tag. The line is still on 0.1.x, and none of the four quick start routes lets you name a version.

One default password is shared by Postgres, MinIO, and object storage

The compose file is candid about this. Its own header says the environment variables are all optional and give defaults for local development, and that PASSWORD is a shared password for postgres, minio, and storage, defaulting to openilink, with a note that it must be URL safe. So out of the box the database superuser password, the MinIO root password, and the object storage secret key are the same string, and the storage access key is the literal openilink with no variable at all. The database URL is assembled with sslmode=disable. Neither Postgres nor MinIO publishes a host port by default, and GUI access is offered instead through `docker compose exec postgres psql -U openilink`. Four OAuth settings are present but commented out, GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, LINUXDO_CLIENT_ID, and LINUXDO_CLIENT_SECRET, along with a commented STORAGE_PUBLIC_URL pointing at an example bucket. The defaults are safe for a laptop and wrong for a shared host, and nothing in the file distinguishes the two cases.

go.mod asks for Go 1.25, the container builds on 1.26, and SQLite arrives twice

The module file declares `go 1.25.0` and pins fifteen direct dependencies, while the container build runs on a newer toolchain:

dockerfile
FROM golang:1.26-alpine AS backend
RUN apk add --no-cache git gcc musl-dev
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
COPY --from=frontend /app/internal/web/dist ./internal/web/dist
RUN CGO_ENABLED=1 go build -o /oih .

# --- Runtime ---
FROM alpine:3.21
RUN apk add --no-cache ca-certificates
COPY --from=backend /oih /usr/local/bin/oih
EXPOSE 9800
ENTRYPOINT ["oih"]
CMD ["-listen", "0.0.0.0:9800"]

The database story runs in parallel too. The direct dependency list carries both jackc/pgx for PostgreSQL and modernc.org/sqlite, the latter being the pure Go SQLite build, yet the compiler is invoked with CGO_ENABLED=1 against a musl toolchain and the result ships into an Alpine runtime. Two database drivers, two build modes, and two build descriptors at the root, Dockerfile and Dockerfile.release, alongside a .goreleaser.yml and a Taskfile.yml. The frontend stage is a third system, and it activates pnpm@latest without a version, then installs with a frozen lockfile.

Passkey login is bound to localhost until two variables are set

Login is offered in two forms, passkeys through fingerprint, Face ID, or a hardware key, and OAuth through GitHub or LinuxDo. Both have a default that is wrong off a laptop. The WebAuthn relying party ID defaults to localhost, and the WebAuthn origin defaults to http://localhost:9800, which is exactly what the compose file sets when you leave them alone. The single container run in the quick start passes no environment at all, so a deployment to a real domain inherits the localhost values, and passkeys are scoped to an origin the browser will not present them on. The OAuth paths are off by default as well, because the four client identifiers and secrets in the compose file are commented out, so a fresh install offers passkey login against localhost and no third party login at all. The dependency list backs both halves, with go-webauthn/webauthn and go-webauthn/x for the credential side, coreos/go-oidc and golang.org/x/oauth2 for the provider side, and the admin console is described as holding user management, role permissions, OAuth configuration, and global AI settings.

App install is a PKCE handshake, and one app exposes local shell commands

An app is a separate service that talks to the hub over a standard protocol, and installation is four steps: open the marketplace in the admin console, click install, complete a PKCE OAuth authorisation, and the app starts receiving messages. Apps come in three kinds, built in ones shipped with the hub, marketplace ones pulled from a remote registry, and your own. The per platform tool counts are specific enough to check against the apps themselves: Lark 34 AI Tools across 11 business domains, GitHub 36, Slack 23, DingTalk 20, Discord 19, WeCom 18, Google Workspace 18, Notion 15, Linear 13, and Amap 10. Two entries in that list deserve a second look. Command Service exposes slash commands such as `/s 600519` for a stock quote, `/gi` for image generation, and `/a` for a chat, and the module list carries a JavaScript interpreter in Go, dop251/goja, tracked at a commit pseudo version rather than a release. Runner goes further and exposes local CLI commands as tools a chat message can call. The Echo app is a developer template, and the same module list holds one entry still on a 0.0.x version, youthlin/silk.

Editorial conclusion

OpeniLink Hub fits a shop or team operator who has decided to run a WeChat bot on its own hardware and wants a web console instead of a command line, and the app marketplace is the part worth evaluating first, since the AI Tool counts per platform are specific and checkable. Verify four things before you deploy. Put it behind a real access path, because the quick start publishes port 9800 and hands administrator rights to the first account registered, with no bootstrap token. Mount a volume or run the compose file, since the one line Docker start has no volume and defaults to SQLite. Set the two WebAuthn variables before you invite anyone, because they default to localhost. And read the project's own position on the protocol: it states it is built independently on a publicly available iLink protocol, is not affiliated with the official team, and will take itself down if a rights holder asks through an Issue.

Frequently asked questions

How do I install and start OpeniLink Hub?

On Linux or macOS, pipe install.sh into sh and then run oih. Or use one of two container commands that publish port 9800 from either Docker Hub or GHCR with the :latest tag. Then open http://localhost:9800 and register an account.

Does OpeniLink Hub need a database?

No. The default is SQLite, so nothing has to be installed or configured. PostgreSQL is supported by setting DATABASE_URL, and the module list carries both a PostgreSQL driver and a pure Go SQLite driver.

Can OpeniLink Hub keep a WeChat account connected around the clock?

The 24 hour window cannot be renewed silently in the background. The platform warns you before the window expires and the clock restarts once you send a message and receive the reply, so continuity depends on a person replying to the reminder.

What can the OpeniLink Hub app marketplace install?

Twenty plus apps in three kinds: built in apps shipped with the hub, marketplace apps installed from a remote registry, and custom apps you write. Installation runs through the admin console marketplace and completes with a PKCE OAuth authorisation.

Is OpeniLink Hub available for native Windows?

No. Native Windows is not supported. The two offered alternatives are running the container image, or running the Linux install inside WSL2 on Ubuntu or Debian.

Official sources

  1. License: MIT
  2. openilink/openilink-hub on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/openilink-openilink-hub.svg)](https://hysenlabs.com/projects/openilink-openilink-hub)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/openilink-openilink-hub.svg)](https://hysenlabs.com/projects/openilink-openilink-hub)

Was this useful?