dsh-qq

Bridges a OneBot QQ bot into DSH: the owner's direct messages open a session on the same home, answers go back to QQ, and files named with [SEND_FILE: path] are delivered. Needs a OneBot v11 implementation with a forward WebSocket (such as NapCat) and ownerId set in the config, otherwise every message is ignored. The home it shares with the main session is provided by the separately installed dsh-wakeup plugin. It also runs an unauthenticated local status endpoint on 127.0.0.1:3002 with open CORS that returns the owner QQ number, the login QR code and recent log lines (including the first 60 characters of incoming messages).

Overview

Bridges a OneBot QQ bot into DSH: the owner's direct messages open a session on the same home, answers go back to QQ, and files named with [SEND_FILE: path] are delivered. Needs a OneBot v11 implementation with a forward WebSocket (such as NapCat) and ownerId set in the config, otherwise every message is ignored. The home it shares with the main session is provided by the separately installed dsh-wakeup plugin. It also runs an unauthenticated local status endpoint on 127.0.0.1:3002 with open CORS that returns the owner QQ number, the login QR code and recent log lines (including the first 60 characters of incoming messages).

Installation

Install from GitHub

dsh plugin --profile web add github:hzh5021/dsh-qq

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.