-- Leo's gemini proxy

-- Connecting to gemini.circumlunar.space:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Gemini Client Tests


In addition to the official 'client torture test'[1], here's some additional features to see how a client handles various file types and formatting.


[1] Gemini Client Torture Test


An Ascii-art Rabbit


Tests if clients incorrectly trim or don't use monospace type for code-blocks:


                              __
                     /\    .-" /
                    /  ; .'  .'
                   :   :/  .'
                    \  ;-.'
       .--""""--..__/     `.
     .'           .'    `o  \
    /                    `   ;
   :                  \      :
 .-;        -.         `.__.-'
:  ;          \     ,   ;
'._:           ;   :   (
    \/  .__    ;    \   `-.
 Två ;     "-,/_..--"`-..__)
     '""--.._:


A Quote


Often neglected, how does a quote block render:


> Heidegger: “Everywhere we remain unfree and chained to technology, whether we passionately affirm or deny it. But we are delivered over to it in the worst possible way when we regard it as something neutral; for this conception of it, to which today we particularly like to do homage, makes us utterly blind to the essence of technology.”


File-types


Basic .txt file (303b) - Två should render this in-app


Images and MP3s should be handled by Två in-app with an option to save to device


Två should play the file in-app and allow user to carry on browsing Geminispace:

Mp3 file (15.2mb)


Två should display images in-app, they should scale to fit screen, with pinch to zoom gestures:

Big JPG (3.4mb)


As above, but a .png and using less bandwidth:

Little PNG (30.3kb)


PDFs not currently handled by Två:

Example PDF


Reported Bugs


todo.sr.ht/~oppen/tva/4


Lines that start with pound/hash symbols but don't have text were causing fatal exception:


Start test - expect empty space:

End test


todo.sr.ht/~oppen/tva/5


Code block symbol within block causes block to truncate:


Before code block

Start code block
Three ticks within a code block: ```
End code block

After code block

-- Response ended

-- Page fetched on Wed May 22 01:53:59 2024