Skip to content

A framework for integrating supabase into compose for desktop, android and web

License

Notifications You must be signed in to change notification settings

brezinajn/supabase-kt

 
 

Repository files navigation

supabase-kt

A Kotlin Multiplatform Client for Supabase. Supported targets:

  • JVM
  • Android
  • JS (Browser)
  • IOS (PR open, help appreciated)

Newest stable version: stable

Newest experimental version: experimental

Dokka documentation for the latest version: stable

Installation

dependencies {
    implementation("io.github.jan-tennert.supabase:[module e.g. functions-kt or gotrue-kt]:VERSION")

    //add ktor client engine (if you don't already have one, see https://ktor.io/docs/http-client-engines.html for all engines)
    //e.g. the CIO engine
    implementation("io.ktor:ktor-client-cio:KTOR_VERSION")
}

If you use multiple modules, you can use the bom dependency to get the correct versions for all modules:

implementation(platform("io.github.jan-tennert.supabase:bom:VERSION"))
implementation("io.github.jan-tennert.supabase:[module e.g. functions-kt or gotrue-kt]")

In Multiplatform projects (before Kotlin 1.8.0):

implementation(project.dependencies.platform("io.github.jan-tennert.supabase:bom:VERSION"))
implementation("io.github.jan-tennert.supabase:[module e.g. functions-kt or gotrue-kt]")

Main Modules

Plugins

Credits

About

A framework for integrating supabase into compose for desktop, android and web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%