axon
This is a set of simple utility programs for interacting with the Matrix
Client-Server API that I find useful when debugging bots and custom clients
(like tallyard). The name comes from the part of
neurons that seem to connect to
Synapses and
Dendrites:
![axon connects to Synapse/Dendrite](https://upload.wikimedia.org/wikipedia/commons/1/10/Blausen_0657_MultipolarNeuron.png)
usage
Install via go get:
go get git.hnitbjorg.xyz/~edwargix/axon
$(go env GOPATH)/bin/axon help
or from source:
git clone https://git.hnitbjorg.xyz/~edwargix/axon
go build
./axon help
When you first run one of the subcommands, you'll be prompted for the username
and password of a Matrix account. You'll only be asked for these credentials on
your first invocation of axon since the access token will get stored in
~/.local/share/axon/auth.json
(with ACL bits 600). The subcommand will then
do some little bit of functionality on the Matrix network from the perspective
of your account using the Client-Server
API. Run axon help <subcommand>
so see what a given subcommand does.
contributing
Please send requests/patches to
~edwargix/public-inbox@lists.hnitbjorg.xyz