💾 Archived View for bbs.geminispace.org › s › Gemini › 12015 captured on 2024-12-17 at 14:16:18. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-18)
-=-=-=-=-=-=-
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://gitlab.com/cipres/levior
2023-11-27 · 1 year ago
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
😺 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
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.