ZOYKU火线榜

Guru322/GURU-Ai技术文档

Guru322/GURU-Ai open-source repository on GitHub

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/Guru322/GURU-Ai.git

Guru

GURU Ai


Installation

git clone https://github.com/Guru322/GURU-Ai.git
cd GURU-Ai
npm install

Configuration

Create a .env file in project root or set the following environment variables:


MONGODB_URI=<Your MongoDB connection URI>
PHONE_NUMBER=<Your WhatsApp phone number with country code>
BOTNAME=<Bot display name (optional)>
OWNERS="<owner1;john;owner2;doe>"

You can also edit config.js for additional settings like bot name, pack name, author, owners list, and sticker watermark.

Running the Bot

npm start
# or
node index.js

By default, the server listens on port 5000 (or the port defined in the PORT environment variable). Open your browser at http://localhost:5000 to access the pairing interface where the pairing code and connection status are displayed.

Usage

After starting, the bot will print a pairing code. Open WhatsApp > Linked Devices > Link a Device > Link with phone number and enter the pairing code to connect.

Commands are invoked with a prefix (default is .). For example:


.ping      # Check bot response time
.menu      # Display command menu and help
.list      # List all available commands
.alive     # Show bot status

Type .help or .list in chat to view all commands and descriptions.


Star History

Star History Chart
文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-10