]> Sergey Matveev's repositories - tofuproxy.git/blob - doc/gemini.texi
Download link for 0.6.0 release
[tofuproxy.git] / doc / gemini.texi
1 @node Gemini
2 @unnumbered Geminispace
3
4 You can browse @url{https://en.wikipedia.org/wiki/Gemini_(protocol),
5 geminispace} by going to @url{https://gemini/HOST/PATH}, where
6 @var{HOST} and @var{PATH} are taken from ordinary gemini URL. For
7 example to browse @url{gemini://gemini.circumlunar.space/docs/}, you must go
8 through @command{tofuproxy} to @url{https://gemini/gemini.circumlunar.space/docs/}.
9 Or you can go to @url{https://gemini/gemini://gemini.circumlunar.space/docs/}
10 and will be redirected to necessary URL.
11
12 If you request @url{https://gemini/} URL with @code{Accept: text/gemini}
13 HTTP header, then gemfiles (@file{.gmi} will be passed as-is without
14 conversion to HTML.
15
16 @example
17 $ curl --proxy http://localhost:8080/ --header "Accept: text/gemini" \
18     https://gemini/gemini.circumlunar.space/docs/
19 @end example
20
21 No @code{INPUT} is supported currently.