💾 Archived View for gemi.dev › gemini-mailing-list › 000026.gmi captured on 2024-08-25 at 08:46:03. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-12-28)
-=-=-=-=-=-=-
Greetings Geminauts, May I announce a new Gemini client: dillo-gemini. It is a plugin for the Dillo browser which enables loading gemini:// URLs. The source is on git-ssb and also available on the WWW here: https://git.scuttlebot.io/%25V0D7DtSnZyyAp1NbgOJF2ZAFMeUy9eXwyClCEKYUYAI%3D.sha256 Also I am attaching the source code of the initial release. Implementation notes: - It uses dillo (dpi) plugin's "filter" mode, which spawns a process to handle each request. - It is implemented as a shell script which feels like a lazy way of doing it but works. (It is bash but I think could be sh if it weren't for the 'read -d') - It uses ncat to do the fetching (but could be changed to use openssl s_client instead). - It does not yet support Input (status code 1*). - Redirection is not possible for a dillo plugin, so it renders redirects as a page linking to the target URL. - It does not manipulate the request path but lets Dillo handle setting the target URLs. "client torture test" items 0009 and 0010 are not passed, because dillo does not remove the "./" parts of the URL - although it would be possible for the plugin to do this internally (without redirecting). Regards, Charles Lehner (~cel) -------------- next part -------------- A non-text attachment was scrubbed... Name: gemini.filter.dpi Type: text/x-shellscript Size: 3270 bytes Desc: not available URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20191031/a1f5 bbbb/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: dillo-gemini-README.md Type: text/markdown Size: 965 bytes Desc: not available URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20191031/a1f5 bbbb/attachment.md> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20191031/a1f5 bbbb/attachment.sig>
On Thu, Oct 31, 2019 at 10:44:59AM -1000, cel at celehner.com wrote: > Greetings Geminauts, > > May I announce a new Gemini client: dillo-gemini. It is a plugin for the Dillo browser which enables loading gemini:// URLs. The source is on git-ssb and also available on the WWW here: > https://git.scuttlebot.io/%25V0D7DtSnZyyAp1NbgOJF2ZAFMeUy9eXwyClCEKYUYAI%3D.sha256 > Also I am attaching the source code of the initial release. This is tremendously exciting news! I am a big fan of Dillo and have actually had the idea in the back of my head for a while to write a simple Gemini-to-HTTP proxy designed to be run only locally precisely so I could use Dillo as a Gemini client. I'm very happy to have a proper plugin instead. I'm also very happy to see that Gemini clients can be assembled from tools like ncat with a shell script. The ability to do things like this is an oft-touted benefit of the simplicity of Gopher, and it's nice to see we haven't added so much complexity that this is no longer feasible. Can't wait to try this out soon! Cheers, Solderpunk
Thanks for the encouragement, Solderpunk. I have also published a version of the plugin written in C as an exercise: https://git.scuttlebot.io/%25V0D7DtSnZyyAp1NbgOJF2ZAFMeUy9eXwyClCEKYUYAI%3D .sha256/commit/efc3bfe72545c20ffa8baea7f9f3946f9669916c -- ~cel -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20191106/7293 2913/attachment.sig>
---