paapereira.xyz

Scripting sending messages with SimpleX Chat CLI

SimpleX Chat as a CLI version. You can read more about it in my last post.

You can pass commands to simplex-chat, so… I finally can send myself messages from my shell scripts in my server when something goes wrong.

Something like: simplex-chat -e "@username A message"

It supports markdown so I can send it in red: simplex-chat -e "@username !1 A message!"

Inside simplex-chat you can list the options for markdown:

1/markdown
2Markdown:
3        *bold*          - bold text
4        _italic_        - italic text (shown as underlined)
5        ~strikethrough~ - strikethrough text (shown as inverse)
6        `code snippet`  - `a + b // no *markdown* here`
7        !1 text!        - red text (1-6: red, green, blue, yellow, cyan, magenta)
8        #secret#        - #secret text# (can be copy-pasted)

#Linux #Arch Linux #SimpleX Chat