Swift HTTP

Open-source Swift projects categorized as HTTP

Top 19 Swift HTTP Projects

  • Vapor

    💧 A server-side Swift HTTP web framework.

    Project mention: Swiftly Chatting: Building Chatbots with Botter | dev.to | 2023-08-08

    Botter works in tandem with Vapor, which handles the server-side functions of your project. This powerful combination allows you to focus on what matters most - creating an engaging and effective chatbot.

  • swifter

    Tiny http server engine written in Swift programming language.

  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

  • Netfox

    A lightweight, one line setup, iOS / OSX network debugging library! 🦊

  • swift-request

    Declarative HTTP networking, designed for SwiftUI

  • hummingbird

    Lightweight, flexible HTTP server framework written in Swift (by hummingbird-project)

    Project mention: An aborted experiment with server Swift | news.ycombinator.com | 2023-10-25

    Such a shame. Swift has many beautiful language features.

    I give swift a try every once in a while.

    Problems of my last attempt:

    - The Swift REPL (lldb to be precise) depends on libpython-dev (v3.8). WSL (ubuntu 22.04) comes with 2.7 and 3.10, so the lldb dependency depends on an old python version. The fix was to copy the 3.10 binary to the directory where lldb expects it, and rename it to libpython3.8.so. It seems that it's backwards compatible so it worked on my machine.

    - I tried to compile and statically link a hummingbird (web framework, more light weight than vapot, https://github.com/hummingbird-project/hummingbird) hello-world example. I had a liking error. Luckilly someone in the swift forums helped me. The problem was that my package.swift file had the "-static-stdlib" flag only as a swiftSettings. It needed to be also a linkerSetting.

    In the end I was able to build my example. But at this point I already spent multiple days debugging problems that are unrelated to my applicationn or the Swift language.

    It's a shame because I see its potential. Fixing the (linux/windows) tooling problems would probably only take "some" developers. Apple has near infinite money and could sponsor them if they wanted to., but they gain little by it. Besides them, not many are invested in it.


    Swift/Obj-C HTTP framework with a focus on REST and JSON

  • ws ☁️

    ⚠️ Deprecated - (in favour of Networking) :cloud: Elegantly connect to a JSON api. (Alamofire + Promises + JSON Parsing)

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • FlyingFox

    Lightweight, HTTP server written in Swift using async/await. (by swhitty)

    Project mention: Has anyone used Swift to build backend microservices for production? | /r/swift | 2023-04-01

    If you have a simple api service, i think you shouldn’t use vapor. Because vapor brings a lot of dependency. I use FlyingFox for my small projects: https://github.com/swhitty/FlyingFox

  • swift-url

    A new URL type for Swift

  • RealHTTP

    🌀swift async http client - fast, lightweight, type-safe

  • Squid

    Declarative and Reactive Networking for Swift. (by borchero)

  • Postie

    The next-level structured Swift HTTP API Client

    Project mention: Postie – Structured HTTP API Client for Swift | news.ycombinator.com | 2023-10-16
  • http-request

    🌐 A tiny http client for iOS and macOS. Only 80 lines of code. (by mezhevikin)

    Project mention: 🌐 A tiny HTTP client for Kotlin/Android. Only 90 lines of code | /r/Kotlin | 2022-12-30

    Also, I have the same library with the same name for iOS / Swift - https://github.com/mezhevikin/http-request

  • Netswift

    A type-safe, high-level networking solution for Swift apps

  • Flock

    Rapid file download using concurrent connections (by qasim)

    Project mention: Flock: rapid file download using concurrent connections, as an URLSession extension | /r/iOSProgramming | 2022-12-30
  • APIRequest

    A swift package/android library to interact with a REST API.

  • Networking

    Networking is a lightweight and powerful HTTP network framework written in Swift (by brillcp)

    Project mention: Open source HTTP network framework in Swift | /r/swift | 2022-12-08

    My name is Viktor and I'm a long time iOS engineer. I have written an open source HTTP network framework and I would like some feedback on it. Please have a look at my repository on GitHub. It's lightweight and powerful and can be used for most REST API purposes. I am looking to extend the functionality even further so that one day maybe this framework can be used commercially :)

  • Relax

    Declaratively build and send client requests for REST APIs in Swift. (by tdeleon)

    Project mention: Relax: Declaratively build and send client requests for REST APIs in Swift | news.ycombinator.com | 2023-02-01
  • iONess

    iONess is HTTP Request Helper for iOS platform used by HCI iOS App

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-10-25.

Swift HTTP related posts


What are some of the best open-source HTTP projects in Swift? This list will help you:

Project Stars
1 Vapor 23,360
2 swifter 3,785
3 Netfox 3,547
4 swift-request 714
5 hummingbird 569
6 PMHTTP 505
7 ws ☁️ 353
8 FlyingFox 346
9 swift-url 303
10 RealHTTP 267
11 Squid 70
12 Postie 32
13 http-request 27
14 Netswift 25
15 Flock 19
16 APIRequest 15
17 Networking 12
18 Relax 12
19 iONess 1
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.