💾 Archived View for bbs.geminispace.org › u › gemalaya › 5020 captured on 2023-11-14 at 09:50:50. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➡️ Next capture (2023-12-28)

🚧 View Differences

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

Comment by 😺 gemalaya

Re: "today from [gemini link] the smokey capsule i learned..."

In: s/Gemini

@skyjake Indeed, should have used preformatted text, i'll edit it. Thank you.

😺 gemalaya

Sep 01 · 2 months ago

10 Later Comments ↓

😺 gemalaya · Sep 01 at 16:26:

@norayr No, not yet, but that's something i plan on implementing at some point, i'll create a project issue so that i don't forget .. Gemalaya automatically runs a levior instance and rewrites all http urls to go through levior, and since i mainly use gemalaya to browse and post on the geminispace, i don't need levior to act as an http proxy ...

😺 gemalaya · Sep 01 at 18:55:

Ok i've looked into it and the http proxy mode can be implemented with very few changes. Thanks for the suggestion @norayr.

😺 gemalaya · Sep 01 at 19:44:

@norayr I've made the necessary changes in levior and the http proxy mode seems to work well enough with Lagrange and others. I'll push the changes soon on a devel branch and build an AppImage so that you can test it if you want.

😺 gemalaya · Sep 01 at 22:10:

@norayr I've implemented the http proxy mode in levior, it wasn't too much work. You can try this AppImage. You need to run it with --mode=http-proxy or --mode=proxy. The AppImage is much lighter now ...

https://gitlab.com/cipres/levior/-/releases/continuous-http-proxy/downloads/levior-latest-x86_64.AppImage

I've only tried a few pages. Please report any issues you have with this mode here. I probably won't make this the default mode cause not all gemini browsers support using an http proxy.

🐙 norayr · Sep 01 at 23:00:

omg i can't believe it... will check now.

🐙 norayr · Sep 01 at 23:14:

this is so cool! thank you very much!

😺 gemalaya · Sep 01 at 23:53:

You're welcome. I've tried search queries with searx and it works:

https://searx.be/search?q=gemini

But for example lite.duckduckgo.com doesn't work at all, is that because of the http user agent ? I'll see if it's related, in that case i'll add a setting for the user agent.

😺 gemalaya · Sep 02 at 14:39:

levior's proxy mode feature has been pushed to master. Not yet the default mode.

🐙 norayr · Sep 05 at 07:06:

i believe it is indeed user agent related. are you able to confirm now?

😺 gemalaya · Sep 05 at 14:23:

@norayr actually lite duckduckgo doesn't care about the http user agent, levior shows the search results. what doesn't work, is opening the links, because the search results links aren't direct, they go through duckduckgo.com first, and that fails for some reason

either way, ddg is really terrible now and i always use searxng (which works with levior), they don't intercept the links

Original Post

🌒 s/Gemini

today from [gemini link] the smokey capsule i learned about gemini to http proxies. have chosen [https link] duckling proxy because it is written in go. it is amazing. i don't quite understand how it chooses emojis (like favicons) for some pages. i run it as `./duckling-proxy -c cert/proxy.tld.pem -k cert/key.pem -p 1977 -a 0.0.0.0 -u "NetSurf/3.10 (Linux)"` i had to add the netsurf user agent, because i was trying to make duckduckgo search working with "/?q=search term" url. otherwise...

/u/norayr/image/159.jpeg

💬 norayr · 16 comments · Aug 30 · 2 months ago