๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ s โ€บ Rosy-Crow-Issues โ€บ 29 captured on 2023-12-28 at 16:26:34. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-11-14)

๐Ÿšง View Differences

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

[#29] Streaming Files (including Text)

Currently, it looks like Rosy Crow waits until the connection has completely finished (aka. the file has fully downloaded) before it starts displaying text. I think it's better if you could load in the page as it comes in, rather than wait until the end of the conection to load the page. This will allow for slower connections to see at least some content loading in before the whole document has been downloaded, and it will allow for text chat rooms to work in gemini.

This is spec-compliant, as Section 1.1 allows for clients to handle content as it comes in rather than waiting until the connection has closed to handle content:

Note that clients are not obligated to wait until the server closes the connection to begin handling the response.

This text streaming idea was originally proposed by Tomasino and others in the Gemini IRC, and then Mozz created the first chatroom. Solderpunk also followed up with a post outlining its use-cases.

gemini streaming (tomasino)

A Vision for Gemini Applications

Re: A Vision for Gemini Applications

You can test streaming of text/gemini with the link below:

thegonz.net text/gemini Stream Test

๐Ÿž Issue #29 in s/Rosy-Crow-Issues

๐Ÿš€ clseibold

Sep 19 ยท 3 months ago ยท ๐Ÿ‘ Addison

1 Comment

๐Ÿ Addison ยท Oct 14 at 20:44:

This will pose an interesting challenge because the app works by generating an entire HTML document from gemtext. That document is then sent to an embedded web view all at once.

I appreciate the links, this helps a lot.