site/wiki/pages/spartan.md

41 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2021-08-19 18:54:35 +00:00
---
author: ~khuxkm
published: true
title: spartan
description: spartan hosting on tilde.team
category:
2022-09-29 18:53:09 +00:00
- publishing
- services
2021-08-19 18:54:35 +00:00
---
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`
2022-09-29 18:53:09 +00:00
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!