alchemy
swift-nio
Our great sponsors
alchemy | swift-nio | |
---|---|---|
13 | 12 | |
324 | 7,761 | |
0.0% | 0.9% | |
6.8 | 9.1 | |
8 months ago | 5 days ago | |
Swift | Swift | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
alchemy
-
What do you think about server-side Swift?
I'm curious if anyone has played with Alchemy.
-
Alchemy - Elegant, batteries included web framework for Swift?
Hey r/swift, after years of lurking here I’ve got something to contribute! Over the recent year I’ve been working on a web framework for everyone’s favorite language. Its focus is on clean,elegant, full featured APIs and sharing code between Swift clients and server. There are a couple quickstart projects in there (including one that’s Fullstack; iOS, Backend, Shared all in a single Xcode Project!) to peruse. There’s also a ton of docs that are geared towards fellow Swifters who are just getting started in backend dev. Would love for you guys to check it out and give feedback! https://github.com/alchemy-swift/alchemy
-
Swift Syntax and Structured Editing Library
```
There’s also a bunch more examples of APIs around QueryBuilder, Caching, Jobs, Queues, Redis, Commands, Authentication, Middleware etc[1]. And everything will be converted to async/await in the coming days.
1: https://github.com/alchemy-swift/alchemy/tree/main/Docs#docs
- Alchemy - A web framework for fullstack swift
-
Alchemy - Elegant, batteries included web framework for Swift
It's aimed to be an alternative, vapor is great and super customizable but I wanted to create something that was a little more "convention over configuration" so that out of the box things were a little more simple to follow and get going, if you are willing to do it the Alchemy "way of doing things". For example the ORM models can be super light weight,if you name the database table columns after the CodingKeys of the model.
- Show HN: Alchemy – Elegant, batteries included web framework for Swift
-
Anyone here create a website using Swift?
Alchemy is a recently released Swift web framework.
- Alchemy: A fully featured web framework for Swift
swift-nio
-
Is it possible/straightforward to have a webserver baked in to an iOS app?
In addition to what others have said, SwiftNIO is a possible low-level web server framework.
-
Swift outside the Apple ecosystem
Also look at: Hummingbird https://github.com/hummingbird-project/hummingbird Smoke https://github.com/amzn/smoke-framework Swift NIO https://github.com/apple/swift-nio
-
Apple Announces Full Swift Rewrite of the Foundation Framework
You could take a look a swift-nio (https://github.com/apple/swift-nio) which is a pretty high-throughput system. swift-nio does this using some reference-counted GC where it simplifies the code and doesn't affect performance. Otherwise, value-types are used which incur no GC overhead (unless they are copy-on-write, and backed by something that requires reference counting).
-
Are there any examples of major or highly complex software written solely or at-least primarily in Swift?
The UI and the Core are mainly written by Swift. The proxy server is powered by Apple Swift-NIO. Some critical parts (deal with low-level system APIs, high performant JSON Parser, de/compression, protobuf, BoringSSL,...) are written by Objective-C and C. For some parts that deal with Pointer, or C library, I continue using Objective-C since it's easier than using a bunch of Unsafe Swift classes (UnsafePointer, UnsafeMutablePointer, UnsafeRawPointer, etc)
- The Val Object Model: Template for a possible future Swift object model
-
Implementing Parts of the Swift Compiler in Swift
> Why should they? That isn't their target audience.
Because they need it?
Apple discontinued macOS server, i bet they use Linux in some of their servers
All their networking related libs are available and tested for Linux [1, 2]
Let's not forget that they package Swift for Linux, and now also for Windows [3]
Swift is crossplatform language (you not wanting to understand it doesn't change this fact), it's not a macOS framework
[1] - https://github.com/apple/swift-nio
[2] - https://github.com/apple/swift-protobuf/blob/main/.github/wo...
[3] - https://forums.swift.org/t/announcing-swift-5-6-2-for-linux-...
-
What is the simplest way to have local http server in iOS app?
I would look at NIO or something that uses it, like https://diamantidis.github.io/2019/10/27/swift-nio-server-in-an-ios-app
-
Update app from external source (maybe?)
i use swiftnio to spin up http servers. lots of documentation online. your app logic will be the same as ios but without swiftui and uikit.
-
Any tutorials you recommend for URLSession?
Depending on what you need, SwiftNIO might do the trick.
-
Is there a reliable swift package for running a tcp connection from an ios app ?
If you want something a little more robust for a low-level TCP connection, you can also use SwiftNIO.
What are some alternatives?
Plot - A DSL for writing type-safe HTML, XML and RSS in Swift.
SwiftSocket - The easy way to use sockets on Apple platforms
hummingbird - Lightweight, flexible HTTP server framework written in Swift
GCDWebServer - The #1 HTTP server for iOS, macOS & tvOS (also includes web based uploader & WebDAV server)
Vapor - 💧 A server-side Swift HTTP web framework.
Zewo - Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines.
sourcekit-lsp - Language Server Protocol implementation for Swift and C-based languages
mongodb-vapor - MongoDB + Vapor integration
practical-server-side-swift - Vapor 4 code samples for the Practical Server Side Swift book
Swift-Atem - Blackmagic Design Atem network protocol implementation in swift 5.1 using NIO 2
swift - The Swift Programming Language
async-http-client - HTTP client library built on SwiftNIO