Add IRC connector

This commit is contained in:
Richard Palethorpe
2025-03-06 11:49:01 +00:00
parent 1e1c123d84
commit f2e7010297
6 changed files with 212 additions and 8 deletions

View File

@@ -144,6 +144,26 @@ In the UI, when configuring the connector:
{ "token": "botfathertoken" }
```
#### IRC
Connect to IRC servers and interact with channels:
```json
{
"server": "irc.example.com",
"port": "6667",
"nickname": "LocalAgentBot",
"channel": "#yourchannel",
"alwaysReply": "false"
}
```
The IRC connector supports:
- Connecting to IRC servers without encryption
- Joining a specified channel
- Responding to direct mentions (or all messages if alwaysReply is "true")
- Direct messaging with users
### REST API
The LocalAgent API follows RESTful principles and uses JSON for request and response bodies.
@@ -160,4 +180,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
<p align="center">
Made with ❤️ by <a href="https://github.com/mudler">mudler</a>
</p>
</p>