Skip to content

About

将NapukettoQQ以插件的形式内嵌到Koishi框架

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

NapukettoQQ Koishi Adapter

CI  npm  Koishi  License


快速开始

安装

我们建议直接通过 Koishi 的插件市场进行安装

但是你也可以直接使用命令

npm install koishi-plugin-adapter-napuketto
# 或使用 pnpm add / yarn add

运行环境

使用 Node.js 22.12 或更新版本。Windows 使用 QQ NT 安装和随包 DLL stub。Linux / WSL 使用原生 Linux QQ、ELF stub 和 libgnutls.so.30,可复用 /opt/QQ,缺失时由 loader 下载官方 Linux 包。Wine 已退役。

配置

你可以在Koishi控制台进行可视化配置

配置项 类型 默认值 说明
selfId string 必填 登录的 QQ 号
dataDir string 自动解析 数据与缓存根目录
或通过编辑 koishi.yml

插件本身留空,账号配置挂在 bots 下(平台名为 onebot):

plugins:
  adapter-napuketto: {}

bots:
  # 推荐:key 带 QQ 号,天然支持多账号
  onebot:123456789:
    selfId: "123456789"

  # 单账号也可省略 key 后缀:
  # onebot:
  #   selfId: "123456789"

完整配置项、默认值与多账号说明见 配置文档。

功能覆盖

功能 Koishi 适配器
消息收发、历史与撤回 kernel IPC。收发支持文字、@、图片、表情、语音和引用,发送另支持视频
好友、群组与频道查询 kernel IPC 提供好友、群列表和群文本频道
用户和群成员查询、踢人和禁言 默认启用的 OneBot 11 动作桥
群成员变动、好友与入群申请 OneBot 11 事件映射为 Koishi session,支持标准申请审批方法
其它 OneBot 11 动作和事件 通过 bot.internal._request() 与 bot.onOb11()

详细的字段、动作和降级规则见 事件桥 与 动作桥。


文档


状态

Repobeats analytics image

English

koishi-plugin-adapter-napuketto is the Koishi adapter for NapukettoQQ. Each QQ account runs in a dedicated self-hosted Node.js child process; kernel events are bridged to Koishi sessions and Koishi actions to kernel API calls — no external WebUI or separate protocol server required.

About

将NapukettoQQ以插件的形式内嵌到Koishi框架

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages