1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kiwiirc_ynh.git synced 2024-09-03 19:35:59 +02:00
This commit is contained in:
ericgaspar 2022-02-03 21:45:10 +01:00
parent b94197b3a4
commit 3723011a2d
2 changed files with 8 additions and 9 deletions

View file

@ -1,8 +1,8 @@
{ {
"windowTitle": "Kiwi IRC", "windowTitle": "Web IRC",
"startupScreen": "welcome", "startupScreen": "welcome",
"kiwiServer": "/webirc/kiwiirc/", "kiwiServer": "/webirc/kiwiirc/",
"restricted": false, "restricted": true,
"theme": "Default", "theme": "Default",
"themes": [ "themes": [
{ "name": "Default", "url": "static/themes/default" }, { "name": "Default", "url": "static/themes/default" },
@ -16,11 +16,10 @@
{ "name": "Elite", "url": "static/themes/elite" } { "name": "Elite", "url": "static/themes/elite" }
], ],
"startupOptions" : { "startupOptions" : {
"server": "irc.libera.chat",
"port": 6697,
"tls": true,
"channel": "#yunohost", "channel": "#yunohost",
"nick": "web?" "nick": "web?",
"greetingText": "Libera Chat",
"infoBackground": "",
"infoContent": "<h3>Welcome to your Kiwi IRC page!</h3><p>Now to configure it.</p><p>You can modify this page via the /etc/kiwiirc/client.json file.<br />Add your IRC network details to /etc/kiwiirc/config.conf</p><p>Have a quick read through the config file - there are plenty of comments explaining each feature.</p>" "infoContent": "<h3>Welcome to your Kiwi IRC page!</h3><p>Now to configure it.</p><p>You can modify this page via the /etc/kiwiirc/client.json file.<br />Add your IRC network details to /etc/kiwiirc/config.conf</p><p>Have a quick read through the config file - there are plenty of comments explaining each feature.</p>"
} }
} }

View file

@ -62,7 +62,7 @@ bind_mode = 0777
# Optional, but handy for serving the Kiwi IRC client if no other webserver is available # Optional, but handy for serving the Kiwi IRC client if no other webserver is available
[fileserving] [fileserving]
enabled = true enabled = true
webroot = www/ webroot = /usr/share/kiwiirc/
[transports] [transports]
websocket websocket
@ -89,8 +89,8 @@ kiwiirc
# Connections will be sent to a random upstream # Connections will be sent to a random upstream
[upstream.1] [upstream.1]
hostname = "irc.libera.chat" hostname = "irc.libera.chat"
port = 6697 port = 6667
tls = true tls = false
# Connection timeout in seconds # Connection timeout in seconds
timeout = 5 timeout = 5
# Throttle the lines being written by X per second # Throttle the lines being written by X per second