📈 GH Trending Explorer 🎲 Surprise me

← all repos

Alamofire / Alamofire

git clone https://github.com/Alamofire/Alamofire.git 5.12.2 · 1mo ago 🔥 on GitHub Trending today

Swift library for HTTP networking built on URLSession, offering chainable requests, parameter encoding, and response validation.

Why you might care

Use it in iOS, macOS, tvOS, or watchOS apps to avoid writing boilerplate around URLSession. It adds Swift Concurrency and Combine support, upload and download progress, TLS certificate and public key pinning, and network reachability.

Categories

Alternatives

URLSessionMoyaApollo iOSKingfisher
+0
stars, 24h · #23,533
+9
stars, 7 days · #12,195
+~40
stars, 30 days · #14,731
42k
★ total · +0% this week
7.7k
forks · 45 open issues

Star history (as recorded here)

2026-10-20 · 42,391 ★ 2026-10-23 · 42,395 ★
LanguageSwift
LicenseMIT
Created2014-07-31 (12y ago)
Last push13d ago
Watchers1.1k
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-23 — #5 daily in swift
  • 2026-10-22 — #15 weekly in swift · +9 ★
  • 2026-10-21 — #11 daily in swift
  • 2026-10-20 — #11 daily in swift

GitHub topics

Links

README excerpt
Alamofire is an HTTP networking library written in Swift.
- Features
- Component Libraries
- Requirements
- Migration Guides
- Communication
- Installation
- Contributing
- Usage
 - **Introduction -** Making Requests, Response Handling, Response Validation, Response Caching
 - **HTTP -** HTTP Methods, Parameters and Parameter Encoder, HTTP Headers, Authentication
 - **Large Data -** Downloading Data to a File, Uploading Data to a Server
 - **Tools -** Statistical Metrics, cURL Command Output
- Advanced Usage
 - **URL Session -** Session Manager, Session Delegate, Request
 - **Routing -** Routing Requests, Adapting and Retrying Requests
 - **Model Objects -** Custom Response Handlers
 - **Advanced Concurrency -** Swift Concurrency and Combine
 - **Connection -** Security, Network Reachability
- Open Radars
- FAQ
- Credits
- Donations
- License
## Features
- [x] Chainable Request / Response Methods
- [x] Swift Concurrency Support Back to iOS 13, macOS 10.15, tvOS 13, and watchOS 6.
- [x] Combine Support
- [x] URL / JSON Parameter Encoding
- [x] Upload File / Data / Stream / MultipartFormData
- [x] Download File using Request or Resume Data
- [x] Authentication with `URLCredential`
- [x] HTTP Response Validation
- [x] Upload and Download Progress Closures with Progress
- [x] cURL Command Output
- [x] Dynamically Adapt and Retry Requests
- [x] TLS Certificate and Public Key Pinning
- [x] Network Reachability
- [x] Comprehensive Unit and Integration Test Coverage
- [x] Complete Documentation
## Write Requests Fast!
Alamofire's compact syntax and extensive feature set allow requests with powerful features like automatic retry to be written in just a few lines of code.
 [code] 
## Component Libraries
In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the Alamofire Software Foundation to bring additional functionality to the Alamofire ecosystem.
- AlamofireImage - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache, and a priority-based image downloading system.
- AlamofireNetworkActivityIndicator - Controls the visibility of the network activity indicator on iOS using Alamofire. It contains configurable delay timers to help mitigate flicker and can support `URLSession` instances not managed by Alamofire.
## Requirements
| Platform | Minimum Swift Version | Installation | Status |
| ---------------------------------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+ | 6.0 / Xcode 16.0 | CocoaPods, Carthage, Swift Package Manager, Manual | Fully Tested |
| Linux | Latest Only | Swift Package Manager | Building But Unsupported |
| Windows | Latest Only | Swift Package Manager | Building

Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.