← Back to Plugins
Tools

Hybrid Qq Messenger

ALdaisuki By ALdaisuki 👁 3 views ▲ 0 votes

Hybrid QQ Messenger plugin for OpenClaw - Combines NapCat reception and AstrBot sending for reliable QQ messaging

GitHub

Install

pip install websockets

README

# Hybrid QQ Messenger Plugin

> **Hybrid Architecture for QQ Messaging** - Complete solution for OpenClaw QQ integration

## ๐ŸŽฏ Quick Overview

This plugin enables OpenClaw to:
- ๐Ÿ“ฑ **Receive QQ Messages** via NapCat WebSocket
- ๐Ÿ“ค **Send QQ Messages** via AstrBot API
- ๐Ÿง  **Process Conversations** naturally with OpenClaw AI
- ๐Ÿ”„ **Reliable Architecture** with separate receive/send paths

## ๐Ÿ“š Documentation

### ๐Ÿ“– Documentation Index
- ๐Ÿ”— **[Documentation Index](docs/INDEX.md)** - Complete documentation catalog and learning paths

### For Beginners
- ๐Ÿ“– **[Complete Beginner's Guide](docs/README_DETAILED.md)** - Step-by-step installation and usage
- ๐Ÿš€ **[Quick Start Guide](docs/QUICK_START.md)** - 5-minute installation
- ๐Ÿ” **[Installation Check](check_installation.py)** - Verify your setup

### For Chinese Users
- ๐Ÿ“– **[ไธญๆ–‡่ฏฆ็ป†ๆ•™็จ‹](docs/README_CN_DETAILED.md)** - ๅฎŒๆ•ด็š„ไธญๆ–‡ๅฎ‰่ฃ…ๅ’Œไฝฟ็”จๆŒ‡ๅ—
- ๐Ÿš€ **[ๅฟซ้€Ÿๅ…ฅ้—จ](docs/QUICK_START.md)** - 5ๅˆ†้’Ÿๅฟซ้€Ÿๅฎ‰่ฃ…

### Technical Documentation
- ๐Ÿ—๏ธ **[Architecture](docs/ARCHITECTURE.md)** - Technical design and principles
- ๐ŸŽฏ **[Skill Definition](SKILL.md)** - OpenClaw skill configuration
- ๐Ÿ“Š **[Status Report](docs/STATUS_REPORT.md)** - Current system status

## ๐Ÿš€ Quick Installation

### 1. Install Dependencies
```bash
pip install websockets aiohttp
```

### 2. Copy Plugin
Copy the `hybrid-qq-messenger` folder to your OpenClaw plugins directory.

### 3. Configure Services
- **NapCat**: Ensure WebSocket running on port 3001
- **AstrBot**: Configure API key and target QQ

### 4. Verify Installation
```bash
cd "J:\Alice\openclaw\plugins\hybrid-qq-messenger"
python check_installation.py
```

## ๐Ÿ’ก Quick Usage

### Send Messages
```python
from main import send_message

# Send simple message
result = await send_message("Hello from OpenClaw!")

# Send to specific session
result = await send_message("Session message", session_id="private_123456789")
```

## ๐Ÿ“ Project Structure

```
hybrid-qq-messenger/
โ”œโ”€โ”€ core/           # Core business logic
โ”œโ”€โ”€ adapters/       # External service adapters
โ”œโ”€โ”€ services/       # Business services
โ”œโ”€โ”€ config/         # Configuration management
โ”œโ”€โ”€ models/         # Data models
โ”œโ”€โ”€ examples/       # Usage examples
โ”œโ”€โ”€ tests/          # Test suite
โ””โ”€โ”€ docs/           # Documentation files
```

## ๐Ÿ”ง Key Features

- **Dual-Path Architecture** - Separate receiving and sending
- **Natural Conversation** - AI processes messages naturally
- **Session Management** - Intelligent conversation tracking
- **Reliable Delivery** - Retry mechanisms and error handling
- **Configuration Driven** - Flexible JSON configuration

## ๐Ÿ“ž Support

### Getting Help
1. Check the **[detailed documentation](docs/README_DETAILED.md)**
2. Run the **[installation check](check_installation.py)**
3. Join the OpenClaw community

### Common Issues
- **Connection Problems**: Check service status and configuration
- **API Errors**: Verify API keys and target QQ numbers
- **Plugin Loading**: Check OpenClaw configuration

## ๐Ÿ—๏ธ Project Overview

- ๐Ÿ“Š **[Project Overview](PROJECT_OVERVIEW.md)** - Complete project structure and technical details
- ๐Ÿ™ **[Acknowledgements](ACKNOWLEDGEMENTS.md)** - Thanks to frameworks and contributors

## ๐Ÿ“„ License

MIT License - see [LICENSE](LICENSE) file for details

---

**Maintainer**: Alice  
**Version**: 1.0.0  
**Status**: Production Ready

## ๐Ÿค Community & Support

- ๐Ÿ“– **Documentation**: Complete beginner-friendly tutorials
- ๐Ÿ”ง **Tools**: Installation check and testing scripts
- ๐Ÿ› **Issues**: Report bugs and request features
- ๐Ÿ’ก **Contributions**: Welcome code, docs, and testing contributions
tools

Comments

Sign in to leave a comment

Loading comments...