💾 Archived View for 80h.dev › glog › 2020-05-10.gemini captured on 2022-03-01 at 15:18:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

🚧 View Differences

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

Public Agena Proxy

Hey, solderpunk do you remember this?

gopher://zaibatsu.circumlunar.space/0/%7esolderpunk/phlog/vf1-av98-and-agena.txt

Well, I guess I'm that brave soul. Kind of anyway. That basic client I

mentioned in my last post was actually an experiment for writing a reverse

proxy. Right now it's not in the master branch of gemserv.

Going to "80h.dev/agena" proxies the request to well agena. Just put a gopher

link after that and off you go. E.g. "80h.dev/agena/zaibatsu.circumlunar.space"

(email me if you don't want that to be the example)

That's kind of annoying though. So there's also a cgi script that will ask for a

url then redirect you to the same url as if you manually typed it.

One caveat I've found with it is bombadillo hangs when it asks for the

redirect. I'm not sure why though. It works with av-98 and asuka. Still you can

use the first way I talked about in bombadillo.

Agena cgi script[Warning don't try in bombadillo]

Another caveat is that I had to patch agena to work this way. It's pretty small

but still.

gemini://80h.dev/projects/patches/0001-Added-SCHEME-and-BASE-global-vars.patch.txt

I thought about sending it to solderpunk but I'm not sure it's needed upstream.

As is that should work the same as upstream. But I haven't tested it. After

that just switched the SCHEME value to "gopher://" and make the BASE =

"gemini://80h.dev/agena/"

That extra bit also breaks "set gopher_proxy" from working within av-98. I

might try figuring out a way to make both work at once, but that will be

another day.

Oh, and please, please don't abuse this. If I see my data usage go up too high

I'll have to remove it. So just don't go downloading a ton off gopher with it.

If anyone even uses it...