๐Ÿ‘ฝ skyfaller

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

Actions

๐Ÿ‘‹ Join Station

3 Replies

๐Ÿ‘ฝ lykso

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

๐Ÿ‘ฝ mc

AV-98 is a command line client. Ifyou want to try it without installing use ssh kiosk@gemini.circumlunar.space ยท 3 years ago

๐Ÿ‘ฝ mntn

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