This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
matrix_tools [2020/06/01 13:06] neil |
matrix_tools [2023/12/27 13:45] (current) admin old revision restored (2023/04/27 19:16) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Matrix ====== | + | ====== Matrix Command Line Tools ====== |
| + | |||
| + | ===== 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/gemini-php/ | ||
| + | </code> | ||
| + | |||
| ===== Documentation ===== | ===== Documentation ===== | ||
| * https://matrix.org/docs/api/client-server/#/ | * https://matrix.org/docs/api/client-server/#/ | ||
| Line 114: | Line 122: | ||
| ===== 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 ===== | ||