Swift Server

Open-source Swift projects categorized as Server

Top 21 Swift Server Projects

  • Vapor

    💧 A server-side Swift HTTP web framework.

    Project mention: Swift 6 | news.ycombinator.com | 2024-09-17

    Do you mean from first-principles, or letting someone else do the work and use a framework? The latter has been around for years, extremely easy: https://vapor.codes

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Kitura

    A Swift web framework and HTTP server.

  • swifter

    Tiny http server engine written in Swift programming language.

  • smoke-framework

    A light-weight server-side service framework written in the Swift programming language.

  • 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.

  • Telegraph

    Secure Web Server for iOS, tvOS and macOS (by Building42)

  • Reflection

    DEPRECATED

  • Redbird

    Vapor provider for RediStack (by vapor)

  • FlyingFox

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

  • SwiftGD

    A simple Swift wrapper for libgd (by twostraws)

  • swift-http

    HTTP Implementation for Swift on Linux and Mac OS X

  • alchemy

    Modern, batteries included web framework for Swift. (by alchemy-swift)

  • Edge

    A Swift Multiplatform Single-threaded Non-blocking Web and Networking Framework (by skylab-inc)

  • Noze.io

    Evented I/O streams for Swift

  • Jobs

    A job system for Swift backends. (by BrettRToomey)

  • swiftra

    Sinatra-like DSL for developing web apps in Swift

  • practical-server-side-swift

    Vapor 4 code samples for the Practical Server Side Swift book

  • mod_swift

    Reliable Server Side Swift ✭ Make Apache great again!

  • web-serve

    Create local network servers effortlessly with a user-friendly interface. Manage multiple servers running simultaneously in the background. Enable mod rewrite for Single Page Applications (SPA) with just one click.

    Project mention: Show HN: Web Serve – A simple tool to quickly set up local static servers | news.ycombinator.com | 2024-09-07
  • SwiftFM

    SwiftFM is a Swift framework for the FileMaker Data API

  • elementary-htmx

    HTMX + Elementary: Hypertext web apps with Swift

    Project mention: Htmx and Elementary: Hypertext web apps with Swift | news.ycombinator.com | 2024-07-27
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).

Swift Server discussion

Log in or Post with

Swift Server related posts

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

    5 projects | /r/iOSProgramming | 5 May 2023
  • Most effective approach for building a client/server application (MacOS)

    2 projects | /r/swift | 2 May 2023
  • Swift outside the Apple ecosystem

    8 projects | /r/swift | 15 Apr 2023
  • What to choose next? My company wants me to learn new stack. iOS Dev with 8 years of exp.

    1 project | /r/iOSProgramming | 15 Apr 2023
  • Hummingbird, the Swift server framework, hits v1.0

    1 project | /r/hypeurls | 8 Feb 2023
  • Hummingbird, the Swift server framework, hits v1.0

    1 project | news.ycombinator.com | 8 Feb 2023
  • What is the backend of apps?

    2 projects | /r/iOSProgramming | 20 Oct 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Oct 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 Vapor 24,447
2 Kitura 7,629
3 swifter 3,897
4 smoke-framework 1,443
5 hummingbird 1,137
6 Telegraph 791
7 Reflection 599
8 Redbird 459
9 FlyingFox 455
10 SwiftGD 454
11 swift-http 449
12 alchemy 335
13 Edge 311
14 Noze.io 306
15 Jobs 294
16 swiftra 262
17 practical-server-side-swift 250
18 mod_swift 174
19 web-serve 89
20 SwiftFM 58
21 elementary-htmx 45

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you konow that Swift is
the 15th most popular programming language
based on number of metions?