💾 Archived View for gemi.dev › gemini-mailing-list › 000941.gmi captured on 2024-08-31 at 19:01:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

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

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

1. The Gnuserland (gnuserland (a) mailbox.org)

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

Link to individual message.

2. Andrew Singleton (singletona082 (a) gmail.com)

Meanwhile I would be happy if this/terminal browsers like lynx. W3m, etc 
simply gained Gemini support.

Link to individual message.

3. The Gnuserland (gnuserland (a) mailbox.org)

I think majority of these TUI web browsers are just kept alive by the 
distros maintainers and their development is quite staled...



On June 21, 2021 9:34:06 AM EDT, Andrew Singleton <singletona082@gmail.com> wrote:
>Meanwhile I would be happy if this/terminal browsers like lynx. W3m,
>etc simply gained Gemini support.

Link to individual message.

4. Francis Siefken (fsiefken (a) gmail.com)

Hi gnuserland,

There is Duckling Proxy.
"Duckling proxy is a Gemini proxy to access the Small Web. Connecting to it
with your Gemini client means you can access many web pages directly with
your favourite client."
=> https://github.com/LukeEmmet/duckling-proxy

I recently created an elinks feature request for gemini, my favorite
console http browser, it appearently also supports gopher, nntp, ftp and
bittorrent.
https://github.com/rkd77/elinks/issues/121

Op ma 21 jun. 2021 om 15:21 schreef The Gnuserland <gnuserland@mailbox.org>:
>
> 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
>

Link to individual message.

5. The Gnuserland (gnuserland (a) mailbox.org)

Hi Francis,

this is pretty cool and exactly what I was just dreaming about!

I look forward to try it ASAP!

Thanks for sharing this!!!

My best,

TGL

On 6/21/21 11:31 AM, Francis Siefken wrote:
> Hi gnuserland,
> 
> There is Duckling Proxy.
> "Duckling proxy is a Gemini proxy to access the Small Web. Connecting to 
it with your Gemini client means you can access many web pages directly 
with your favourite client."
> => https://github.com/LukeEmmet/duckling-proxy 
<https://github.com/LukeEmmet/duckling-proxy>
> 
> I recently created an elinks feature request for gemini, my favorite 
console http browser, it appearently also supports gopher, nntp, ftp and bittorrent.
> https://github.com/rkd77/elinks/issues/121 <https://github.com/rkd77/elinks/issues/121>
> 
> Op ma 21 jun. 2021 om 15:21 schreef The Gnuserland 
<gnuserland@mailbox.org <mailto:gnuserland@mailbox.org>>:
> >
> > 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 <http://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
> >

Link to individual message.

6. Jonathan McHugh (indieterminacy (a) libre.brussels)

Quite,

I did appreciate eLinks given its extensibility with Lua and Guile.

Alas, the lack of response following distro maintainers messages meant
it was removed from distros like OpenBSD.

The Gnuserland <gnuserland@mailbox.org> writes:

> I think majority of these TUI web browsers are just kept alive by the 
distros maintainers and their development is quite staled...
>
>
>
> On June 21, 2021 9:34:06 AM EDT, Andrew Singleton <singletona082@gmail.com> wrote:
>>Meanwhile I would be happy if this/terminal browsers like lynx. W3m,
>>etc simply gained Gemini support. 


-- 
Jonathan McHugh
indieterminacy@libre.brussels

Link to individual message.

7. Jonathan McHugh (indieterminacy (a) libre.brussels)

I hadnt realised that eLinks has been resussitated with a fork
(Felinks)! Thanks for the heads up, the NEWS file looks promising
=> https://github.com/rkd77/elinks/blob/master/NEWS

Particularly so, given fresh references to Python 3, as well as brotli and 
zstd encodings.

However, its worth citing from this
=> https://slackbuilds.org/repository/14.2/network/felinks/
 ```
NOTE: Felinks will conflict with Elinks, so currently only one can be
installed at a time
 ```
It would probably be best for that project to be more clear that the
original eLinks project is dead with the Felinks name and a new site (Im
clearly behind the curve.

It would be good to know how this project is percieved by the wider FOSS community.


Personally, it would be nice to dust off my old eLinks scripts and see how they
apply following bitrot and forking.

Hopefully it would be a good excuse to use PEGs from Lua and/or Guile to convert HTML
content to Gemini content. Id like to do this from September.

Id assert that (f)elinks would be a useful interface not only for
working across HTML and Gemini content but additionally pushing HTML
towards Gemini content (Im now recalling a very old conversation
regarding eLinks functionality, whereby my friend likened such
intervensions to 'Stalinux').

Ta,


-- 
Jonathan McHugh
indieterminacy@libre.brussels


Francis Siefken <fsiefken@gmail.com> writes:

> Hi gnuserland,
>
> There is Duckling Proxy.
> "Duckling proxy is a Gemini proxy to access the Small Web. Connecting to it
> with your Gemini client means you can access many web pages directly with
> your favourite client."
> => https://github.com/LukeEmmet/duckling-proxy
>
> I recently created an elinks feature request for gemini, my favorite
> console http browser, it appearently also supports gopher, nntp, ftp and
> bittorrent.
> https://github.com/rkd77/elinks/issues/121
>

Link to individual message.

---

Previous Thread: a space case for transparent gemtext compression

Next Thread: Re: Gemini Digest, Vol 23, Issue 40