!qAVFqlBoxJSJCUdUSS:matrix.org

matrix-shell-suite

50 Members
Sending matrix messages using shell scripts. Check it out over on GitLab: https://gitlab.com/darnir/matrix-shell-suite. Documentation: https://darnir.gitlab.io/matrix-shell-suite/index.html37 Servers

Load older messages


SenderMessageTime
5 Aug 2019
@darnir:talk.go7box.xyzdarnirWe don't currently support "installation". That is on my roadmap though19:35:20
@darnir:talk.go7box.xyzdarnir The way to use it currently is, clone the repo and run the scripts available in src/ 19:35:41
@swedneck:permaweb.ioswedneck:permaweb.ioah19:35:50
@darnir:talk.go7box.xyzdarnirYou can also call the scripts from your own scripts. They're provided as standalone commands19:36:04
@swedneck:permaweb.ioswedneck:permaweb.ioi presumed you needed to install stuff since it's in src/ and not bin/ or similar19:36:07
@darnir:talk.go7box.xyzdarnirThey're still "source code" and not binaries. Since it is shell scripts.19:36:40
@darnir:talk.go7box.xyzdarnir So src/ seemed like the correct location 19:36:52
@swedneck:permaweb.ioswedneck:permaweb.iotrue, but you still place scripts in some bin directory, usually19:37:07
@darnir:talk.go7box.xyzdarnirHmm. Wasn't aware of that19:37:15
@swedneck:permaweb.ioswedneck:permaweb.iomaybe just add a line to the readme explaining where the files users are interested in are19:37:41
@darnir:talk.go7box.xyzdarnir I plan to provide an install target for make soon. Allowing you to install the scripts into /usr/bin or similar 19:37:50
@darnir:talk.go7box.xyzdarnirI shall! Thanks for the input.19:38:08
@swedneck:permaweb.ioswedneck:permaweb.ioanother bit of input: a script that wraps around curl to let you call the matrix API easily would be nice19:38:54
@darnir:talk.go7box.xyzdarnir
In reply to @darnir:talk.go7box.xyz
I plan to provide an install target for make soon. Allowing you to install the scripts into /usr/bin or similar
This just needs some refactoring to account for the location of sourced scripts.
19:38:59
@darnir:talk.go7box.xyzdarnir
In reply to @swedneck:permaweb.io
another bit of input: a script that wraps around curl to let you call the matrix API easily would be nice
That's exactly what this does?
19:39:17
@swedneck:permaweb.ioswedneck:permaweb.ioi mean a general script19:39:23
@darnir:talk.go7box.xyzdarnirTo call which API?19:39:33
@swedneck:permaweb.ioswedneck:permaweb.ionot specifically for logging in etc19:39:38
@swedneck:permaweb.ioswedneck:permaweb.ioi guess the other option is to have specific scripts for each API call19:41:00
@darnir:talk.go7box.xyzdarnirI don't follow. You want a script that does what exactly?19:41:23
@darnir:talk.go7box.xyzdarnirThe scripts I'm trying to provide make it easy to do common things. It's not necessarily a 1:1 mapping to the API19:41:54
@swedneck:permaweb.ioswedneck:permaweb.iowell the server-server api is definitely not needed :P19:42:15
@darnir:talk.go7box.xyzdarnirAnd it's not implemented either19:42:26
@AppAraat:matrix.orgAppAraat darnir: on its way (actually already in my repo) just need to read up on some things before the actual MR 21:33:24
@darnir:talk.go7box.xyzdarnir(y)21:53:53
@AppAraat:matrix.orgAppAraatdone23:52:15
@gitlab:t2bot.ioGitlab Notifications [Darshit Shah/Matrix Shell Suite] AppAraat opened merge request Removed "set -o pipefail" (!5) 23:20:12
6 Aug 2019
@AppAraat:matrix.orgAppAraatman, Gitlab is lacking some features IMO. First I can't see all of the MRs I started, and when I get a comment on a MR that I started, I only get an e-mail notification and no mention of it in the web UI.22:58:24
@AppAraat:matrix.orgAppAraatoh wait I just had to filter on me as author: https://gitlab.com/dashboard/merge_requests?scope=all&utf8=%E2%9C%93&state=all&author_username=AppA23:05:15
@AppAraat:matrix.orgAppAraat darnir: btw (and I know this is probably a pipe dream of mine), but what do you think about me attempting to replace dependency on jq ? 23:10:26

Show newer messages


Back to Room ListRoom Version: 1