From de458a1fa86688f57b9fef46f799d60cd07e2388 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 4 Nov 2021 10:46:10 +0100 Subject: GN --- topics/cli/weechat.gmi | 1 + 1 file changed, 1 insertion(+) create mode 100644 topics/cli/weechat.gmi (limited to 'topics/cli') diff --git a/topics/cli/weechat.gmi b/topics/cli/weechat.gmi new file mode 100644 index 0000000..719c95e --- /dev/null +++ b/topics/cli/weechat.gmi @@ -0,0 +1 @@ +# Weechat -- cgit v1.2.3 From 5322de934b05658337a4109e8c6cb450d6f63c96 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 4 Nov 2021 11:39:45 +0100 Subject: Weechat and slack! --- topics/cli/weechat.gmi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'topics/cli') diff --git a/topics/cli/weechat.gmi b/topics/cli/weechat.gmi index 719c95e..b9119b2 100644 --- a/topics/cli/weechat.gmi +++ b/topics/cli/weechat.gmi @@ -1 +1,22 @@ # Weechat + +Arun has packaged weechat for slack and matrix. Current install using a guix environment: + +``` +env GUIX_PACKAGE_PATH=~/guix-bioinformatics/ ~/opt/guix-latest/bin/guix environment --ad-hoc coreutils weechat weechat-matrix weechat-wee-slack nss-certs openssl python +echo $GUIX_ENVIRONMENT +/gnu/store/i4a3ynfjvq8r8cch14gkn2fwfs77wagj-profile/ +weechat +/python load /gnu/store/i4a3ynfjvq8r8cch14gkn2fwfs77wagj-profile/share/weechat/python/wee_slack.py +/slack register +``` + +So, capture the shell GUIX_ENVIRONMENT and use that to launch the wee-slack plugin. Next register a token through te Slack web interface. + +If you go through the motions you get a token and + +``` +/slack register 2654233192084.2682932906197.fd6d6e55c0038f-etc-052b4fa578ec497710b4b8770f1-etc +``` + +More instructions for https://github.com/wee-slack/wee-slack. -- cgit v1.2.3 From 04d79b5b657a50079f806221bc0a1cdab419b344 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 4 Nov 2021 11:55:52 +0100 Subject: weechat --- topics/cli/weechat.gmi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'topics/cli') diff --git a/topics/cli/weechat.gmi b/topics/cli/weechat.gmi index b9119b2..2d9e33c 100644 --- a/topics/cli/weechat.gmi +++ b/topics/cli/weechat.gmi @@ -1,6 +1,8 @@ # Weechat -Arun has packaged weechat for slack and matrix. Current install using a guix environment: +Weechat is a very versatile terminal chat that can handle IRC, Matrix and Slack. + +Arun has packaged weechat for slack and matrix in GNU Guix. Current install using a guix environment: ``` env GUIX_PACKAGE_PATH=~/guix-bioinformatics/ ~/opt/guix-latest/bin/guix environment --ad-hoc coreutils weechat weechat-matrix weechat-wee-slack nss-certs openssl python @@ -17,6 +19,7 @@ If you go through the motions you get a token and ``` /slack register 2654233192084.2682932906197.fd6d6e55c0038f-etc-052b4fa578ec497710b4b8770f1-etc +/python reload slack ``` More instructions for https://github.com/wee-slack/wee-slack. -- cgit v1.2.3 From 7bd19c5d1a27b786b1c125187e5c8e7f1d566d8e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 7 Nov 2021 09:09:50 +0100 Subject: weechat --- topics/cli/weechat.gmi | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'topics/cli') diff --git a/topics/cli/weechat.gmi b/topics/cli/weechat.gmi index 2d9e33c..b6fc062 100644 --- a/topics/cli/weechat.gmi +++ b/topics/cli/weechat.gmi @@ -2,6 +2,8 @@ Weechat is a very versatile terminal chat that can handle IRC, Matrix and Slack. +## Weechat install + slack + Arun has packaged weechat for slack and matrix in GNU Guix. Current install using a guix environment: ``` @@ -23,3 +25,42 @@ If you go through the motions you get a token and ``` More instructions for https://github.com/wee-slack/wee-slack. + +## Weechat IRC + +We have a GeneNetwork channel + +``` +/set irc.server_default.nicks pjotrp +/server add libera irc.libera.chat/6697 -ssl -autoconnect +/connect libera +/join #guix +/join #guix-risc-v +/join #guix-hpc +/join #genenetwork +``` + +## Weechat matrix + +The matrix plugin works similar to above Slack plugin. + +``` +/script load matrix.py +/matrix server add fosdem chat.fosdem.org +/set matrix.server.matrix_org.username pjotrp-linux +/set matrix.server.matrix_org.password **** +/set matrix.server.matrix_org.autoconnect on +/save +``` + +Only the matrix version is not so polished. For example, it is hard to find the buffers because they are named by a hash. In a buffer you can rename with + +``` +/buffer set short_name myname +``` + +Also, you need to enable every channel explicitly to exchange keys + +``` +/olm verify @user:matrix.org * +``` -- cgit v1.2.3