[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@gmail.com> writes:

> On Sat, 5 Jun 2021 at 08:12, Omar Polo <op@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 knew
was a thing in the gemini space), but raw text/gemini files.  For
instance, one could build a gemini interface for the fediverse, and
provide a feed page which will print the toots of the people you follow
as they are posted.  Something like the infinite scrolling featured in
some website, except without the bloat :)

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

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



Archive home | About this archive