## Geomyidae Hackathon Geomyidae Hackathon by 20h ## Please run geomyidae from source. % git clone git://bitreich.org/geomyidae % cd geomyidae % make % ./geomyidae -b $(pwd) -p 7070 -d % sacc gopher://localhost:7070 ## Hackathon Goals * Increase and optimize download speeds * Write REST services of web services. * As a separate talk: * Collaboratively work on a proposal by Evil_Bob to document the modern way we use Gopher, as some addendum to the RFC. ## Download Speeds Difficulty level: For people with C knowledge. The download stuff in geomyidae is handled in ind.c:xsendfile. This function needs to be optimized for speed. See those links for how to do this in modern Linux: * https://mazzo.li/posts/fast-pipes.html * https://ariadne.space/2022/07/17/how-efficient-can-cat1-be/ A simple benchmark is to dd some 4gb file and time the download. ## REST services Difficulty level: It is just simple scripting in whatever you want. Please see the geomyidae(8) manpage about DYNAMIC CONTENT, which tells you which arguments are given to a cgi/dcgi script. There is also a CGI.md file with details. And you have examples in cgi-examples/ directory, especially the one about the new REST feature. Task: What is your most favourite website? Can you make it have an interface over gopher today? It is easy. ## Results Please send your results to the IRC channel, so I can summarize them and thank you. Thanks to everyone contributing! Comments and critique to: Christoph Lohmann <20h@r-36.net>