Ruby HTTP

Open-source Ruby projects categorized as HTTP

Top 23 Ruby HTTP Projects

  • httparty

    :tada: Makes http fun again!

  • Project mention: Ruby class pattern to work with API requests with built-in async approach | dev.to | 2024-05-16

    HTTPParty - https://github.com/jnunemaker/httparty. Heard a lot about It, but never used it.

  • Faraday

    Simple, but flexible HTTP client library, with support for multiple backends.

  • Project mention: Ruby class pattern to work with API requests with built-in async approach | dev.to | 2024-05-16

    Faraday - https://github.com/lostisland/faraday. Personally, I use It, just because historically it was linked to every project I worked with. In addition, you can install the Faraday Curl gem https://github.com/mauricio/faraday_curl to get nice Curl requests in logs.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • RESTClient

    Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.

  • Project mention: Ruby class pattern to work with API requests with built-in async approach | dev.to | 2024-05-16

    RESTClient - https://github.com/rest-client/rest-client for folks who prefer Sinatra's actions syntax.

  • Typhoeus

    Typhoeus wraps libcurl in order to make fast and reliable requests.

  • flipper

    🐬 Beautiful, performant feature flags for Ruby. (by flippercloud)

  • Project mention: Ask HN: How did you build feature flags? | news.ycombinator.com | 2024-04-03
  • HTTP

    HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts

  • Savon

    Heavy metal SOAP client

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • excon

    Usable, fast, simple HTTP 1.1 for Ruby

  • Project mention: Use Rails | news.ycombinator.com | 2024-05-07

    A internal network boundary is probably worth it for heavy jobs, since you usually don't want it to interfere with serving web requests (no matter the tech).

    You probably already know what I would say to each of those examples.

    > Rails timing out after 30s while allocating 500MB of memory (mostly) in ActiveRecord to compute 5MB of JSON to return to an API caller.

    I can make a JS or Go program perform the same way. In fact the exact same thing happened in my shop with Go/Gorm. The key question is: how do you compute the 5mb of JSON? The devil is in those details. We changed the way we computed ours, and the issue was gone.

    > 90% of request latency of ~10s spent waiting for downstream services to respond to requests. Most of these could be fired off concurrently (ie `Promise.all` in node). 9s/10s this Rails worker is sitting around doing nothing and eating up ~300MB of memory.

    This sounds broken. Why is the worker doing nothing for 9 out of 10s? But like I said earlier, there are a bunch of ways to use HTTP1.1 pipelining to run them concurrently. (https://github.com/excon/excon and https://github.com/HoneyryderChuck/httpx support it, but you can also do that with Net::HTTP I believe) And you can still start threads, which are still concurrent while blocking on IO.

    > trying to extract out Authorization to a centralized service (so that other extracted services don't have to call into the monolith in order to make authorization decisions) is a major pain as the monolith now has to make calls out to the centralized auth system to in order to make authz decisions.

    This seems unrelated to Rails. Not sure why monolith can't continue handling authorization.

  • down

    Streaming downloads using Net::HTTP, http.rb or HTTPX (by janko)

  • Spyke

    Interact with REST services in an ActiveRecord-like manner

  • Http-2

    Pure Ruby implementation of HTTP/2 protocol

  • HttpLog

    Log outgoing HTTP requests in ruby

  • Http Client

    'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.

  • homebrew-extensions

    :beers: Homebrew tap for PHP extensions

  • Exception Handler

    Ruby on Rails Custom Error Pages

  • Unirest

    Unirest in Ruby: Simplified, lightweight HTTP client library.

  • router

    Ruby/Rack HTTP router (by hanami)

  • api

    Minimal, lightweight, fastest Ruby framework for HTTP APIs. (by hanami)

  • Flexirest

    Flexirest - The really flexible REST API client for Ruby

  • controller

    Complete, fast and testable actions for Rack and Hanami (by hanami)

  • Sawyer

    Secret User Agent of HTTP

  • tipi

    Tipi - the All-in-one Web Server for Ruby Apps

  • forward-proxy

    Minimal HTTP(S) forward proxy using 150LOC and only standard libraries.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Ruby HTTP related posts

  • Ruby class pattern to work with API requests with built-in async approach

    8 projects | dev.to | 16 May 2024
  • REST Man: Simple DSL for Accessing HTTP and REST Resources in Ruby

    1 project | news.ycombinator.com | 21 May 2023
  • rest-man v1.1.0 release - Simple HTTP and Rest client for Ruby

    3 projects | /r/ruby | 21 May 2023
  • Usando a gem httplog para uma melhor análise dos logs

    1 project | dev.to | 19 Apr 2023
  • Best Ruby HTTP Clients in 2023

    3 projects | /r/ruby | 5 Apr 2023
  • Web Scraping Google With Ruby

    1 project | dev.to | 14 Feb 2023
  • Pattern Matching Interfaces in Ruby

    6 projects | dev.to | 23 Jan 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 28 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source HTTP projects in Ruby? This list will help you:

Project Stars
1 httparty 5,765
2 Faraday 5,671
3 RESTClient 5,234
4 Typhoeus 4,065
5 flipper 3,577
6 HTTP 2,987
7 Savon 2,061
8 excon 1,154
9 down 1,006
10 Spyke 900
11 Http-2 875
12 HttpLog 780
13 Http Client 698
14 homebrew-extensions 609
15 Exception Handler 506
16 Unirest 365
17 router 362
18 api 344
19 Flexirest 316
20 controller 245
21 Sawyer 242
22 tipi 241
23 forward-proxy 150

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com