A summary of data about the Ruby ecosystem.

https://github.com/savonrb/httpi

Common interface for Ruby's HTTP clients
https://github.com/savonrb/httpi

Keywords from Contributors

activerecord activejob mvc crash-reporting rack soap-client soap background-jobs rubygems grape

Last synced: about 9 hours ago
JSON representation

Repository metadata

Common interface for Ruby's HTTP clients

README.md

HTTPI

A common interface for Ruby's HTTP libraries. This project is now in maintenance mode: it receives bug fixes, security updates, and ecosystem-compatibility changes, but no new features. For new projects, we recommend faraday.

Documentation

CI

Installation

HTTPI is available through Rubygems and can be installed via:

$ gem install httpi

or add it to your Gemfile like this:

gem 'httpi', '~> 4.0.0'

Usage example

require "httpi"

# create a request object
request = HTTPI::Request.new
request.url = "http://example.com"

# and pass it to a request method
HTTPI.get(request)

# use a specific adapter per request
HTTPI.get(request, :curb)

# or specify a global adapter to use
HTTPI.adapter = :httpclient

# and execute arbitary requests
HTTPI.request(:custom, request)

# add a client setup block that will be called before each request
HTTPI.adapter = :httpclient
HTTPI.adapter_client_setup = proc do |x|
  x.ssl_config.set_default_paths
  x.force_basic_auth = true
end
# ...
HTTPI.get(request) do |x|
  x.force_basic_auth = false
end

SOCKS Proxy Support

To use the the SOCKS proxy support, please add the socksify gem to your gemfile, and add the following code:

require 'socksify'
require 'socksify/http'

to your project.

Documentation

Continue reading at https://www.rubydoc.info/gems/httpi


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 547
Total Committers: 85
Avg Commits per committer: 6.435
Development Distribution Score (DDS): 0.483

Commits in past year: 32
Committers in past year: 4
Avg Commits per committer in past year: 8.0
Development Distribution Score (DDS) in past year: 0.469

Name Email Commits
rubiii me@r****m 283
Roger Leite r****o@g****m 34
Peter Cai 2****i 28
Alexey Chernenkov l****e@p****t 19
Olle Jonsson o****n@g****m 19
Tim Jarratt t****t@g****m 14
Larry Kyrala l****a@g****m 10
ichverstehe h****y@v****e 9
dependabot[bot] 4****] 8
Steve Loveless s****s@g****m 7
Christian Eichhorn c****n@w****e 7
Chetan Sarva c****n@p****t 6
Christian Schmidt g****b@c****k 4
Gonzalo Bulnes Guilpain g****s@g****m 4
Yann Rouillard y****d@o****m 3
Rich Grundy r****h@2****m 3
Bruno Vicenzo g****l@g****m 3
Samuel Williams s****s@o****z 3
Stephen Aghaulor s****r@g****m 3
mdidato f 2
Tim Bolender t****r@a****m 2
Thomas Watson Steen w@t****k 2
Pedro Chambino p****o@g****m 2
Paulo Fagiani p****i@g****m 2
Paul Morton p****n@b****m 2
Matt Pasquini m****i@c****m 2
Konstantin Shabanov e****a@g****m 2
Jason Heiss j****s@a****t 2
Connor Dunn c****d@s****m 2
James Thompson j****s@b****m 2
and 55 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 59
Total pull requests: 79
Average time to close issues: over 1 year
Average time to close pull requests: 4 months
Total issue authors: 52
Total pull request authors: 39
Average comments per issue: 3.98
Average comments per pull request: 3.04
Merged pull request: 62
Bot issues: 0
Bot pull requests: 10

Past year issues: 0
Past year pull requests: 15
Past year average time to close issues: N/A
Past year average time to close pull requests: 2 days
Past year issue authors: 0
Past year pull request authors: 3
Past year average comments per issue: 0
Past year average comments per pull request: 1.13
Past year merged pull request: 13
Past year bot issues: 0
Past year bot pull requests: 10

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/savonrb/httpi

Top Issue Authors

  • pcai (4)
  • olleolleolle (2)
  • sobrinho (2)
  • HLFH (2)
  • rubiii (2)
  • novalis (1)
  • antoniusostermann (1)
  • patrick99e99 (1)
  • eimermusic (1)
  • llimllib (1)
  • achiinto (1)
  • olly (1)
  • mauro-oto (1)
  • umerkulovb (1)
  • lustremedia (1)

Top Pull Request Authors

  • pcai (11)
  • dependabot[bot] (10)
  • olleolleolle (10)
  • 907th (5)
  • ioquatix (3)
  • c960657 (3)
  • frederikspang (2)
  • mrpasquini (2)
  • ChristopherBert (2)
  • 3UR (2)
  • mbrung (1)
  • coldnebo (1)
  • milgner (1)
  • baversjo (1)
  • gabetocci (1)

Top Issue Labels

  • feature (5)
  • roadmap (2)
  • improvement (2)
  • bug (2)
  • Help Wanted (1)

Top Pull Request Labels

  • github_actions (10)
  • dependencies (10)
  • feature (4)
  • improvement (3)

Package metadata

gem.coop: httpi

Common interface for Ruby's HTTP libraries

  • Homepage: http://github.com/savonrb/httpi
  • Documentation: http://www.rubydoc.info/gems/httpi/
  • Licenses: MIT
  • Latest release: 4.0.4 (published about 2 years ago)
  • Last Synced: 2026-09-23T17:01:38.048Z (1 day ago)
  • Versions: 58
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 110,553,105 Total
  • Docker Downloads: 7,225,790
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.084%
    • Downloads: 0.252%
  • Maintainers (6)
rubygems.org: httpi

Common interface for Ruby's HTTP libraries

  • Homepage: http://github.com/savonrb/httpi
  • Documentation: http://www.rubydoc.info/gems/httpi/
  • Licenses: MIT
  • Latest release: 4.0.4 (published about 2 years ago)
  • Last Synced: 2026-09-23T17:01:38.039Z (1 day ago)
  • Versions: 59
  • Dependent Packages: 132
  • Dependent Repositories: 4,513
  • Downloads: 110,553,105 Total
  • Docker Downloads: 7,225,790
  • Rankings:
    • Downloads: 0.229%
    • Dependent packages count: 0.261%
    • Dependent repos count: 0.47%
    • Average: 1.353%
    • Docker downloads count: 1.743%
    • Forks count: 2.135%
    • Stargazers count: 3.279%
  • Maintainers (6)
proxy.golang.org: github.com/savonrb/httpi

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/savonrb/httpi#section-documentation
  • Licenses: mit
  • Latest release: v4.0.4+incompatible (published about 2 years ago)
  • Last Synced: 2026-09-23T10:53:11.885Z (1 day ago)
  • Versions: 57
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 4.638%
    • Average: 4.794%
    • Dependent repos count: 4.95%

Dependencies

Gemfile rubygems
  • curb ~> 0.8
  • em-http-request >= 0
  • em-synchrony >= 0
  • excon ~> 0.21
  • http >= 0
  • httpclient ~> 2.3
  • jruby-openssl >= 0
  • net-http-persistent ~> 4.0
  • public_suffix ~> 4.0
  • rack >= 0
  • simplecov >= 0
  • socksify >= 0
httpi.gemspec rubygems
  • mocha ~> 0.13 development
  • puma ~> 5.0 development
  • rake ~> 13.0 development
  • rspec ~> 3.5 development
  • rubyntlm ~> 0.3.2 development
  • webmock >= 0 development
  • rack >= 0
.github/workflows/ci.yml actions
  • actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 composite
  • coverallsapp/github-action 8d6379e14d29928660c4ba802d8e85393440b329 composite
  • ruby/setup-ruby 95ef2b042f9d7a56d8268cba8559e2842e2ad01b composite
  • zizmorcore/zizmor-action 6fc4b006235f201fdab3722e17240ab420d580e5 composite
.github/workflows/gem_push.yml actions
  • actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 composite
  • ruby/setup-ruby 95ef2b042f9d7a56d8268cba8559e2842e2ad01b composite
  • rubygems/release-gem 052cc82692552de3ef2b81fd670e41d13cba8092 composite

Score: 29.43387079335268