---
author: ~khuxkm
published: true
title: spartan
description: spartan hosting on tilde.team
category:
- publishing
- services
---

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!