💾 Archived View for station.martinrue.com › skyfaller › f6108e2dab064e158a5abf6b1656d761 captured on 2022-07-16 at 19:35:34. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Is there a good way to post to Station from the command line, e.g. from a shell script? Let's say I want to post to Mastodon from toot and to Station with the same command. How would you go about it?
10 months ago
I use gemget to post to Station whenever I add a new tinylog entry. This is the script I use, with username and cert fingerprint bytes removed:
gemini://lyk.so/systems/gemini/scripts/tinylog-post.sh
Gemget is here:
https://github.com/makeworld-the-better-one/gemget/
If you've got the inclination and ability, there's also a Bash-based client which could probably have client certificate support added with little effort:
https://git.sr.ht/~acdw/bollux
(You could also just adapt its way of using OpenSSL to run Gemini requests, I suppose.) · 10 months ago
AV-98 is a command line client. Ifyou want to try it without installing use ssh kiosk@gemini.circumlunar.space · 10 months ago
Try the gmni client, it can be used like curl to send single requests. You'll need to feed it a valid client certificate for your Station user. · 10 months ago