GG(1) General Commands Manual GG(1)

gggemini client

gg [-23Nnv] [-C cert] [-d mode] [-H sni] [-K key] [-P host[:port]] [-T secondsgemini://...

gg (gemini get) fetches the given gemini page and prints it to standard output.

The options are as follows:

Accept only TLSv1.2.
Accept only TLSv1.3.
certificate
Use the given client certificate.
mode
Specify what gg should print. mode can be one of:
none
print only the body of the reply
code
print only the response code
header
print only the response header
meta
print only the response meta
all
print the whole response as-is.
sni
Use the given sni host name instead of the one deducted by the IRI or proxy.
key
Specify the key for the certificate. It's mandatory if -C is used.
Disables the server name verification.
Check that the given IRI is valid, but don't make any requests.
host[:port]
Connect to the given host and port to do the request instead of the ones extracted by the IRI. port is by default 1965.
seconds
Kill gg after seconds.

The gg utility exits with zero if the response code was in the 2x range.

gg uses the “Flexible and Economical” UTF-8 decoder written by Bjoern Hoehrmann.

The gg utility was written by Omar Polo <op@omarpolo.com>.

gg doesn't do any TOFU (Trust On First Use) or any X.509 certificate validation beyond the name verification.

gg doesn't follow redirects.

January 30, 2022 OpenBSD 7.1