[Tech][Idea] Local (Magic) Proxy HTTP to Gemini

The Gnuserland gnuserland at mailbox.org
Mon Jun 21 14:26:26 BST 2021


Hi Geminauts,

Splitting the daily navigation across HTTP and Gemini is becoming 
frustrating, I'd like to do everything inside the Geminspace...

I am not a programmer and often I just dream about unrealistic thing but 
I toss this idea here...

Since we have, at least in the *nix world, a lot of TUI web browser, I 
wonder if it would be feasible/possible creating a kind of local server 
proxy that convert on the fly the page from html to gemini, let's call 
it Geminator.

I have my fantastic Geminator runtime as background process and in my 
Gemini client I write something like:

gemini://localhost/geminator/www.phoronix.com

Let's that we can decide which back-end using (e.g. w3m, elinks, etc...) 
this would be the process in my dream:


1. I do the request to Geminator;

2. Geminator passes the request to w3m;

3. w3m renders and buffers the page and passes it to Geminator;

4. Geminator translates the page into a Gemini one (trying to convert 
also links in Geminator readable links);

5. Geminator send the page back to my client;

6. I am happily browsing Internet from my favorite Gemini client.


For sure it won't be perfect, it will also behaves weirdly, but I think 
it would be enough to navigate pages like for instance phoronix, or 
other news pages, some federated social networks, etc...


Well I wrote it, I hope to not be banned from the mailing list... :D


TGL




More information about the Gemini mailing list