💾 Archived View for rawtext.club › ~sloum › geminilist › 006619.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

<-- back to the mailing list

[server question] What can be done with server side scripting?

Omar Polo op at omarpolo.com

Sat Jun 5 11:47:29 BST 2021

- - - - - - - - - - - - - - - - - - - 

Oliver Simmons <oliversimmo at gmail.com> writes:

On Sat, 5 Jun 2021 at 08:12, Omar Polo <op at omarpolo.com> wrote:
Realistically, it also depends on the clients. One cool thing that may
be done over Gemini, but I'm not sure about client support, is streaming
text/gemini pages. One could, for instance, build a "Feed" (or a
"Notification" page) that keeps the connection open and sends the
updates to the client on the fly.
Lagrange even supports streaming audio files, Internet Radio over
Gemini is a possible thing to do :)
The main issue with streaming content over Gemini is that alot of
servers don't send TLS close¹, and so there's no easy way to know if
some has or hasn't ended. (I may have the details slightly wrong, as I
don't know much of the details)
=
¹ https://gitlab.com/gemini-specification/protocol/-/issues/2

I wasn't talking about streaming audio (which is cool and I didn't knewwas a thing in the gemini space), but raw text/gemini files. Forinstance, one could build a gemini interface for the fediverse, andprovide a feed page which will print the toots of the people you followas they are posted. Something like the infinite scrolling featured insome website, except without the bloat :)

As for the importance of the TLS close notify, it's indeed important todistinguish a connection that was properly closed and one that wasinterrupted. Don't know much about the percentages though, but myserver operates correctly :P

[0]: https://github.com/kr1sp1n/awesome-gemini#services
Didn't know this existed, neat repo!