💾 Archived View for station.martinrue.com › skyfaller › f6108e2dab064e158a5abf6b1656d761 captured on 2023-03-20 at 20:46:21. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2024-05-12)

🚧 View Differences

-=-=-=-=-=-=-

👽 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?

2 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.) · 2 years ago

👽 mc

AV-98 is a command line client. Ifyou want to try it without installing use ssh kiosk@gemini.circumlunar.space · 2 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. · 2 years ago