News for hackers. Stuff that matters.
Re:Show HN: 100 LOC Ruby forward proxy using only standard l... by tyingq on Monday January 18, 2021 @09:11AM (#25821935)
It's using something called WEBrick. It's a "default gem", so it sounds like it comes with Ruby.

"WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server."

So I'm reading it as 100 loc of setup to use a proxy toolkit to invoke a proxy.

Re:Show HN: 100 LOC Ruby forward proxy using only standard l... by frizkie on Monday January 18, 2021 @12:35PM (#25824220)
Actually, as of Ruby 3, webrick is no longer a "bundled gem". You'll need to add it to your Gemfile and install it in order to use it.