/swift-webpush

WebPush server implementation in Swift

Primary LanguageSwiftMIT LicenseMIT

Swift WebPush

Test Status

A server-side Swift implementation of the WebPush standard.

Quick Links

Installation

Add WebPush as a dependency in your Package.swift file to start using it. Then, add import WebPush to any file you wish to use the library in.

Please check the releases for recommended versions.

dependencies: [
    .package(
        url: "https://github.com/mochidev/swift-webPush.git", 
        .upToNextMinor(from: "0.1.1")
    ),
],
...
targets: [
    .target(
        name: "MyPackage",
        dependencies: [
            "WebPush",
        ]
    ),
    .testTarget(
        name: "MyPackageTests",
        dependencies: [
            "WebPushTesting",
        ]
    ),
]

Usage

TBD

Contributing

Contribution is welcome! Please take a look at the issues already available, or start a new discussion to propose a new feature. Although guarantees can't be made regarding feature requests, PRs that fit within the goals of the project and that have been discussed beforehand are more than welcome!

Please make sure that all submissions have clean commit histories, are well documented, and thoroughly tested. Please rebase your PR before submission rather than merge in main. Linear histories are required, so merge commits in PRs will not be accepted.

Support

To support this project, consider following @dimitribouniol on Mastodon, listening to Spencer and Dimitri on Code Completion, or downloading Linh and Dimitri's apps: