Top 22 Ruby HTTP Projects
-
httparty gem
-
RESTClient
Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.
The Met has a really robust API of their collection - over 470,000 distinct objects! Talk about a lot of data! I needed to figure out how to get at least a sampling of this data into my backend API. I found just what I was looking for in RestClient. In theory it is super easy to use and I will give a few quick steps below. I say in theory because I think it depends on how well set up the API is that you are pulling your data from. If you are wondering, the Met's was really easy sometimes and really hard others - some of the art objects were missing attributes that I wanted to pull so I had hand hold my seed file during some of the departments. For brevity sake, I will use one of the easier bit of data to pull - the Met's list of departments. (seeding the art objects themselves was another story all together!)
-
Scout APM
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
-
-
-
HTTP
HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
Project mention: Ruby on Rails + Auth0: Authenticating your API with an external authentication service | dev.to | 2021-02-28Everything will be created under the class Auth0, and it'll be using HTTP gem to perform the quests, but feel free to decide over your code organization and tools.
-
-
-
-
-
Run bundle add down to install the down gem. This will make downloading the remote image returned from the Microlink API easier than by doing it with native Ruby.
-
A fairly popular HTTP client that isnt included is httpclient
-
-
-
-
-
-
-
Project mention: 150 LOC forward proxy implementation with lots of comments | reddit.com/r/programming | 2021-01-24
-
Project mention: How to build a solid Go Graphql application quickly. | reddit.com/r/graphql | 2021-02-04
I have not tried gqlgen yet. Just by comparing benchmarks at https://github.com/the-benchmarker/graphql-benchmarks/blob/develop/rates.md it looks like GGql is faster by comparing to graphql-go. I'd love to see gqlgen get added to those benchmarks or GGql added to the gqlgen comparisons.
-
Project mention: What is the current state of event driven programming with fibers in ruby? | reddit.com/r/ruby | 2021-02-22
As far as tools based on Polyphony, currently there's Tipi, a web server based on Polyphony that is still in early stages of development, but already supports HTTP/1, HTTP/2, SSL termination and WebSockets, among other things.
-
-
Index
What are some of the best open-source HTTP projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | httparty | 5,378 |
2 | RESTClient | 5,019 |
3 | Faraday | 4,999 |
4 | Typhoeus | 3,822 |
5 | HTTP | 2,725 |
6 | flipper | 2,456 |
7 | Savon | 1,980 |
8 | excon | 1,054 |
9 | Http-2 | 855 |
10 | down | 788 |
11 | Http Client | 673 |
12 | HttpLog | 635 |
13 | Spyke | 592 |
14 | Exception Handler | 463 |
15 | Unirest | 368 |
16 | Sawyer | 223 |
17 | Flexirest | 193 |
18 | forward-proxy | 105 |
19 | graphql-benchmarks | 43 |
20 | tipi | 15 |
21 | Accept Language | 14 |
22 | XSR | 0 |