ouch-relay/readme.md

49 lines
1.3 KiB
Markdown
Raw Normal View History

2025-02-26 23:32:44 -05:00
# ouch-relay
ouchnets official relay client
2025-03-03 19:44:43 -05:00
## usage
2025-03-03 20:24:18 -05:00
`./ouch-relay` will load config.json from current directory
2025-03-03 19:44:43 -05:00
2025-03-03 20:24:18 -05:00
To specify config path use `./ouch-relay -cfg path/to/config`
`./ouch-relay -h` to print the usage message
2025-03-03 19:44:43 -05:00
2025-02-26 23:32:44 -05:00
## config
```
{
"networks": [
{
"url": "irc.ouch.chat:6667",
2025-03-03 20:24:18 -05:00
"nick": "Alpha",
2025-02-26 23:32:44 -05:00
"channel": "#testing",
2025-03-03 20:24:18 -05:00
"name": "TestNet",
"monitor": true
2025-02-26 23:32:44 -05:00
},
{
2025-03-03 20:24:18 -05:00
"url": "irc.ouch.chat:6667",
"nick": "Beta",
2025-02-26 23:32:44 -05:00
"channel": "#test",
2025-03-03 20:24:18 -05:00
"name": "OuchNet",
"monitor": false
},
{
"url": "irc.ouch.chat:6667",
"nick": "Charlie",
"channel": "#taliban",
"name": "TalibanNet",
"monitor": false
2025-02-26 23:32:44 -05:00
}
]
}
```
- `url` is the domain or ip of server with :PORT
- `nick` is the nickname you want the relay to use
- `channel` is the channel you want the relay to occupy
- `name` is the network Identifier for the relay
2025-03-03 20:24:18 -05:00
- `monitor` set to `true` to make connection only recieve messages from relay chain, not send
2025-02-26 23:32:44 -05:00
2025-03-03 20:24:18 -05:00
you may specify as many networks as you want under the json `"networks"` array. All networks will then have specified channels relayed across all networks