💾 Archived View for bbs.geminispace.org › u › gemalaya › 12090 captured on 2024-06-16 at 19:40:29. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-26)
-=-=-=-=-=-=-
Re: "levior (web to gemini proxy) 1.2.2 was released: - The..."
@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.
2023-11-30 · 7 months ago
😺 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
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.
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]