txinbot
v1.2.0
Published
Txin Bot channel plugin for OpenClaw - Connect to Txin Bot via WebSocket
Maintainers
Readme
@exonis/txinbot
OpenClaw plugin for Txin Bot integration via WebSocket.
Installation
# Step 1: Install the plugin
openclaw plugins install txinbot@latest
# Step 2: Add channel configuration
openclaw channels add --channel txinbot --token "YOUR_API_KEY"Configuration
The plugin requires an API Key from your Txin Bot service.
Environment Variables (Optional)
TXINBOT_API_KEY: API Key (alternative to --token)TXINBOT_WS_URL: WebSocket URL (default: ws://localhost:9090/ws)OPENCLAW_USER_ID: User identifier (default: auto-generated)
Features
- ✅ WebSocket-based bidirectional communication
- ✅ Automatic reconnection with exponential backoff
- ✅ Support for text, image, and file messages
- ✅ Heartbeat mechanism for connection stability
- ✅ Message queuing and async processing
- ✅ User identification tracking
Message Types
- TEXT (1): Text messages
- IMAGE (2): Image messages with URL
- FILE (3): File messages with download link
- HEARTBEAT (5): Connection heartbeat
- ERROR (-1): Error messages
Usage
Once installed and configured, the plugin will:
- Connect to the Txin Bot WebSocket server
- Authenticate using your API Key
- Receive and process incoming messages
- Forward messages to OpenClaw for AI processing
- Send AI responses back to Txin Bot
Support
For issues and questions, please visit: https://github.com/exonis/txinbot-plugin
License
MIT
