~edwargix/axon

a set of simple utility programs for interacting with the Matrix Client-Server API
8e97d972 — David Florness 2 years ago
Show message when successfully logged in
22130881 — David Florness 2 years ago
Fix Makefile prerequisites
aa4a4b7d — David Florness 2 years ago
Remove superfluous cmd.Add()

refs

master
browse  log 

clone

read-only
https://git.hnitbjorg.xyz/~edwargix/axon
read/write
git@git.hnitbjorg.xyz:~edwargix/axon

You can also use your local clone with git send-email.

#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

#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