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 sidekiq oauth2
Last synced: about 11 hours 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 (almost 16 years ago)
- Default Branch: main
- Last Pushed: 2025-12-06T10:10:30.000Z (4 days ago)
- Last Synced: 2025-12-08T03:54:13.683Z (2 days ago)
- Language: Ruby
- Homepage: https://lostisland.github.io/faraday
- Size: 3.31 MB
- Stars: 5,883
- Watchers: 88
- Forks: 999
- Open Issues: 56
- Releases: 109
-
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
- Discussion event: 1
- Create event: 15
- Release event: 9
- Issues event: 28
- Watch event: 137
- Delete event: 2
- Issue comment event: 52
- Push event: 32
- Pull request review comment event: 16
- Pull request review event: 38
- Pull request event: 44
- Fork event: 37
Last Year
- Discussion event: 1
- Create event: 14
- Release event: 8
- Issues event: 21
- Watch event: 109
- Delete event: 2
- Issue comment event: 38
- Push event: 29
- Pull request review comment event: 15
- Pull request review event: 34
- Pull request event: 35
- Fork event: 23
Committers metadata
Last synced: 15 days ago
Total Commits: 1,768
Total Committers: 293
Avg Commits per committer: 6.034
Development Distribution Score (DDS): 0.755
Commits in past year: 36
Committers in past year: 18
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.611
| Name | Commits | |
|---|---|---|
| rick | t****e@g****m | 434 |
| Matt | i****a | 303 |
| 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 |
| Robert Jackson | r****j@p****m | 4 |
| Jerry Cheung | j****h@w****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 263 more... | ||
Committer domains:
- redhat.com: 2
- github.com: 2
- me.com: 2
- zendesk.com: 1
- mac.com: 1
- dnil.net: 1
- izea.com: 1
- mylookout.com: 1
- soundcloud.com: 1
- g5platform.com: 1
- infopark.de: 1
- szar.de: 1
- chsc.dk: 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
- promedicalinc.com: 1
- whatcodecraves.com: 1
- contextoptional.com: 1
- gurge.com: 1
- singlebrook.com: 1
- mikebourgeous.com: 1
- iosctr.com: 1
- klarna.com: 1
- yandex.ru: 1
- loopj.com: 1
- nathanielbibler.com: 1
- marburger.cc: 1
- blacksquaremedia.com: 1
- whomwah.com: 1
- theflow.de: 1
- 123mail.org: 1
- codeagain.com: 1
- imfiny.com: 1
- tylerhunt.com: 1
- calendly.com: 1
- fbsdata.com: 1
- supremetyrant.com: 1
- orourke.io: 1
- blom.tv: 1
- renderedtext.com: 1
- dijonkitchen.org: 1
- jasongarber.com: 1
- tacostadium.com: 1
- getformidable.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
- fesnel.com: 1
- jjb.cc: 1
- jhass.eu: 1
- archiloque.net: 1
- julik.nl: 1
- justinbull.ca: 1
- karlentwistle.com: 1
- lewiscowles.me: 1
- brandfolder.com: 1
- twitch.tv: 1
- blirpit.com: 1
- plataformatec.com.br: 1
- change.org: 1
- haines.org.nz: 1
- somethingsinistral.net: 1
- sophos.com: 1
- cratr.co: 1
- flextrip.com: 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
- mikeshop.net: 1
- orien.io: 1
- seznam.cz: 1
- bulknews.net: 1
- beginsinwonder.com: 1
- ekenosen.net: 1
- rustycoin.com.au: 1
- mail.ru: 1
- codigojade.com: 1
Issue and Pull Request metadata
Last synced: 4 days ago
Total issues: 113
Total pull requests: 190
Average time to close issues: 7 months
Average time to close pull requests: 14 days
Total issue authors: 103
Total pull request authors: 79
Average comments per issue: 3.9
Average comments per pull request: 1.04
Merged pull request: 164
Bot issues: 0
Bot pull requests: 7
Past year issues: 10
Past year pull requests: 37
Past year average time to close issues: 3 days
Past year average time to close pull requests: 17 days
Past year issue authors: 9
Past year pull request authors: 16
Past year average comments per issue: 2.1
Past year average comments per pull request: 0.62
Past year merged pull request: 29
Past year bot issues: 0
Past year bot pull requests: 2
Top Issue Authors
- iMacTia (5)
- olleolleolle (2)
- AlexWayfer (2)
- rgaufman (2)
- yykamei (2)
- sdalu (2)
- michelson (2)
- stevepm (1)
- katbow (1)
- anero (1)
- swatosh (1)
- nvanoorschot (1)
- sled (1)
- coberlin (1)
- ykrods (1)
Top Pull Request Authors
- iMacTia (27)
- olleolleolle (21)
- yykamei (13)
- dependabot[bot] (7)
- 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 (7)
- unconfirmed (7)
- bug (6)
- documentation (5)
- refactoring (2)
- question (2)
- v1.0 (2)
- good first issue (2)
Top Pull Request Labels
- dependencies (7)
- documentation (6)
- ruby (4)
- blocked (2)
- github_actions (2)
- feature (1)
Package metadata
- Total packages: 4
-
Total downloads:
- rubygems: 2,165,041,506 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: 433
- Total maintainers: 3
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.0 (published 2 months ago)
- Last Synced: 2025-12-06T01:30:14.823Z (4 days ago)
- Versions: 155
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,082,441,494 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)
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.0 (published 2 months ago)
- Last Synced: 2025-12-06T22:30:57.113Z (4 days ago)
- Versions: 155
- Dependent Packages: 5,199
- Dependent Repositories: 484,789
- Downloads: 1,082,600,012 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)
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 about 1 year ago)
- Last Synced: 2024-12-01T11:41:36.703Z (about 1 year 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 about 6 years ago)
- Last Synced: 2025-12-04T22:04:21.028Z (6 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%
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.014918142315025