Joye-Co/qqbot
About
Turn QQ group discussions into a searchable community knowledge base & MCP server (self-hosted Node.js + SQLite)
AI & Machine LearningMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
Original
qqbot (Jiajia)
Turn valuable QQ group discussions into a searchable community knowledge base and MCP server.
简体中文 · English · Live Demo · QQ Group · Author · Contributing · Security
Technical group chats produce real-world debugging notes and engineering insights every day—only for them to scroll away within hours. qqbot (Jiajia) closes that loop: mention the bot in QQ to get grounded answers, automatically filter and redact private details, and publish reusable Q&As to a searchable web knowledge base and read-only /mcp server.
What It Does
- Context-Aware QQ Group Q&A & Rich Cards: Answers
@mentions using recent group context, curated corpus files, web links, images, and PDF/Office attachments—with optional HTML-to-PNG card rendering inside a networkless sandbox. - Automated Redaction & Knowledge Distillation: Removes personal nicknames and private identifiers before publishing Q&As, curated entries, topic pages, and daily/weekly digests.
- Web Search & MCP Integration: Offers full-text search, authenticated web Q&A, and a
/mcpendpoint so tools like Claude Code, Cursor, and Codex can query community answers directly. - Lightweight Self-Hosting: Runs on a single Linux VPS with Node.js 24 and SQLite, and works with DeepSeek, Gemini, or any OpenAI-compatible model endpoint.
How It Works
flowchart LR
QQ["QQ Groups (NapCat)"] <-->|"Local Relay"| VPS["Self-Hosted Server (Node 24 + SQLite)"]
VPS --> Web["Knowledge Base Web & /mcp"]
VPS -.->|"Optional · Networkless"| Sandbox["Card Sandbox (gVisor)"]
Quick Try in 3 Minutes (No QQ or API Key Needed)
pnpm install --frozen-lockfile --ignore-scripts
pnpm --dir dashboard-ui install --frozen-lockfile
pnpm --dir dashboard-ui build
# Preview the web UI locally with synthetic fixture data at http://127.0.0.1:4319
node dashboard-ui/test/mock-api-server.mjs \
--dist dashboard-ui/build \
--data dashboard-ui/test/mock-showcase.json \
--port 4319
Run typechecking, repository hygiene checks, and offline test suites: pnpm typecheck && pnpm ci:hygiene && pnpm test.
Self-Hosting (Templates Are the Source of Truth)
This repository follows a zero-docs policy—no separate prose docs directory exists; runnable templates and unit files are the source of truth:
- App configuration: Copy
config.example.jsontoconfig.jsonfor local development (never commit real secrets or IDs). - Primary Linux VPS setup: Start from
deploy/vps/env.example,deploy/vps/Caddyfile.example,deploy/vps/[email protected],deploy/vps/[email protected], anddeploy/vps/qqbot-vps-deploy.sh. - QQ protocol relay: Run
connector/host/alongside NapCat over a single outbound WebSocket—no public inbound port required on the QQ host. - Optional add-ons: Networkless gVisor HTML-to-PNG card sandbox in
deploy/sandbox/, loopback Langfuse observability indeploy/langfuse/, and Cloudflare Workers compatibility templates in<worker>/wrangler.example.jsonc. - Operational guardrails: See
.agents/skills/vps-ops/SKILL.mdand.agents/skills/release-ops/SKILL.md.
Community & Author
Join our QQ group 一群开心快乐的小奶龙 (Group ID: 831907794) — Jiajia (known as「副校长」in the group) is live there, so you can @ mention it directly to try out the Q&A and knowledge-base flow:
- Author's website: joyehuang.me · Live site: jiajia.fun
Community, Security & License
- CONTRIBUTING.md · CODE_OF_CONDUCT.md · SECURITY.md · AGENTS.md
- Source code is licensed under the MIT License. Character artwork in
dashboard-ui/src/brand/filo/is copyright-reserved; deleting that directory automatically falls back to neutral placeholder icons.
Explore related projects
Loading…