m455.casa

WeeChat tips

2021-01-19

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 freenode_password <your-password>
/server add freenode freenode/6697 -ssl
/set irc.server.freenode.sasl_username "<username>"
/set irc.server.freenode.sasl_password "${sec.data.freenode_password}"
/set irc.server.freenode.autoconnect on
/set irc.server.freenode.autojoin "#coolchannel,#anothercoolchannel"

Changing your password

/secure set freenode_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 freenode_password <your-password>
/server add freenode freenode/6697 -ssl
/set irc.server.freenode.username "<username>"
/set irc.server.freenode.password <your-password>
/set irc.server.freenode.autoconnect on
/set irc.server.freenode.autojoin "#coolchannel,#anothercoolchannel"

Changing your password

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

Tweaks and tricks