<-- back to the mailing list

Geminize, a Firefox addon for the Gemini Protocol

Andre Garzia andre at andregarzia.com

Tue Jan 19 03:23:46 GMT 2021

- - - - - - - - - - - - - - - - - - - 

Waveic,

That depends on how you define native. If you ship an add-on that uses"native messaging"[1] to talk to a companion app (such as a console pythonscript), then you can have the companion app do the gemini protocol danceand send the data back to Firefox.

What sucks is that you can't have the add-on install the native companionapp for obvious security reasons, but if you can convince your user to runan installer, then it is all very easy. When I was developing some SSBadd-on toys for Firefox, I initially used this approach and it worked fine.Later I started using WebSockets to talk to the SSB server instead whichwas much easier for the user. Still, using native messaging works, and itworks across platforms and across browsers. Oh, an in the subject ofadd-ons, I vaguelly remember something about Brave is exposing sockets toadd-on developers, you might want to check it out.

I'm sad about libdweb as well. I was one of the contributors. It had somuch potential, Mozilla totally dropped the ball.

[1] Native Messaging:https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging

On Fri, 15 Jan 2021 at 10:56, Waweic <waweic at activ.ism.rocks> wrote:

You simply can't write a "native" Gemini add-on. Mozillas dweb project
(which would have enabled you to build protocols other than http into
the browser as an add-on) is dead in the water, everybody who had been
working on it does not work at Mozilla anymore and the bug tracker
status is like "we aren't really interested, maybe, if you write it
yourself, we might accept it into the Firefox codebase".
Only upside is that Chromium does not do much better.
On Fri, 2021-01-15 at 08:44 +0100, Stephane Bortzmeyer wrote:
On Wed, Jan 13, 2021 at 08:58:45PM +0000,
louis at waffle.tech <louis at waffle.tech> wrote
a message of 6 lines which said:
I wrote a Firefox addon for enabling the Gemini protocol. It's dead
simple: it just redirects gemini:// URLs & links to a HTTP-to-
Gemini
proxy
No "native" Gemini add-on for Firefox? I don't find one in
<gemini://gemini.circumlunar.space/software/> at the "Browser
plugins"
entry [side note: for this sort of things, fragments in URI
<gemini://gemini.bortzmeyer.org/gemini/fragment.gmi> could be
useful]. But I do not see yours either, I assume this list is
maintained with some delay.

-- https://www.andregarzia.com <http://www.andregarzia.com>Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia-------------- next part --------------An HTML attachment was scrubbed...URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210119/7c050978/attachment.htm>