Hacker News new | ask | show | jobs
by tyingq 1979 days ago
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.

1 comments

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.