appwrite-swift

Implements Appwrite backend services in Swift for Apple platforms and server-side applications.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/SMGolamAlif/Orbit --skill appwrite-swift-smgolamalif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appwrite-swift
Source: https://github.com/SMGolamAlif/Orbit/tree/main/.agents/skills/appwrite-swift
Command: npx skills add https://github.com/SMGolamAlif/Orbit --skill appwrite-swift-smgolamalif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building apps with Appwrite in Swift requires knowing the correct SDK patterns for authentication, database queries, file storage, real-time subscriptions, and server-side administration, and mistakes like using deprecated classes or missing permissions cause hard-to-debug failures. ## Core Features & Use Cases - Client and Server Setup: Configure Appwrite clients for iOS, macOS, watchOS, tvOS, and server-side Swift with API keys and session handling. - Full SDK Coverage: Implement email/OAuth authentication, TablesDB row operations with typed queries, file uploads, teams, real-time subscriptions, and serverless functions using async/await. - SSR Authentication: Build Vapor or Hummingbird login flows with admin and session clients, secure HTTP-only cookies, and OAuth2 token exchange. - Use Case: You are building an iOS app that needs user login, a synced task list, and profile photo uploads. Use this Skill to generate the correct Swift code for account creation, TablesDB queries with permissions, and Storage uploads. ## Quick Start Use the appwrite-swift skill to write Swift code that signs up a user, creates a row in a table, and uploads a file to a bucket.

Frequently Asked Questions about appwrite-swift

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate users with Appwrite in Swift?

Use the Account service from the Appwrite Swift SDK. Call createEmailPasswordSession for email login, createOAuth2Session for OAuth providers, and account.get() to fetch the current user, all with async/await.

How do I query Appwrite database rows in Swift?

Use TablesDB with Query helpers like Query.equal, Query.greaterThan, Query.limit, and Query.cursorAfter for pagination. Call listRows with your databaseId and tableId, passing queries as an array.

Should I use Databases or TablesDB in the Appwrite Swift SDK?

Use TablesDB for all new code because the Databases class is deprecated. Only use Databases if an existing codebase already relies on it or it is explicitly required.

Can I use Appwrite Swift SDK for server-side Vapor apps?

Yes, server-side Swift works with an admin client configured with an API key. For SSR authentication, create a per-request session client using the a_session_<PROJECT_ID> cookie and set it with setSession.

Why do users get permission errors on Appwrite rows and files?

Appwrite grants no access by default, so resources without explicit permissions are inaccessible even to their creator. Set permissions using Permission and Role helpers, and avoid Role.any() with write, update, or delete.

How do I subscribe to real-time updates in Swift with Appwrite?

Use the Realtime service and subscribe to channels such as tablesdb rows or bucket files with a closure receiving events and payloads. Close the subscription with subscription.close() when finished.