Crates.io | send_glitch |
lib.rs | send_glitch |
version | 0.4.0 |
source | src |
created_at | 2020-04-01 22:05:10.502557 |
updated_at | 2022-09-14 08:06:59.382054 |
description | Read jsonlines from stdin, write messages to matrix.org |
homepage | https://github.com/blakehawkins/send_glitch |
repository | https://github.com/blakehawkins/send_glitch |
max_upload_size | |
id | 225344 |
size | 64,776 |
Read jsonlines from stdin, send matrix.org message to configured channel.
Usage:
echo '
---
token: ""
password: "<password>"
room: "roomname"
account: "@username:matrix.org"
html_json_key: "html"
' > config.yaml
$ echo '{ "html": "<a href=\"https://google.com\">My google link</a>" }' | cargo run