Channels
Open Webui Channels
OpenClaw plugin to connect with Open WebUI Channels
Install
openclaw plugins install ./openclaw-open-webui-channels
Configuration Example
{
"channels": {
"open-webui": {
"enabled": true,
"baseUrl": "http://your-server:3000",
"email": "[email protected]",
"password": "your-password",
"channelIds": [],
"requireMention": true
}
}
}
README
# OpenClaw Open WebUI Channels Plugin
A plugin that connects OpenClaw to Open WebUI Channels. Enables OpenClaw to act as a user within Open WebUI and engage in bidirectional communication in channels.
## Features
- π **Real-time Connection**: Instant message sending and receiving via REST API and Socket.IO
- π¬ **Bidirectional Messaging**: Supports both sending from OpenClaw and receiving from channels
- π **Media Support**: Upload and download files and media
- π§΅ **Thread Support**: Handle threads and replies
- π **Reactions**: Add and remove reactions on messages
- β¨οΈ **Typing Indicator**: Display when OpenClaw is composing a reply
## Requirements
- OpenClaw
- Open WebUI with Channels feature enabled
## Installation
### Recommended: Ask OpenClaw
Tell OpenClaw:
```
https://github.com/skyzi000/openclaw-open-webui-channels
I want to use this plugin
```
OpenClaw will automatically clone the repository and install it.
### Manual Installation (Reference)
```bash
# Clone the repository
git clone https://github.com/skyzi000/openclaw-open-webui-channels.git
# Install to OpenClaw
openclaw plugins install ./openclaw-open-webui-channels
```
## Setup
### 1. Open WebUI Preparation
Create a dedicated bot user account on Open WebUI for this plugin:
1. Access Open WebUI
2. Add a new user via Admin Panel > Users > "+" button (e.g., `[email protected]`)
- Open WebUI typically has email verification disabled, so non-existent email addresses work fine
3. Invite/add the created bot user to the channels you want OpenClaw to connect to
4. Note down the email address and password
> **π‘ Tip**: Strongly recommended to create a dedicated bot account for OpenClaw rather than using a personal account.
### 2. OpenClaw Configuration
#### Method A: Ask OpenClaw (Recommended)
After installing the plugin, tell OpenClaw in a **secure chat environment** (WebUI, TUI, etc.):
```
I want to connect to Open WebUI Channels
```
OpenClaw will ask for the necessary information. Provide:
- **Base URL**: Open WebUI URL (e.g., `http://your-server:3000`)
- **Email**: Bot user email address
- **Password**: Bot user password
- **Channel IDs** (optional): Specific channel IDs to monitor (monitors all channels if omitted)
OpenClaw will automatically update the configuration file (`~/.openclaw/openclaw.json` in the `channels.open-webui` section) and restart as needed.
> **π Security**: Contains authentication credentials, so configure in a secure chat environment that is not intercepted.
#### Method B: Manual Configuration
You can also directly edit `~/.openclaw/openclaw.json`:
```json
{
"channels": {
"open-webui": {
"enabled": true,
"baseUrl": "http://your-server:3000",
"email": "[email protected]",
"password": "your-password",
"channelIds": [],
"requireMention": true
}
}
}
```
After configuration, restart OpenClaw:
```bash
openclaw gateway restart
```
### 3. Verification
After setup is complete, **mention the bot user by its username** in the connected Open WebUI channel (e.g., `@OpenClaw` if you named the user "OpenClaw") and send a message. If OpenClaw responds, the connection is successful.
## β οΈ Important Notice
Sender control (allow lists, etc.) is not yet implemented. Anyone with access to the connected Open WebUI channel can send instructions to OpenClaw. Use this plugin only in channels accessible to trusted users.
## Usage
Once setup is complete, OpenClaw will monitor messages in the specified channels and respond to mentions.
### Basic Usage
- **Chat with OpenClaw**: Mention OpenClaw in the channel to talk
- **File Sending**: OpenClaw can send and receive images and files
- **Thread Support**: Conversations within threads are properly handled
## Troubleshooting
If you encounter issues, tell OpenClaw via another channel (WebUI, TUI, etc.):
```
The Open WebUI Channels plugin isn't working. Debug it
```
OpenClaw will automatically check logs and configuration to diagnose and fix the problem.
## License
MIT License - See [LICENSE](LICENSE) for details.
## Author
[Skyzi000](https://github.com/skyzi000)'s OpenClaw - This plugin was written by OpenClaw
## Links
- [GitHub Repository](https://github.com/skyzi000/openclaw-open-webui-channels)
- [Issues & Feature Requests](https://github.com/skyzi000/openclaw-open-webui-channels/issues)
- [OpenClaw Official Documentation](https://docs.openclaw.ai/)
channels
Comments
Sign in to leave a comment