Skip to content
Projects

About

Turn QQ group discussions into a searchable community knowledge base & MCP server (self-hosted Node.js + SQLite)

AI & Machine Learning

How these counts are measured

Measured 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)

qqbot (Jiajia)

Turn valuable QQ group discussions into a searchable community knowledge base and MCP server.

CI License: MIT Node.js >= 24 Live Site

简体中文 · 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 /mcp endpoint 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:

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:

QQ Group QR Code (Group ID 831907794)

Community, Security & License

Explore related projects

Loading…