WeeChat tips

2021-01-19 00:00

Here are some handy things I learned from using WeeChat that might be valuable to some people.

Page overview

Adding an IRC network securely

The tips in this section won’t leave plaintext passwords in ~/.weechat/irc.conf.

Registering your nickname

/msg nickserv register <your-password> <your-email@example.com>

Adding servers and credentials

/secure passphrase <your-password-to-unlock-all-passwords>
/secure set libera.chat_password <your-password>
/server add libera.chat libera.chat/6697 -ssl
/set irc.server.libera.chat.sasl_username "<username>"
/set irc.server.libera.chat.sasl_password "${sec.data.libera.chat_password}"
/set irc.server.libera.chat.autoconnect on
/set irc.server.libera.chat.autojoin "#coolchannel,#anothercoolchannel"

Changing your password

/secure set libera.chat_password <new-password>
/save

Adding an IRC network insecurely

The tips in this section will leave plaintext passwords in ~/.weechat/irc.conf.

Registering your nickname

/msg nickserv register <your-password> <your-email@example.com>

Adding servers and credentials

/secure set libera.chat_password <your-password>
/server add libera.chat libera.chat/6697 -ssl
/set irc.server.libera.chat.username "<username>"
/set irc.server.libera.chat.password <your-password>
/set irc.server.libera.chat.autoconnect on
/set irc.server.libera.chat.autojoin "#coolchannel,#anothercoolchannel"

Changing your password

/set irc.server.libera.chat.password <your-new-password>
/save

Tweaks and tricks