URLpipe in Ruby
Complete programs for Ruby 3.1+, using Net::HTTP, with use_ssl and a read_timeout set explicitly. Each page has the request, the async variant with a webhook, and the error handling, and each program on it was run against a stub of the API before it was published.
No gem: Net::HTTP and json are in the standard library, and the API is one POST per job.
Ruby recipes
- Take a screenshot of a website in RubyTake a screenshot of a website with Net::HTTP from the standard library: the request, the async variant and the error handling.See the code
- Convert a web page to Markdown in RubyConvert a web page to Markdown with Net::HTTP from the standard library: the request, the async variant and the error handling.See the code
- Get the rendered HTML of a JavaScript page in RubyGet the rendered HTML of a JavaScript page with Net::HTTP from the standard library: the request, the async variant and the error handling.See the code
- Get a page's metadata and Open Graph tags in RubyGet a page's metadata and Open Graph tags with Net::HTTP from the standard library: the request, the async variant and the error handling.See the code
- Run a Lighthouse audit in RubyRun a Lighthouse audit with Net::HTTP from the standard library: the request, the async variant and the error handling.See the code
- Verify a webhook signature in RubyA Ruby webhook receiver that checks the HMAC signature, the timestamp and a rotation.See the code
Turn any URL into clean data in minutes.
Free plan, no card. Confirm your email and your API key is live — you'll be making real requests in minutes.