@skyjake I noticed in your post on lagrange 1.4 that zip viewing only works for downloaded zips because gemini servers don't know about contents of zips. That's true, but they actually don't have to. You should be able to keep the zip data in memory and parse out the zip to get the contents, all from memory (or even a temp directory, if needed).
3 years ago 路 馃憤 pete, starbreaker
This post is very interesting, so for now we have to implement this feature in the existing gemini servers 路 3 years ago
@skyjake Thanks for writing a post about this. Right after I wrote this post, I was thinking about some of the things you have discussed. I agree, the best option definitely would be for servers to support zips somehow. It makes sense - the bigger problem isn't storing the zip in memory and reading it, it's interpreting the URL correctly. 路 3 years ago
I wrote a post about this: gemini://skyjake.fi/gemlog/2021-05_browsing-zips.gmi 路 3 years ago
gemini://skyjake.fi/gemlog/2021-05_browsing-zips.gmi
I agree with @krixano. If they're too big, why not stick them in /tmp? If the user then decides to "download" the gpub, you can copy from /tmp to $HOME/Downloads. 路 3 years ago