gmi2email(1)
β¨ 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 π
- make sure you have a working MTA, because
gmi2emailwill use thesendmail(1)command to send mail. no MTA, no mail, it's giving sad. π - create
~/.config/mailscripts/gmi2email.configwith content like this:
from = rss@example.com
to = your_email@example.com
inline_images = 1
- create
~/.config/mailscripts/gmi2email.subscriptionswith some feed URIs, e.g.
gemini://example.com/my_cool_gemlog/
gemini://example.com/other_cool_gemlog/feed.xml
- just once, execute
% gmi2email --subscriptions --no-send
- 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 acrontabπ
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 theFrom:address, overriding the configuration file. π--to=ADDRESSβ set theTo: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 theFrom:address.toβ set theTo:address.inline_imagesβ set to1to 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
- debian trixie: mailscripts 30-2
- ubuntu questing: mailscripts 30-2
- ubuntu resolute: mailscripts 30-2build1
- ubuntu stonking: mailscripts 31-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms