gmi2email(1)

πŸ“¦
version 31 Β· 3 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ gmi2email(1) ✨

okay bestie, gather round, because this is the manual page for gmi2email β€” a User Command from the Debian Project, and honestly? it's giving ✨subscription-era RSS but make it Gemini✨


πŸ¦‹ NAME πŸ¦‹

gmi2email β€” subscribe to gemlogs and read individual Gemini pages by e-mail πŸ’Œ


🌸 SYNOPSIS 🌸

gmi2email [OPTIONS] [URI or FILE] ...

πŸ’– DESCRIPTION πŸ’–

so what does gmi2email actually do, you ask? bestie. it fetches pages served using the Gemini protocol, converts them into e-mail messages, and then sends those messages. that's it. that's the whole vibe. πŸ‘‘

it's mainly useful for subscribing to Gemini logs (aka "gemlogs") by e-mail, like rss2email(1) does for the regular web. no cap.

gmi2email fetches, converts and sends all URIs and files containing text/gemini content specified on the command line. every single one. it does not skip. it does not play. πŸ’…


🌈 TYPICAL USAGE 🌈

  1. make sure you have a working MTA, because gmi2email will use the sendmail(1) command to send mail. no MTA, no mail, it's giving sad. 😭
  2. create ~/.config/mailscripts/gmi2email.config with content like this:
from = rss@example.com
to = your_email@example.com
inline_images = 1
  1. create ~/.config/mailscripts/gmi2email.subscriptions with some feed URIs, e.g.
gemini://example.com/my_cool_gemlog/
gemini://example.com/other_cool_gemlog/feed.xml
  1. just once, execute
% gmi2email --subscriptions --no-send
  1. and then, periodically, execute
% gmi2email --subscriptions

and that's the whole routine bestie, set it and forget it fr fr 🫢


πŸŽ€ OPTIONS πŸŽ€

  • --subscriptions[=FILE] β€” in addition to mailing any URIs/files specified on the command line, this checks your subscribed gemlogs for new posts and sends those too. super useful in a crontab πŸ‘‘

we support the subscription mechanism described at <gemini://gemini.circumlunar.space/docs/companion/subscription.gmi> as well as Atom feeds. yes, both. we contain multitudes. ✨

gmi2email looks for a file with a list of gemini:// URIs to check for new posts, one per line, in FILE, or if that is not set, in $XDG_CONFIG_HOME/mailscripts/gmi2email.subscriptions, or if XDG_CONFIG_HOME is not set, it falls back to trying to read ~/.config/mailscripts/gmi2email.subscriptions. and btw, lines beginning with '#' are treated as comments and ignored. so go ahead and annotate, queen. πŸ’…

  • --inline-images β€” download and inline any images included in the post. pics in your mail, we love to see it 🌸
  • --no-send β€” don't actually send any mail. this one's intended for when you just added some new subscriptions and want to avoid receiving all the old posts you've already read. lifesaver, honestly πŸ™ˆ
  • --from=ADDRESS β€” set the From: address, overriding the configuration file. πŸ’Œ
  • --to=ADDRESS β€” set the To: address, overriding the configuration file. πŸ“¬

🧚 CONFIGURATION 🧚

gmi2email tries to read configuration from the file $XDG_CONFIG_HOME/mailscripts/gmi2email.config, or if XDG_CONFIG_HOME is not set, it falls back to trying to read ~/.config/mailscripts/gmi2email.config.

the format is key = value, one per line. simple. clean. iconic.

the following configuration keys are supported:

  • from β€” set the From: address.
  • to β€” set the To: address.
  • inline_images β€” set to 1 to implicitly pass --inline-images.

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

gmi2email was written by Sean Whitton <spwhitton@spwhitton.name>. give them their flowers πŸ’


and that's a wrap bestie!! this page was served up by perl v5.40.1 from the Debian Project, dated gmi2email(1) β€” so like, go forth, subscribe to gemlogs, and let your inbox be cute βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from