supabase-community / supabase-kt
A Kotlin Multiplatform Client for Supabase.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing supabase-community/supabase-kt in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewsupabase-kt A Kotlin Multiplatform Client for Supabase. For information about supported Kotlin targets, see the corresponding module README. Migrating from version 2.X to 3.0.0 *Note: The target for supported modules is only available for version 3.0.0 and above* Links Documentation Samples [Getting started with Android and Supabase [Video]](https://www.youtube.com/watch?v=_iXUVJ6HTHU) Quickstart Tutorial: Build a Product Management Android App with Jetpack Compose Dokka documentation for the latest version Troubleshooting Installation Add one or more modules to your project **Available modules**: *, , , , , , , , , , \* Before version 3.0.0, the module was called . If you use multiple modules, you can use the bom dependency to get the correct versions for all modules: *Note that the minimum Android SDK version is 26. For lower versions, you need to enable core library desugaring.* Add a Ktor Client Engine to each of your Kotlin targets You can find a list of available engines here. If you plan to use the Realtime dependency, make sure to check if the engine supports WebSockets. See the Ktor docs for more information. Multiplatform Example For targets: , , , **Note:** It is recommended to use the same Ktor version as supabase-kt: __For 3.0.0 and above:__ __For versions below 3.0.0:__ Main Modules • Authentication • Database/Postgrest • Storage • Realtime • Functions (Edge Functions) Plugins There are several plugins available to extend the functionality of supabase-kt. They can be installed in the function. Some highlights include: • Apollo GraphQL integration - Creates an Apollo GraphQL Client for interacting with the Supabase API. • Compose Auth - Provides easy Native Google & Apple Auth for Compose Multiplatform targets. • Compose Auth UI - Provides UI Components for Compose Multiplatform. • Coil3 Integration - Provides a Coil3 Integration for displaying images stored in Supabase Storage. Supports all Compose Multiplatform targets. For more information, checkout supabase-kt-plugins. Miscellaneous • Supabase Edge Functions Kotlin - Build, serve and deploy Supabase Edge Functions with Kotlin and Gradle. Samples Multiplatform Applications **Official Samples** • Chat Demo *(Desktop/Android/iOS/Browser)* - A simple chat application using the Auth, Postgrest and Realtime module. • File Upload Demo *(Desktop/Android)* - A simple bulk file upload application using the Storage module. • Multi-Factor Authentication *(Desktop/Android/Browser)* - A simple application showcasing Multi-Factor Authentication. **Community Samples** • Groceries Store App *(Android)* - An e-commerce app using Auth, Postgrest and Storage • Supa Sketcher *(Android)* - An real-time white board app using anonymous sign-ins Auth, Postgrest and Realtime Server-side Applications **Community Samples** • RESTful Service *(Spring Boot)* Need help? • Join the #supabase-kt Kotlin Slack channel • Join the Supabase Discord and create a new post with the 'Kotlin' tag under • Create a discussion • Create an issue Guides • Building Secure User Sign Up With Email Confirmation with Supabase on Android • Getting started with Android and Supabase by the official Supabase YouTube channel • Sign in with Google on Android using Credential Manager by the official Supabase YouTube channel Contribution Checkout the contribution guidelines for more information. Credits • Postgres Syntax inspired by https://github.com/supabase-community/postgrest-kt • Plugin system inspired by ktor Sponsoring If you like the project and want to support it, consider sponsoring me on Ko-fi or directly on PayPal.