icon

NapCat

Call the interfaces provided by the QQ Node module to the client to implement Bot functionality.

PlataformaZeabur
Implementado68
EditorLovelyGuYiMeng
Implementado68 veces
EditorLovelyGuYiMeng
Creado2025-01-19
Servicios
service icon

NapCat

Configure OneBot Service via WebUI

After startup, you can find the token information in the startup log, which looks like: [WebUi] WebUi Local Panel Url: http://127.0.0.1:6099/webui?token=xxxx

Visit https://yourdomain/webui?token=xxxx, then follow these steps:

  1. Enter QQ login, click QRCode for QR code login.
  2. After successful login, you can proceed to network configuration.
  3. After configuration, click save and restart to apply changes.

Network Type Configuration

HTTP Server: NapCat acts as HTTP request receiver, accepting interface calls and responding in a simplex model

HTTP Client: NapCat acts as HTTP request initiator, pushing events to plugins/applications in a simplex model

WebSocket Server: Commonly referred to as Forward WS, capable of both actively pushing events and receiving requests in a duplex model

WebSocket Client: Commonly referred to as Reverse WS, capable of both actively pushing events and receiving requests in a duplex model