Swiftpack.co - swift-cloud/ComputeUI as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by swift-cloud.
swift-cloud/ComputeUI 1.0.1
Write SwiftUI / Tokamak apps on Fastly [email protected]
⭐️ 20
🕓 9 weeks ago
iOS macOS watchOS tvOS driverKit macCatalyst
.package(url: "https://github.com/swift-cloud/ComputeUI.git", from: "1.0.1")


Build server side rendered webpages in SwiftUI

import ComputeUI

struct IndexPage: View {

    @Environment(\.request) var req

    var body: some View {
        VStack {
            Text("Hello, Swift")

            Text("This is a server rendered SwiftUI website")

            Text("Your ip address \(req.clientIpAddress().stringValue)")

try await Router()
    .get("/", IndexPage())


Stars: 20
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

v1.0.1 - Initial Release
9 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics