~netstx

Recent activity

Re: A URL shortener with an interesting storage backend 4 months ago

From Rafael Possamai to ~ols/public-inbox

>You are not the first to suggest running Go programmes as CGI scripts.
>It is something I will look into at some point, but my current way of
>working uses relayd as a reverse proxy which works absolutely fine.

I guess I totally blanked about relayd (and that you use it in your OrGY stack). I think in this case there's very little to gain with CGI since relayd would be "in front" of the Go program.

Cheers!
Rafael

A URL shortener with an interesting storage backend 4 months ago

From Rafael Possamai to ~ols/public-inbox

Hey Oliver,

Thanks for sharing this project, it's relatively simple and I could see some use cases for personal "home lab" stuff, although it'd be cool to see how far this could be taken in production just for the hell of it (lol).

Have you thought about using the Go program as a CGI script? Then httpd (for example) would handle the requests and the program would do the DNS lookup, etc. I am just not sure how well the redirect would work.

Best,
Rafael