NapCatQQ: an NTQQ protocol-side framework for QQ bots
Modern protocol-side framework based on NTQQ
At a glance
- What is it?
- NapCatQQ implements the bot protocol side on top of NTQQ and ships as a TypeScript monorepo with a WebUI. It suits operators who already run a bot framework and need a QQ side; it is a poor fit for anyone expecting hands-on support or a permissive licence.
- Who is it for?
- Adopt NapCatQQ if you already run a bot framework such as AstrBot and need the QQ side, and you accept that the community does not answer integration or basic questions. Do not adopt it if you need a permissive licence, an officially supported deployment, or a project you may fork and redistribute.
- Can I use it commercially?
- Not without permission. GitHub finds no licence file in the repository, and without a licence all rights are reserved by default: you may read the code but not reuse it. Check the README, or ask the authors, before using it.
- Is it still maintained?
- Yes. The repository last received commits 10 days ago.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- NapNeko/NapCatQQ12,906 ★ · +2,190
| Repository | 2026-09-22 | 2026-11-22 |
|---|---|---|
| NapNeko/NapCatQQ | 10.7k | 12.9k |
2,190 Stars in the last 61 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
What NapCatQQ replaces, and who it is actually for
A QQ bot has two halves. One half is the bot logic: command parsing, plugins, scheduled jobs. The other half speaks to QQ itself, holds the session, and exposes an HTTP or WebSocket interface the bot logic can call. NapCatQQ is the second half. The README describes it as "a modern implementation of the Bot protocol based on NTQQ".
That positioning decides the audience. If you already run AstrBot or another bot framework, NapCatQQ is the piece you put underneath it. The README goes out of its way to recommend two such frameworks, AstrBot (described as a perfect fit for this project) and MaiBot. If you have no bot framework yet, NapCatQQ gives you the transport but not the bot; you would still be writing the plugin layer yourself.
The project is also explicit about what it will not do for you. The Quick Start section states that the project is non-profit and that questions about integration, basics or the underlying framework should be solved by searching on your own, because the community does not provide answers to them. Read that as a real constraint on adoption, not a formality. A team that needs a vendor-style support channel should stop here.
How the protocol side is structured: a pnpm monorepo with a shell, a framework and a WebUI
The repository is a pnpm workspace. The root package.json is private and named napcat, versioned 0.0.1, and it carries no runtime code of its own. Instead it holds build scripts that fan out to workspace packages: build:shell targets napcat-shell, build:framework targets napcat-framework, build:webui targets napcat-webui-frontend, and build:plugin-builtin targets napcat-plugin-builtin. There is a separate build:openapi script on napcat-schema, which suggests the API surface is generated into an OpenAPI description rather than hand-maintained.
The split matters when something breaks. napcat-shell, napcat-framework and napcat-webui-frontend are separate workspace packages, each with its own build script. A misbehaving bot can therefore be a framework issue, a shell issue, or a front-end issue, and the scripts let you rebuild one without the others. The root dependencies are small: express and ws. The WebSocket dependency is consistent with a bot protocol implementation that offers a WebSocket transport.
TypeScript is the implementation language and the toolchain is Vite plus vitest, with eslint configured through neostandard. Nothing in the repository layout indicates a compiled binary distribution; the Releases page is where the packaged artifacts live, and the README points there directly.
Installing NapCatQQ from Releases and getting a first OneBot connection
The README does not give a step-by-step install. It says to go to the Release page and download the latest version, and that first-time users must read the documentation site for the tutorial. So the commands below are the ones the repository itself defines for building from source, not an invented installer.
Clone the repository and install workspace dependencies with pnpm:
pnpm installBuild the shell, which is the runnable entry point, and then the WebUI front end:
pnpm run build:shell
pnpm run build:webuiIf you only want to check that the tree type-checks before building, the root script runs across all workspace packages:
pnpm run typecheckThe root package.json also defines a combined script that builds the shell and then copies the environment files through the napcat-develop package:
pnpm run build:shell:configThe README mentions a WebUI about page as the place to obtain the QQ group join key, which confirms the WebUI is served by the running instance rather than being a static site.
For a packaged deployment, the Releases page is the supported route. The README does not document a Docker image, an npm package, or a systemd unit, so treat any container recipe you find elsewhere as community work rather than something this repository ships.
Where NapCatQQ will let you down
The licence is the first hard limit. The README describes the project as using a mixed licence: third-party code or modified portions follow their original open source licences, some parts are covered by authorisation the project obtained and are outside certain constraints, and the remaining logic uses the licence in the repository's LICENSE file. The repository metadata reports the licence as NOASSERTION, meaning GitHub could not classify it automatically. The README adds a restriction that is unusual for open source: no project may develop based on NapCat code without the repository author's authorisation. If your plan involves forking NapCatQQ, embedding it in a product, or shipping a modified build, that clause is the one to read first. This is a description of the terms, not legal advice.
Support is the second limit, and the README states it plainly rather than burying it. Integration problems, basic problems and problems in the underlying framework are out of scope for the community. The QQ groups are gated too: the README says entry requires a key obtained from the WebUI about page, that the key is valid only for the latest 100 versions, and that group admission is rate-limited over time. A user on an older release may find the key no longer valid.
The third limit is scope. NapCatQQ implements the protocol side for message push style functionality. If you need a bot that reasons, schedules, or stores state, that is your framework's job. And because the project builds on NTQQ, its behaviour is tied to a client it does not control; the README does not describe how protocol changes are absorbed.
NapCatQQ against Lagrange and Go-CQHTTP
The README credits Lagrange (LagrangeDev/Lagrange.Core) for support and says part of its code was referenced with authorisation. That makes Lagrange the closest comparison and a real alternative. Both target the QQ bot protocol space, but Lagrange.Core is a .NET implementation of the protocol itself, whereas NapCatQQ is a TypeScript framework layered on top of NTQQ. The practical difference is where the protocol knowledge lives: with Lagrange you are closer to the wire, and with NapCatQQ you are closer to the client, which is also what makes NapCat depend on NTQQ's behaviour.
The README also points at SnowLuma as a newer alternative to the NapCat GUI. That is a narrower substitution than it looks: SnowLuma replaces the management interface, not the protocol framework underneath it.
Maintenance, releases and the upgrade cost of a fast release cadence
The repository is not archived and the last push was on 2026-11-02. The release history is dense: v4.18.38 was tagged on 2026-10-12, v4.18.41 on 2026-10-21 and v4.18.42 on 2026-10-30. With patch releases arriving this often, pinning to a specific tag rather than tracking latest is the safer operating choice.
That cadence sets the upgrade cost. The root package.json version stays at 0.0.1 while releases move through 4.18.x, so the workspace version is not a signal of what you are running; the release tag is. Upgrading means replacing the shell build and rebuilding the WebUI if you built it from source, or downloading a new artifact from Releases. There is no documented migration guide and no documented rollback procedure, so keep the previous artifact before you replace it.
The licence cost is ongoing rather than one-off. Because the terms are mixed and include an authorisation requirement for derivative development, an upgrade is also a moment to re-read the LICENSE file and the README's licence section, in case the terms moved with the release.
Editorial conclusion
Adopt NapCatQQ if you already run a bot framework such as AstrBot and need the QQ side, and you accept that the community does not answer integration or basic questions. Do not adopt it if you need a permissive licence, an officially supported deployment, or a project you may fork and redistribute. Before installing, read the docs at napneko.github.io, check the LICENSE file for the mixed-licence terms, and confirm the release you download matches a version listed on the Releases page. The last push was on 2026-11-02, and the latest release listed is v4.18.42 from 2026-10-30.
Frequently asked questions
What is NapCatQQ?
It is a modern implementation of the Bot protocol based on NTQQ, written in TypeScript. It is the protocol side of a QQ bot, not the bot logic itself.
How do I install NapCatQQ?
The README directs you to the Releases page to download the latest version, and says first-time users must read the documentation site for the tutorial. Building from source uses the pnpm workspace scripts such as pnpm run build:shell and pnpm run build:webui.
Does NapCatQQ ship a Docker image?
The README does not document a Docker image or any container deployment. It only points at the Releases page for downloads and at the documentation site for the tutorial, so any container setup you find is community work rather than something this repository provides.
What licence does NapCatQQ use?
The README describes a mixed licence: third-party or modified code follows its original licence, some parts are covered by authorisation the project obtained, and the rest uses the repository's LICENSE file. The README also states that no project may develop based on NapCat code without the author's authorisation.
Can I get support for NapCatQQ in the QQ groups?
The README says the project is non-profit and that integration, basic and underlying-framework questions are for you to search out yourself, because the community does not answer them. Group entry needs a key from the WebUI about page, the key is valid only for the latest 100 versions, and admission is limited over time.
Official sources
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.
[](https://hysenlabs.com/projects/napneko-napcatqq)Star history chart for your README
[](https://hysenlabs.com/projects/napneko-napcatqq)Was this useful?