Add page on spartan hosting
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Miles 2021-08-19 18:54:35 +00:00
parent 4bb83aff28
commit 2bf01dabff
1 changed files with 40 additions and 0 deletions

40
wiki/pages/spartan.md Normal file
View File

@ -0,0 +1,40 @@
---
author: ~khuxkm
published: true
title: spartan
description: spartan hosting on tilde.team
category:
- main
---
# spartan
tilde.team offers spartan hosting!
see our homepage for a list of users.
[spartan://tilde.team](spartan://tilde.team)
you'll need a spartan [client](https://portal.mozz.us/spartan/mozz.us/software.gmi)
to view that page or a [web proxy](https://portal.mozz.us/spartan/tilde.team/)
to be added to the homepage, simply create a `public_spartan` directory:
mkdir -p ~/public_spartan
if you need a basic spartan client, [gelim](https://git.sr.ht/~hedy/gelim)
(by our own ~hedy) is installed and can even do [gemini](/wiki/gemini) as well,
pending spartan support being added to bombadillo
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 spartan spec:
here's a simple example in sh
#!/bin/sh
printf "2 text/gemini\r\n"
printf "hello world\n"
only the first line of the file MUST send `\r\n`
see you in... the Spartan-verse? Laconia? we haven't come up with a name, but feel free to stop by #spartan on irc to discuss!