TootSDK

github.com/TootSDK/TootSDK Fediverse Open-source projectOpen source

Build cross-platform Mastodon and Fediverse integrations with TootSDK, a Swift library.

github.com/TootSDK/TootSDK
TootSDK homepage screenshot

About TootSDK

TootSDK is an open-source Swift library for building cross-platform Mastodon and Fediverse client applications. It supports iOS, macOS, and Linux (via the Vapor framework), and is designed to work with major Fediverse servers including Mastodon, Pleroma, and PixelFed. The library provides tools for user authorization, post interactions, and access to user timelines.

It automatically detects server type and version on connection to adapt its behavior for compatibility, uses async/await for asynchronous operations, and standardizes model property names and API handling across supported Fediverse platforms. Full Swift concurrency support is planned for the Swift 6.2 release.

Key features

  • Async/await based asynchronous function support
  • Automatic Fediverse server type and version detection
  • Cross-platform support for iOS, macOS, and Linux
  • Standardized Fediverse API and model property handling
  • User authorization and access token management tools
  • Access to home, local, and federated timelines
Best for: Developers building cross-platform Mastodon and Fediverse client applications for Apple operating systems or Linux.
Good for
  • Open-source community-developed toolkit reduces duplicated work for Fediverse app developers
  • Automatic server flavour and version detection simplifies compatibility across major Fediverse platforms
  • Async/await based design aligns with modern Swift concurrency patterns
Watch out for
  • Full Swift concurrency support is not yet implemented, planned for Swift 6.2
  • macOS apps using the library require the com.apple.security.network.client entitlement for network access
  • No stated support for non-Swift development platforms

TootSDK at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

TootSDK alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Fediverse

Well-known listings from the same topic.

All 113

TootSDK FAQ

How do I add TootSDK to my Swift project?
Via Swift Package Manager using the GitHub repository URL (minimum version 18.2.0), or via Codeberg.
How does TootSDK handle different Fediverse server types?
It automatically detects server flavour and version on connection to adjust behavior for compatibility.
What platforms can I build TootSDK-powered apps for?
Apple operating systems including iOS and macOS, and Linux via the Vapor framework.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing