Tools
Hybrid Qq Messenger
Hybrid QQ Messenger plugin for OpenClaw - Combines NapCat reception and AstrBot sending for reliable QQ messaging
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