AD
Boost Your Brand on BlueSky—Exclusive banner space to amplify your reach within the BlueSky community.
BSkyInfo LogoBskyInfo
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryArticlesGuidesGlossaryBluesky SDKsSponsor
Submit
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryGuidesGlossaryArticlesBluesky SDKsSponsorSubmit
  1. SDKs
  2. /Swift
  3. /swift-atproto
nnabeyang

swift-atproto

A Swift SDK for Bluesky and AT Protocol by nnabeyang

AT Protocol implementation in Swift

GitHub Stats

34stars
1forks
1contributors
0open issues

Dates

Created:December 7, 2023
Last updated:June 8, 2025

README

The following content is from swift-atproto's GitHub repository. All rights reserved by the original author.

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.28.2"),
    ],
    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 \
--allow-network-connections all:443 swift-atproto --outdir <OUTPUT_DIR> --atproto-configuration ./.atproto.json

Sample configuration file is as follows:

{
  "dependencies": [
    {
      "location": "https://github.com/bluesky-social/atproto.git",
      "lexicons": [
        { "prefix": "app.bsky", "path": "lexicons/app/bsky" },
        { "prefix": "com.atproto", "path": "lexicons/com/atproto" },
        { "prefix": "tools/ozone", "path": "lexicons/tools/ozone" }
      ],
      "state": {
        "tag": "@atproto/api@0.15.5"
      }
    },
    {
      "location": "https://github.com/nnabeyang/soyokaze-lexicons.git",
      "lexicons": [
        {
          "prefix": "com.nnabeyang.soyokaze",
          "path": "lexicons/com/nnabeyang/soyokaze"
        }
      ],
      "state": {
        "tag": "0.0.1"
      }
    }
  ],
  "module": "Sources/Lexicon"
}

Apps Using

License

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

Author

Noriaki Watanabe@nnabeyang

Related SDKs

kphrxplc-handle-tracker

did:plc & atproto handle tracker

29•Swift
MasterJ93ATProtoKit

A straightforward solution for using the AT Protocol and Bluesky, written in Swift.

157•Swift
aaronveghATProtoKit

A straightforward solution for using the AT Protocol and Bluesky, written in Swift.

1•Swift
andooownswift-atproto

Swift package that provides a AT Protocol libraries.

36•Swift
andooownlexicon-gen

CLI tool written in Swift to generate Swift codes from AT Proto's Lexicon files.

12•Swift
cheadSwiftBluesky

A package for interacting with the Bluesky Social API.

4•Swift

Resources

GitHub Repository

License

MIT

Author

nnabeyang
nnabeyang
did:plc:bnh3bvyqr3vzxyvjdnrrusbr

Activity

Last commit: June 8, 2025
Commit frequency: Unknown

Our Sponsors

Your Brand Here!

50K+ engaged viewers every month

Limited spots available!

📧 Contact us via email🦋 Contact us on Bluesky
BSkyInfo LogoBskyInfo

The Most Comprehensive Bluesky Tools Directory

Stay updated with the latest Bluesky tools and ecosystem news 🦋

Bluesky butterfly logo
Quick LinksSubmit a ToolSponsorAboutLegal Information
ToolsFeed DirectoryLabeler DirectorySchedulingAnalyticsAll ToolsCategoriesCollectionsTags
ResourcesArticlesBluesky GuidesBluesky GlossaryBluesky SDKsBluesky ResourcesSkyRaffleMeida Coverage
Our ProductsRaffleBlueAiTeach ToolsLaiewAI affiliate listFirstoCoast Fire CalculatorAsphalt CalculatorDog Names World

This website may contain affiliate links

© 2025 BskyInfo. All rights reserved.