openclaw-xmpp-connector
v0.2.0
Published
XMPP channel plugin for OpenClaw — supports username/password authentication and message exchange
Maintainers
Readme
OpenClaw XMPP Connector
XMPP channel plugin for OpenClaw — supports username/password authentication and message exchange.
Features
- Supports XMPP messaging with username/password authentication
- Real-time message receiving and sending
- Integration with OpenClaw Gateway for AI responses
- Configurable server settings
- Debug mode for troubleshooting
Installation
npm install openclaw-xmpp-connectorConfiguration
Add the following configuration to your OpenClaw config file:
{
"channels": {
"openclaw-xmpp-connector": {
"username": "your-username-without-server",
"password": "your-password",
"server": "xmpp-server.com",
"port": 5222,
"gatewayToken": "your-openclaw-gateway-token",
"debug": false
}
}
}Usage
Once configured, the XMPP connector will automatically:
- Connect to the specified XMPP server
- Send online presence
- Receive incoming messages
- Process messages through OpenClaw Gateway
- Send AI responses back to the sender
Development
Prerequisites
- Node.js 14+
- OpenClaw Gateway running on localhost:18789
Testing
# Run the test script
node simple-test.jsBuilding
No build is required as the plugin uses TypeScript directly with jiti.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT
