User Tools

Site Tools


matrix_tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
matrix_tools [2020/06/01 14:06]
neil
matrix_tools [2023/04/27 20:24]
neil
Line 1: Line 1:
-====== Matrix ​ ======+====== Matrix ​Command Line Tools ====== 
 ===== Documentation ===== ===== Documentation =====
   * https://​matrix.org/​docs/​api/​client-server/#/​   * https://​matrix.org/​docs/​api/​client-server/#/​
Line 114: Line 115:
  
 ===== Matrix Bot ===== ===== Matrix Bot =====
-The basis of my bot's interaction with Matrix is bascially ​the above code.  Replace the echo line with with whatever you want to do (in my case, I look up a list of rules [i.e. pairs of regexes and their response functions] I use in IRC from a database and act accordingly). ​+The basis of my bot's interaction with Matrix is basically ​the above code.  Replace the echo line with with whatever you want to do (in my case, I look up a list of rules [i.e. pairs of regexes and their response functions] I use in IRC from a database and act accordingly). ​
  
 ===== Posting images to a room ===== ===== Posting images to a room =====
Line 185: Line 186:
 </​code>​ </​code>​
  
 +===== Git =====
 +You can [[https://​coding.openguide.co.uk/​gitweb/?​p=matrix-cli;​a=summary|view the repository]] or clone the code directory from my repository:
 +<code bash>
 +git clone https://​coding.openguide.co.uk/​git/​matrix-cli/​
 +</​code>​
  
matrix_tools.txt · Last modified: 2023/12/27 13:45 by admin