From 2bf01dabff6f0dabed1eccf9d1d733333371fd53 Mon Sep 17 00:00:00 2001 From: khuxkm fbexl Date: Thu, 19 Aug 2021 18:54:35 +0000 Subject: [PATCH] Add page on spartan hosting --- wiki/pages/spartan.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 wiki/pages/spartan.md diff --git a/wiki/pages/spartan.md b/wiki/pages/spartan.md new file mode 100644 index 0000000..a24b72e --- /dev/null +++ b/wiki/pages/spartan.md @@ -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!