-- Leo's gemini proxy

-- Connecting to warmedal.se:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; lang=en

python3

vim: tabstop=4 shiftwidth=4 expandtab


import glob

from string import Template

import os


os.chdir(os.path.dirname(os.path.realpath(__file__)))


print("20 text/gemini\r")


fileLinks = ""

gameFiles = glob.glob("*")


gameFiles.remove("index.cgi")

gameFiles.remove("index.gmi")


for gameFile in gameFiles:

fileLinks += f"=> {gameFile} {gameFile}\n"


print(f"""# Game Collaborations


This directory stands a little apart from the rest of my games: they're not just mine. Most of the stuff here is written by other people. My own contributions are just a tiny part.


I've been allowed to publish everything here under creative common licenses, and some of it is explicitly marked with a chosen license. For those that aren't you should consider them as having the most restrictive creative commons license: CC BY-NC-ND. Please ask if you're uncertain.


Files and Directories


{fileLinks}

""")


-- Response ended

-- Page fetched on Mon May 6 12:10:24 2024