Skip to content

nnabeyang/swift-atproto

Repository files navigation

swift-atproto

swift-atproto is a atproto library.

Installation

SwiftPM

Add the SwiftAtproto as a dependency:

let package = Package(
    // name, platforms, products, etc.
    dependencies: [
        // other dependencies
        .package(url: "https://github.com/nnabeyang/swift-atproto", from: "0.8.0"),
    ],
    targets: [
        .executableTarget(name: "<executable-target-name>", dependencies: [
            // other dependencies
                .product(name: "SwiftAtproto", package: "swift-atproto"),
        ]),
        // other targets
    ]
)

CocoaPods

Add the following to your Podfile:

pod 'SwiftAtproto'

Usage

Code generation is done as follows:

swift package plugin --allow-writing-to-package-directory swift-atproto \
  --outdir <OUTPUT_DIR> \
  /path/to/bluesky-social/atproto/lexicons

License

swift-atproto is published under the MIT License, see LICENSE.

Author

Noriaki Watanabe@nnabeyang

About

AT Protocol implementation in Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages