SEANK.H.LIAO

irc weechat

irc with weechat

irc weechat

some developer communities apparently only exist on irc, so you need a proper client to connect.

todo: make weechat less ugly

concepts

since servers don't keep global history, you need to be connected to be able to see history.

setup goals

server
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
/set irc.server.oftc.nicks seankhliao
/set irc.server.oftc.ssl_cert %h/ssl/freenode.pem
/connect oftc
/msg nickserv register password email
/msg nickserv cert add
/disconnect oftc
/connect oftc
/join #channel-you-want-to-join
/set irc.server.freenode.autojoin #channels,#you,#always,#want,#to,#join

setup relay (allow clients to connect)

expects cat privkey.pem fullchain.pem combined cert in $WEECHAT_HOME/ssl/relay.pem

/secure set another-secret relay-password
/relay add ssl.irc port-for-irc-over-ssl
/relay add ssl.weechat port-for-weechat-over-ssl
/set relay.network.password ${sec.data.another-secret}

save and start in a screen / tmux / headless session in systemd

/save

laptop client

# /server add name-of-relay host-of-relay/port-for-irc-over-ssl -ssl
/server add weechat weechat.example.com/7992 -ssl -autoconnect

# /secure set yet-another-secret server:relay-password
/secure set yet-another-secret freenode:relay-password
/set irc.server.weechat.password ${sec.data.yet-another-secret}
/set irc.server.weechat.nicks name-you-want

mobile client

top right > settings > connection

Connection type: WeeChat SSL
Relay host: host-of-relay
Relay port: port-for-weechat-over-ssl
Relay password: relay-password