💾 Archived View for bbs.geminispace.org › u › jmjl › 12088 captured on 2024-08-18 at 23:44:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-16)

➡️ Next capture (2024-12-17)

🚧 View Differences

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

Comment by 🍭 jmjl

Re: "levior (web to gemini proxy) 1.2.2 was released: - The..."

In: s/Gemini

I just found out this tool, I've implemented it and will be using it instead of stargate.

Edit: after testing for a bit, I guess it might be nice to include a mixed mode, so you can browse zim mounts on normal proxy mode, that way accessing gemini://leviour/ would give the list of mounts, and then accessing whatever website via leviour would just proxy it

🍭 jmjl

2023-11-30 · 9 months ago

5 Later Comments ↓

😺 gemalaya [OP] · 2023-11-30 at 22:21:

@jmjl I wrote it. I thought about having just one mode that does it all depending on what URL you throw at it, i'll implement it in a branch soon and see how that goes. Initially there was just the server mode and once i added the pure proxy code i didn't want the two "mechanisms" mixed. Also, it's always possible to run multiple instances on different ports with different configs.

😺 gemalaya [OP] · 2023-12-01 at 01:32:

@jmjl I've implemented your (great) suggestion in the "mixed-bag" branch. "mode" can now be a comma-separated list of modes, it's set to "proxy,server" by default for now.

— https://gitlab.com/cipres/levior/-/tree/mixed-bag

🍭 jmjl · 2023-12-02 at 00:36:

The feature implementation seems to work pretty nicely, please inform me when/if

this gets merged into master.

😺 gemalaya [OP] · 2023-12-02 at 01:24:

@jmjl Thank you! I'll merge it to master in a few hours after i update the README.

😺 gemalaya [OP] · 2023-12-02 at 03:02:

@jmjl Just merged it. levior will now return a PROXY_REQUEST_REFUSED response (status code 53) if you're making a prohibited request (for example requesting an https URL when it's running in "server" mode only). Thank you for this idea by the way.

Original Post

🌒 s/Gemini

levior (web to gemini proxy) 1.2.2 was released: - The proxy mode is now the default mode - Convert Atom/RSS feeds to gemtext (tinylogs) - Route IPFS URLs through dweb.link - Refactor the handlers code - Don't let aiohttp handle redirects so that we can notify the gemini browser of redirections [https link]

💬 gemalaya · 6 comments · 2023-11-27 · 9 months ago