💾 Archived View for station.martinrue.com › skyfaller › f6108e2dab064e158a5abf6b1656d761 captured on 2024-08-31 at 15:19:00. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-12)
-=-=-=-=-=-=-
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?
3 years 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.) · 3 years ago
gemini://lyk.so/systems/gemini/scripts/tinylog-post.sh
https://github.com/makeworld-the-better-one/gemget/
https://git.sr.ht/~acdw/bollux
AV-98 is a command line client. Ifyou want to try it without installing use ssh kiosk@gemini.circumlunar.space · 3 years 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. · 3 years ago