Is it possible/straightforward to have a webserver baked in to an iOS app?

This page summarizes the projects mentioned and recommended in the original post on /r/iOSProgramming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Embassy

    Super lightweight async HTTP server library in pure Swift runs in iOS / MacOS / Linux (by envoy)

    Right now I'm using https://github.com/envoy/Embassy. There's also https://github.com/envoy/Ambassador if you want an "HTTP Framework". These are more lightweight, but they might not be feature complete.

  • Ambassador

    Super lightweight web framework in Swift based on SWSGI (by envoy)

    Right now I'm using https://github.com/envoy/Embassy. There's also https://github.com/envoy/Ambassador if you want an "HTTP Framework". These are more lightweight, but they might not be feature complete.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • Vapor

    💧 A server-side Swift HTTP web framework.

    Otherwise there's https://github.com/vapor/vapor

  • GCDWebServer

    Discontinued The #1 HTTP server for iOS, macOS & tvOS (also includes web based uploader & WebDAV server)

  • swift-nio

    Event-driven network application framework for high performance protocol servers & clients, non-blocking.

    In addition to what others have said, SwiftNIO is a possible low-level web server framework.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts