šŸ’¾ Archived View for bbs.geminispace.org ā€ŗ u ā€ŗ xavi ā€ŗ 15433 captured on 2024-05-26 at 17:02:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

ā¬…ļø Previous capture (2024-05-10)

āž”ļø Next capture (2024-06-16)

šŸš§ View Differences

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

Comment by šŸŽµ xavi

Re: "slcl 0.2.1 release"

In: s/self-hosted

So far, I have successfully tested file previews on LibreWolf, Mull Browser, Ungoogled Chromium, Tor Browser and SeaMonkey. Some file formats, such as .wav, might or might not be previewed by the browser, and would instead be served as a regular file download.

However, I have never seen a web browser that would render images or PDFs as text. Previews only differ from regular downloads on the contents of the "Content-Disposition" HTTP header (inline or attachment; filename="<filename>", respectively), so it is up to the browser how to render "Content-Disposition: inline".

Maybe you should check your web browser settings, or try with different browsers.

šŸŽµ xavi [OP]

Feb 29 Ā· 3 months ago

3 Later Comments ā†“

šŸ satch Ā· Feb 29 at 22:56:

Iā€™m using Brave, which is chromium based.

šŸ satch Ā· Mar 02 at 17:51:

@xavi also tried with Firefox. File previews don't work.

šŸŽµ xavi [OP] Ā· Mar 05 at 08:12:

@satch I have just tested file previews on Firefox 123.0 and they work as expected. I wish I could help you with this, but unfortunately I do not know how to reproduce this issue.

Is there any unexpected output from slcl when attempting to preview a file?

Original Post

šŸŒ’ s/self-hosted

ā€” u/jmjl

slcl 0.2.1 release ā€” I have just released slcl v0.2.1, a bugfix release for a minimalist web file server written in C for Unix-like systems. It is strongly recommended that existing instances update to the newer version when possible. If you have never heard about this project before, it aims to provide similar features to Nextcloud's "Files" webapp, but using ~100x less resources. It has almost no dependencies and relies on libweb, a HTTP web...

šŸ’¬ xavi Ā· 24 comments Ā· 4 likes Ā· Feb 23 Ā· 3 months ago