summaryrefslogtreecommitdiff
path: root/topics
diff options
context:
space:
mode:
authorPjotr Prins2021-11-04 11:39:45 +0100
committerPjotr Prins2021-11-04 11:39:45 +0100
commit5322de934b05658337a4109e8c6cb450d6f63c96 (patch)
tree0568d5218ecf03eb53dfca83df0107fb4b630478 /topics
parentde458a1fa86688f57b9fef46f799d60cd07e2388 (diff)
downloadgn-gemtext-5322de934b05658337a4109e8c6cb450d6f63c96.tar.gz
Weechat and slack!
Diffstat (limited to 'topics')
-rw-r--r--topics/cli/weechat.gmi21
1 files changed, 21 insertions, 0 deletions
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.