< ~wiki

spartan

tilde.team offers spartan hosting!

see our homepage for a list of users.

spartan://tilde.team you'll need a spartan client to view that page or a web proxy

to be added to the homepage, simply create a public_spartan directory:

mkdir -p ~/public_spartan

if you need a basic spartan client, gelim (by our own ~hedy) is installed and can even do 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!


source