https://github.com/lostisland/faraday
Simple, but flexible HTTP client library, with support for multiple backends.
https://github.com/lostisland/faraday
Keywords from Contributors
activerecord activejob mvc rubygems rack crash-reporting rspec sinatra oauth2 sidekiq
Last synced: 13 minutes ago
JSON representation
Repository metadata
Simple, but flexible HTTP client library, with support for multiple backends.
- Host: GitHub
- URL: https://github.com/lostisland/faraday
- Owner: lostisland
- License: mit
- Created: 2009-12-10T17:14:55.000Z (about 16 years ago)
- Default Branch: main
- Last Pushed: 2026-02-12T12:27:06.000Z (19 days ago)
- Last Synced: 2026-02-24T10:50:22.141Z (7 days ago)
- Language: Ruby
- Homepage: https://lostisland.github.io/faraday
- Size: 3.33 MB
- Stars: 5,903
- Watchers: 88
- Forks: 1,009
- Open Issues: 58
- Releases: 111
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
README.md
Faraday is an HTTP client library abstraction layer that provides a common interface over many
adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle.
Take a look at Awesome Faraday for a list of available adapters and middleware.
Why use Faraday?
Faraday gives you the power of Rack middleware for manipulating HTTP requests and responses,
making it easier to build sophisticated API clients or web service libraries that abstract away
the details of how HTTP requests are made.
Faraday comes with a lot of features out of the box, such as:
- Support for multiple adapters (Net::HTTP, Typhoeus, Patron, Excon, HTTPClient, and more)
- Persistent connections (keep-alive)
- Parallel requests
- Automatic response parsing (JSON, XML, YAML)
- Customization of the request/response cycle with middleware
- Support for streaming responses
- Support for uploading files
- And much more!
Getting Started
The best starting point is the Faraday Website, with its introduction and explanation.
Need more details? See the Faraday API Documentation to see how it works internally, or take a look at Advanced techniques for calling HTTP APIs in Ruby blog post from @mattbrictson 🚀
Supported Ruby versions
This library aims to support and is tested against the currently officially supported Ruby
implementations. This means that, even without a major release, we could add or drop support for Ruby versions,
following their EOL.
Currently that means we support Ruby 3.0+
If something doesn't work on one of these Ruby versions, it's a bug.
This library may inadvertently work (or seem to work) on other Ruby
implementations and versions, however support will only be provided for the versions listed
above.
If you would like this library to support another Ruby version, you may
volunteer to be a maintainer. Being a maintainer entails making sure all tests
run and pass on that implementation. When something breaks on your
implementation, you will be responsible for providing patches in a timely
fashion. If critical issues for a particular implementation exist at the time
of a major release, support for that Ruby version may be dropped.
Contribute
Do you want to contribute to Faraday?
Open the issues page and check for the help wanted label!
But before you start coding, please read our Contributing Guide
Copyright
© 2009 - 2023, the Faraday Team. Website and branding design by Elena Lo Piccolo.
Owner metadata
- Name: lostisland
- Login: lostisland
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/2613464?v=4
- Repositories: 22
- Last ynced at: 2024-03-25T19:32:01.094Z
- Profile URL: https://github.com/lostisland
GitHub Events
Total
- Release event: 9
- Delete event: 3
- Pull request event: 46
- Fork event: 40
- Discussion event: 1
- Issues event: 29
- Watch event: 151
- Issue comment event: 59
- Push event: 36
- Pull request review comment event: 17
- Pull request review event: 43
- Create event: 16
Last Year
- Release event: 7
- Delete event: 3
- Pull request event: 33
- Fork event: 17
- Discussion event: 1
- Issues event: 12
- Watch event: 90
- Issue comment event: 38
- Push event: 31
- Pull request review comment event: 16
- Pull request review event: 39
- Create event: 14
Committers metadata
Last synced: 1 day ago
Total Commits: 1,773
Total Committers: 294
Avg Commits per committer: 6.031
Development Distribution Score (DDS): 0.755
Commits in past year: 37
Committers in past year: 16
Avg Commits per committer in past year: 2.313
Development Distribution Score (DDS) in past year: 0.595
| Name | Commits | |
|---|---|---|
| rick | t****e@g****m | 434 |
| Matt | i****a | 305 |
| Mislav Marohnić | m****c@g****m | 230 |
| Olle Jonsson | o****n@g****m | 169 |
| Erik Michaels-Ober | s****k@g****m | 143 |
| Zack Hobson | z****k@z****m | 26 |
| Yutaka Kamei | k****i@y****e | 10 |
| James Herdman | j****n@g****m | 10 |
| htwroclau | 3****u | 8 |
| Josh Lubaway | j****y@g****m | 7 |
| Jim Myhrberg | c****t@j****e | 7 |
| Eric Lindvall | e****c@5****m | 7 |
| Bart | b****r@g****m | 6 |
| Samuel Williams | s****s@o****z | 6 |
| Hakan Ensari | h****i@p****m | 6 |
| Dan Dofter | d****n@d****m | 6 |
| Tim Galeckas | t****s@g****m | 6 |
| Alexander Popov | a****r@g****m | 5 |
| Geoff Hubbard | I****i | 5 |
| Hiten Parmar | h****r@g****m | 5 |
| Michael Grosser | m****l@g****t | 5 |
| dependabot[bot] | 4****] | 5 |
| Ezekiel Templin | z****e@t****n | 5 |
| Jerry Cheung | j****h@w****m | 4 |
| Robert Jackson | r****j@p****m | 4 |
| Andrew Kane | a****w@c****m | 4 |
| Adam Doppelt | a****d@g****m | 4 |
| José Valim | j****m@g****m | 4 |
| Leon Miller-Out | l****n@s****m | 4 |
| Sebastian Cohnen | t****a | 4 |
| and 264 more... | ||
Committer domains:
- redhat.com: 2
- github.com: 2
- me.com: 2
- zendesk.com: 1
- mac.com: 1
- dnil.net: 1
- relatel.dk: 1
- soundcloud.com: 1
- g5platform.com: 1
- izea.com: 1
- mylookout.com: 1
- infopark.de: 1
- szar.de: 1
- atlee.ca: 1
- carllerche.com: 1
- sporkmonger.com: 1
- benburkert.com: 1
- edwardloveall.com: 1
- cleal.org: 1
- riseup.net: 1
- clemenskofler.com: 1
- adjust.com: 1
- netguru.pl: 1
- pivotallabs.com: 1
- xtreme-computers.net: 1
- logi.cl: 1
- joshsoftware.com: 1
- mosaic.com: 1
- bloomberg.net: 1
- zackhobson.com: 1
- yykamei.me: 1
- jimeh.me: 1
- 5stops.com: 1
- oriontransfer.co.nz: 1
- papercavalier.com: 1
- dofter.com: 1
- groupon.com: 1
- grosser.it: 1
- templ.in: 1
- whatcodecraves.com: 1
- promedicalinc.com: 1
- contextoptional.com: 1
- gurge.com: 1
- singlebrook.com: 1
- mikebourgeous.com: 1
- iosctr.com: 1
- klarna.com: 1
- 123mail.org: 1
- yandex.ru: 1
- loopj.com: 1
- nathanielbibler.com: 1
- marburger.cc: 1
- blacksquaremedia.com: 1
- whomwah.com: 1
- theflow.de: 1
- codeagain.com: 1
- bulknews.net: 1
- imfiny.com: 1
- tylerhunt.com: 1
- calendly.com: 1
- fbsdata.com: 1
- supremetyrant.com: 1
- orourke.io: 1
- mikeshop.net: 1
- renderedtext.com: 1
- dijonkitchen.org: 1
- jasongarber.com: 1
- archlinux.org: 1
- picandocodigo.net: 1
- progras.dk: 1
- lindenlab.com: 1
- passtesting.com: 1
- fedoraproject.org: 1
- cloudinary.com: 1
- michaeljherold.com: 1
- boonedocks.net: 1
- jjb.cc: 1
- jhass.eu: 1
- tacostadium.com: 1
- archiloque.net: 1
- julik.nl: 1
- justinbull.ca: 1
- karlentwistle.com: 1
- fesnel.com: 1
- lewiscowles.me: 1
- brandfolder.com: 1
- twitch.tv: 1
- blirpit.com: 1
- plataformatec.com.br: 1
- haines.org.nz: 1
- somethingsinistral.net: 1
- sophos.com: 1
- cratr.co: 1
- flextrip.com: 1
- getformidable.com: 1
- change.org: 1
- detailedbalance.net: 1
- nemron.com: 1
- robindaugherty.net: 1
- ninja.lt: 1
- sema.in: 1
- at-point.ch: 1
- envato.com: 1
- smparkes.net: 1
- orien.io: 1
- seznam.cz: 1
- beginsinwonder.com: 1
- ekenosen.net: 1
- rustycoin.com.au: 1
- mail.ru: 1
- codigojade.com: 1
- blom.tv: 1
Issue and Pull Request metadata
Last synced: 5 days ago
Total issues: 118
Total pull requests: 192
Average time to close issues: 7 months
Average time to close pull requests: 14 days
Total issue authors: 108
Total pull request authors: 80
Average comments per issue: 3.88
Average comments per pull request: 1.04
Merged pull request: 166
Bot issues: 0
Bot pull requests: 6
Past year issues: 8
Past year pull requests: 37
Past year average time to close issues: 4 days
Past year average time to close pull requests: 16 days
Past year issue authors: 8
Past year pull request authors: 16
Past year average comments per issue: 3.5
Past year average comments per pull request: 0.68
Past year merged pull request: 31
Past year bot issues: 0
Past year bot pull requests: 2
Top Issue Authors
- iMacTia (5)
- yykamei (2)
- olleolleolle (2)
- AlexWayfer (2)
- rgaufman (2)
- sdalu (2)
- michelson (2)
- katbow (1)
- anero (1)
- swatosh (1)
- nvanoorschot (1)
- sled (1)
- coberlin (1)
- ykrods (1)
- wahpiangle (1)
Top Pull Request Authors
- iMacTia (28)
- olleolleolle (21)
- yykamei (13)
- dependabot[bot] (6)
- Earlopain (5)
- theeternalvecna (4)
- hyuraku (3)
- sampatbadhe (3)
- geemus (3)
- Copilot (3)
- tagliala (3)
- nielsbuus (2)
- nogtk (2)
- koic (2)
- mtasaka (2)
Top Issue Labels
- feature (10)
- help wanted (10)
- info (8)
- unconfirmed (7)
- bug (6)
- documentation (5)
- refactoring (2)
- question (2)
- v1.0 (2)
- good first issue (2)
- enhancement (1)
Top Pull Request Labels
- documentation (6)
- dependencies (6)
- ruby (3)
- blocked (2)
- github_actions (2)
- feature (1)
Package metadata
- Total packages: 14
-
Total downloads:
- rubygems: 2,252,498,846 total
- Total docker downloads: 4,670,332,552
- Total dependent packages: 5,200 (may contain duplicates)
- Total dependent repositories: 484,791 (may contain duplicates)
- Total versions: 447
- Total maintainers: 3
- Total advisories: 1
gem.coop: faraday
HTTP/REST API client library.
- Homepage: https://lostisland.github.io/faraday
- Documentation: http://www.rubydoc.info/gems/faraday/
- Licenses: MIT
- Latest release: 2.14.1 (published 24 days ago)
- Last Synced: 2026-03-01T14:01:57.909Z (2 days ago)
- Versions: 157
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,126,268,577 Total
- Docker Downloads: 2,335,166,276
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Downloads: 0.011%
- Average: 0.015%
- Docker downloads count: 0.05%
- Maintainers (3)
- Advisories:
rubygems.org: faraday
HTTP/REST API client library.
- Homepage: https://lostisland.github.io/faraday
- Documentation: http://www.rubydoc.info/gems/faraday/
- Licenses: MIT
- Latest release: 2.14.1 (published 24 days ago)
- Last Synced: 2026-03-01T10:39:09.213Z (2 days ago)
- Versions: 157
- Dependent Packages: 5,199
- Dependent Repositories: 484,789
- Downloads: 1,126,230,269 Total
- Docker Downloads: 2,335,166,276
-
Rankings:
- Dependent packages count: 0.01%
- Downloads: 0.011%
- Dependent repos count: 0.034%
- Docker downloads count: 0.095%
- Average: 0.137%
- Stargazers count: 0.222%
- Forks count: 0.449%
- Maintainers (3)
- Advisories:
proxy.golang.org: github.com/lostisland/faraday
- Homepage:
- Documentation: https://pkg.go.dev/github.com/lostisland/faraday#section-documentation
- Licenses: mit
- Latest release: v2.12.1+incompatible (published over 1 year ago)
- Last Synced: 2026-02-21T15:00:47.891Z (10 days ago)
- Versions: 118
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Forks count: 0.873%
- Stargazers count: 0.891%
- Average: 3.753%
- Dependent repos count: 4.794%
- Dependent packages count: 8.453%
conda-forge.org: rb-faraday
- Homepage: https://rubygems.org/gems/faraday
- Licenses: MIT
- Latest release: 0.17.0 (published over 6 years ago)
- Last Synced: 2026-02-04T23:33:41.614Z (27 days ago)
- Versions: 5
- Dependent Packages: 1
- Dependent Repositories: 1
-
Rankings:
- Stargazers count: 4.686%
- Forks count: 4.985%
- Average: 15.757%
- Dependent repos count: 24.377%
- Dependent packages count: 28.978%
debian-10: ruby-faraday
- Homepage: https://github.com/lostisland/faraday
- Documentation: https://packages.debian.org/buster/ruby-faraday
- Licenses:
- Latest release: 0.13.1-2 (published 20 days ago)
- Last Synced: 2026-02-13T04:21:12.346Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: ruby-faraday
- Homepage: https://github.com/lostisland/faraday
- Licenses:
- Latest release: 1.1.0-7 (published 20 days ago)
- Last Synced: 2026-02-11T06:39:07.165Z (20 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-20.04: ruby-faraday
- Homepage: https://github.com/lostisland/faraday
- Licenses:
- Latest release: 0.15.4-3 (published 18 days ago)
- Last Synced: 2026-02-13T07:13:17.258Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: ruby-faraday
- Homepage: https://github.com/lostisland/faraday
- Licenses:
- Latest release: 1.1.0-7 (published 18 days ago)
- Last Synced: 2026-02-13T18:19:37.314Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-faraday
- Homepage: https://github.com/lostisland/faraday
- Documentation: https://packages.debian.org/bullseye/ruby-faraday
- Licenses:
- Latest release: 1.1.0-6 (published 21 days ago)
- Last Synced: 2026-02-13T08:20:06.682Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-faraday
- Homepage: https://github.com/lostisland/faraday
- Documentation: https://packages.debian.org/bookworm/ruby-faraday
- Licenses:
- Latest release: 1.1.0-7 (published 19 days ago)
- Last Synced: 2026-02-12T23:29:01.602Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-22.04: ruby-faraday
- Homepage: https://github.com/lostisland/faraday
- Licenses:
- Latest release: 1.1.0-7 (published 18 days ago)
- Last Synced: 2026-02-13T13:16:36.051Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: ruby-faraday
- Homepage: https://github.com/lostisland/faraday
- Documentation: https://packages.debian.org/trixie/ruby-faraday
- Licenses: mit
- Latest release: 2.12.2-1 (published 19 days ago)
- Last Synced: 2026-02-13T13:15:11.425Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
- actions/checkout v3 composite
- dawidd6/action-publish-gem v1 composite
- ruby/setup-ruby v1 composite
- 194 dependencies
- docsify-cli ^4.4.4
- bake-test-external >= 0 development
- coveralls_reborn >= 0 development
- pry >= 0 development
- rack ~> 2.2 development
- rake >= 0 development
- rspec ~> 3.7 development
- rspec_junit_formatter ~> 0.4 development
- rubocop >= 0 development
- rubocop-packaging ~> 0.5 development
- rubocop-performance ~> 1.0 development
- simplecov >= 0 development
- webmock ~> 3.4 development
- yard-junk >= 0 development
- jruby-openssl ~> 0.11.0
- base64 >= 0
- faraday-net_http >= 2.0, < 3.1
- ruby2_keywords >= 0.0.4
Score: 37.03473552054536