diff --git a/README.org b/README.org index 9347043..fab8c6f 100644 --- a/README.org +++ b/README.org @@ -67,6 +67,7 @@ opportunity to learn about computers, files, directories and programs. ** Communication, messengers + * [[./tutorial/weechat.org][Using weechat for matrix with python script 'weechat-matrix']] ** Text edition diff --git a/tutorial/weechat.org b/tutorial/weechat.org new file mode 100644 index 0000000..40227ca --- /dev/null +++ b/tutorial/weechat.org @@ -0,0 +1,35 @@ +#+OPTIONS: toc:nil num:nil + +* How to use weechat to connect to matrix service + + +Use the following command to load the `weechat-matrix` script: + +#+begin_src bash + /script load weechat-matrix.py +#+end_src + +Set up username and password: + +#+begin_src bash +/set matrix.server.matrix_org.username usernamehere +/set matrix.server.matrix_org.password passwordhere +#+end_src + +Connect to matrix server: + +#+begin_src bash +/matrix connect matrix_org +#+end_src + +Saving configuration: + +#+begin_src bash + /save +#+end_src + +** References + +- [[https://github.com/poljar/weechat-matrix][weechat-matrix on github]] +- [[https://matrix.org:443/_matrix/client/r0/login/sso/redirect?redirectUrl=http://127.0.0.1:60673 +][Quickstart guite matrix]]