add gemini wikipage

This commit is contained in:
Ben Harris 2020-09-01 14:57:52 -04:00
parent d3edea3b1e
commit 4c12f60487
1 changed files with 39 additions and 0 deletions

39
wiki/pages/gemini.md Normal file
View File

@ -0,0 +1,39 @@
---
author: ~ben
published: true
title: gemini
description: gemini hosting on tilde.team
category:
- main
---
# gemini
tilde.team offers gemini hosting!
see our homepage for a list of users.
[gemini://tilde.team](gemini://tilde.team)
you'll need a gemini [client](https://gemini.circumlunar.space/clients.html)
to view that page or a [web proxy](https://portal.mozz.us/gemini/tilde.team/)
to be added to the homepage, simply create a `public_gemini` directory:
mkdir -p ~/public_gemini
if you need a basic gemini client, [bombadillo](https://tildegit.org/sloum/bombadillo)
is installed and can even do [gopher](/wiki/gopher) as well.
cgi is also supported. make sure that you have a proper shebang and
set the file to be executable.
cgi must print the status and type per the gemini spec:
here's a simple example in sh
#!/bin/sh
printf "20 text/gemini\r\n"
printf "hello world\n"
only the first line of the file MUST send `\r\n`
see you in geminispace and feel free to stop by #gemini on irc to discuss!