2023-04-02 12:47:01 +02:00
|
|
|
#+DATE: 2023-02-21
|
2023-02-21 19:06:29 +01:00
|
|
|
#+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
|
|
|
|
|
2023-04-02 12:47:01 +02:00
|
|
|
** And now, what?
|
|
|
|
|
|
|
|
Once in the channel you can use ~/~ to access the available commands, e.g.,
|
|
|
|
|
|
|
|
* /buffer weechat: go to weechat buffer
|
|
|
|
* /buffer user_name: got to "user_name" buffer
|
|
|
|
|
2023-02-21 19:06:29 +01:00
|
|
|
** 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
|
2023-04-02 12:47:01 +02:00
|
|
|
][Quickstart guide matrix]]
|