2021-05-19 14:42:03 +00:00
|
|
|
# Clients
|
|
|
|
|
|
|
|
This page describes how to configure IRC clients to better integrate with soju.
|
|
|
|
|
|
|
|
Also see the [IRCv3 support tables] for a more general list of clients.
|
|
|
|
|
2022-03-05 22:31:30 +00:00
|
|
|
# catgirl
|
|
|
|
|
2022-06-13 13:40:32 +00:00
|
|
|
catgirl doesn't implement cap-3.2, so many capabilities will be disabled.
|
|
|
|
catgirl developers have publicly stated that supporting bouncers such as soju
|
|
|
|
is a non-goal.
|
2022-03-05 22:31:30 +00:00
|
|
|
|
2022-01-13 12:58:09 +00:00
|
|
|
# [Emacs]
|
|
|
|
|
|
|
|
There are two clients provided with Emacs. They require some setup to work
|
|
|
|
properly.
|
|
|
|
|
|
|
|
## Erc
|
|
|
|
|
|
|
|
You need to explicitly set the username, which is the defcustom
|
|
|
|
`erc-email-userid`.
|
|
|
|
|
|
|
|
```elisp
|
|
|
|
(setq erc-email-userid "<username>/irc.libera.chat") ;; Example with Libera.Chat
|
|
|
|
(defun run-erc ()
|
|
|
|
(interactive)
|
|
|
|
(erc-tls :server "<server>"
|
|
|
|
:port 6697
|
|
|
|
:nick "<nick>"
|
|
|
|
:password "<password>"))
|
|
|
|
```
|
|
|
|
|
|
|
|
Then run `M-x run-erc`.
|
|
|
|
|
|
|
|
## Rcirc
|
|
|
|
|
|
|
|
The only thing needed here is the general config:
|
|
|
|
|
|
|
|
```elisp
|
|
|
|
(setq rcirc-server-alist
|
|
|
|
'(("<server>"
|
|
|
|
:port 6697
|
|
|
|
:encryption tls
|
|
|
|
:nick "<nick>"
|
|
|
|
:user-name "<username>/irc.libera.chat" ;; Example with Libera.Chat
|
|
|
|
:password "<password>")))
|
|
|
|
```
|
|
|
|
|
|
|
|
Then run `M-x irc`.
|
|
|
|
|
2021-05-19 14:42:03 +00:00
|
|
|
# [gamja]
|
|
|
|
|
|
|
|
gamja has been designed together with soju, so should have excellent
|
|
|
|
integration. gamja supports many IRCv3 features including chat history.
|
2021-05-25 16:54:16 +00:00
|
|
|
gamja also provides UI to manage soju networks via the
|
|
|
|
`soju.im/bouncer-networks` extension.
|
2021-05-19 14:42:03 +00:00
|
|
|
|
2022-03-05 22:35:00 +00:00
|
|
|
# [goguma]
|
|
|
|
|
|
|
|
Much like gamja, goguma has been designed together with soju, so should have
|
|
|
|
excellent integration. goguma supports many IRCv3 features including chat
|
|
|
|
history. goguma should seamlessly connect to all networks configured in soju via
|
|
|
|
the `soju.im/bouncer-networks` extension.
|
|
|
|
|
2021-07-07 08:37:18 +00:00
|
|
|
# [Hexchat]
|
|
|
|
|
|
|
|
Hexchat has support for a small set of IRCv3 capabilities. To prevent
|
|
|
|
automatically reconnecting to channels parted from soju, and prevent buffering
|
|
|
|
outgoing messages:
|
|
|
|
|
|
|
|
/set irc_reconnect_rejoin off
|
|
|
|
/set net_throttle off
|
|
|
|
|
2023-01-23 04:40:53 +00:00
|
|
|
Older Hexchat versions (without the [hexchat password length fix]) do not
|
|
|
|
support long passwords, which include personal access tokens from sourcehut with
|
|
|
|
limited scope. To work around this issue for sourcehut, [generate a sourcehut
|
|
|
|
personal access token] without limiting the grant (by not selecting any
|
|
|
|
permissions).
|
|
|
|
|
2022-04-15 20:40:02 +00:00
|
|
|
# [irssi]
|
|
|
|
|
|
|
|
Assuming you want to connect irssi to your soju instance for one network
|
|
|
|
(single-upstream mode), for example libera.chat:
|
|
|
|
|
|
|
|
/network add -user <soju user>/irc.libera.chat libera
|
|
|
|
/server add -auto -tls -network libera <soju ip or hostname> <soju port> <soju password>
|
|
|
|
|
|
|
|
Then, to actually connect:
|
|
|
|
|
|
|
|
/connect libera
|
|
|
|
|
2021-05-19 14:42:03 +00:00
|
|
|
# [senpai]
|
|
|
|
|
|
|
|
senpai is being developed with soju in mind, so should have excellent
|
|
|
|
integration. senpai supports many IRCv3 features including chat history.
|
2022-03-24 18:19:15 +00:00
|
|
|
senpai should seamlessly connect to all networks configured in soju via the
|
|
|
|
`soju.im/bouncer-networks` extension.
|
2021-05-19 14:42:03 +00:00
|
|
|
|
|
|
|
# [Weechat]
|
|
|
|
|
2022-11-11 10:52:04 +00:00
|
|
|
A [soju.py] Weechat script is available to provide better integration with soju.
|
|
|
|
The script will automatically connect to all of your networks once a single
|
|
|
|
connection to soju is set up in Weechat.
|
|
|
|
|
|
|
|
Additionally, [read_marker.py] can be enabled to synchronize the read marker
|
|
|
|
between multiple clients.
|
2021-11-18 11:28:20 +00:00
|
|
|
|
|
|
|
On WeeChat 3.2-, no IRCv3 capabilities are enabled by default. To enable them:
|
2021-05-19 14:42:03 +00:00
|
|
|
|
2021-11-18 11:28:20 +00:00
|
|
|
/set irc.server_default.capabilities account-notify,away-notify,cap-notify,chghost,extended-join,invite-notify,multi-prefix,server-time,userhost-in-names
|
2021-05-19 14:42:03 +00:00
|
|
|
/save
|
|
|
|
/reconnect -all
|
|
|
|
|
|
|
|
See `/help cap` for more information.
|
|
|
|
|
|
|
|
[IRCv3 support tables]: https://ircv3.net/software/clients
|
|
|
|
[gamja]: https://sr.ht/~emersion/gamja/
|
2022-03-05 22:35:00 +00:00
|
|
|
[goguma]: https://sr.ht/~emersion/goguma/
|
2021-05-19 14:42:03 +00:00
|
|
|
[senpai]: https://sr.ht/~taiite/senpai/
|
|
|
|
[Weechat]: https://weechat.org/
|
2022-11-11 10:52:04 +00:00
|
|
|
[soju.py]: https://weechat.org/scripts/source/soju.py.html/
|
|
|
|
[read_marker.py]: https://weechat.org/scripts/source/read_marker.py.html/
|
2021-07-06 22:50:10 +00:00
|
|
|
[Hexchat]: https://hexchat.github.io/
|
2023-01-23 04:40:53 +00:00
|
|
|
[hexchat password length fix]: https://github.com/hexchat/hexchat/commit/778047bc65e529804c3342ee0f3a8d5d7550fde5
|
|
|
|
[generate a sourcehut personal access token]: https://meta.sr.ht/oauth2/personal-token
|
2022-01-13 12:58:09 +00:00
|
|
|
[Emacs]: https://www.gnu.org/software/emacs/
|
2022-04-15 20:40:02 +00:00
|
|
|
[irssi]: https://irssi.org/
|