{"id":26125985,"url":"https://github.com/powersync-ja/powersync-kotlin","last_synced_at":"2026-01-16T16:56:23.401Z","repository":{"id":225828817,"uuid":"709815423","full_name":"powersync-ja/powersync-kotlin","owner":"powersync-ja","description":"SDK that enables local-first and real-time reactive apps with embedded SQLite for Kotlin Multiplatform clients","archived":false,"fork":false,"pushed_at":"2026-01-12T15:51:02.000Z","size":5952,"stargazers_count":94,"open_issues_count":9,"forks_count":20,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-01-12T21:41:38.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.powersync.com","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/powersync-ja.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-25T13:04:27.000Z","updated_at":"2026-01-12T15:51:04.000Z","dependencies_parsed_at":"2024-05-08T13:25:53.121Z","dependency_job_id":"28852643-e1ff-4940-b0e9-7b1f20f05cab","html_url":"https://github.com/powersync-ja/powersync-kotlin","commit_stats":null,"previous_names":["powersync-ja/powersync-kotlin"],"tags_count":72,"template":false,"template_full_name":null,"purl":"pkg:github/powersync-ja/powersync-kotlin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powersync-ja%2Fpowersync-kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powersync-ja%2Fpowersync-kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powersync-ja%2Fpowersync-kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powersync-ja%2Fpowersync-kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/powersync-ja","download_url":"https://codeload.github.com/powersync-ja/powersync-kotlin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powersync-ja%2Fpowersync-kotlin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-10T17:27:29.776Z","updated_at":"2026-01-16T16:56:23.387Z","avatar_url":"https://github.com/powersync-ja.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.powersync.com\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/powersync-ja/.github/assets/7372448/d2538c43-c1a0-4c47-9a76-41462dba484f\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n*[PowerSync](https://www.powersync.com) is a sync engine for building local-first apps with instantly-responsive UI/UX and simplified state transfer. Syncs between SQLite on the client-side and Postgres, MongoDB, MySQL or SQL Server on the server-side.*\n\n# PowerSync Kotlin SDK\n\nThis is the PowerSync client SDK for Kotlin. This SDK currently supports the following Kotlin targets:\n\n- Android\n- JVM\n- iOS\n- macOS\n- watchOS\n- tvOS\n\nIf you need support for additional targets, please reach out!\n\nSee a summary of features [here](https://docs.powersync.com/client-sdk-references/kotlin-multiplatform#sdk-features)\nand API documentation [here](https://powersync-ja.github.io/powersync-kotlin/).\n\n## Structure: Packages\n\n- [core](./core/)\n\n    - This is the Kotlin Multiplatform SDK implementation, built by depending on `common`\n      and linking SQLite.\n\n- [common](./common/)\n\n    - This is the Kotlin Multiplatform SDK implementation without a dependency on a fixed\n      SQLite bundle. This allows the SDK to be used with custom SQLite installations (like\n      e.g. SQLCipher).\n\n- [integrations](./integrations/)\n  - [room](./integrations/room/README.md): Allows using the [Room database library](https://developer.android.com/jetpack/androidx/releases/room) with PowerSync, making it easier to run typed queries on the database.\n  - [sqldelight](./integrations/sqldelight/README.md): Allows using [SQLDelight](https://sqldelight.github.io/sqldelight)\n    with PowerSync, also enabling typed statements on the database.\n  - [SupabaseConnector.kt](./integrations/supabase/src/commonMain/kotlin/com/powersync/connector/supabase/SupabaseConnector.kt) An example connector implementation for Supabase (Postgres). The backend\n    connector provides the connection between your application backend and the PowerSync managed database. It is used to:\n      1. Retrieve a token to connect to the PowerSync service.\n      2. Apply local changes on your backend application server (and from there, to your backend database).\n- [sqlite3multipleciphers](./sqlite3multipleciphers/)\n\n    - A SQLite driver implementation based on SQLite3MultipleCiphers.\n\n## Demo Apps / Example Projects\n\nThe easiest way to test the PowerSync KMP SDK is to run one of our demo applications.\n\nDemo applications are located in the [`demos/`](./demos) directory. See their respective README's for testing instructions:\n\n- [demos/supabase-todolist](./demos/supabase-todolist/README.md): A simple to-do list application demonstrating the use of the PowerSync Kotlin Multiplatform SDK and the Supabase connector.\n- [demos/android-supabase-todolist](./demos/android-supabase-todolist/README.md): A simple to-do list application demonstrating the use of the PowerSync Kotlin Multiplatform SDK and the Supabase connector in an Android application.\n\n## Installation\n\nAdd the PowerSync Kotlin Multiplatform SDK to your project by adding the following to your `build.gradle.kts` file:\n\n```kotlin\n\nkotlin {\n    //...\n    sourceSets {\n        commonMain.dependencies {\n            api(\"com.powersync:core:$powersyncVersion\")\n        }\n        //...\n    }\n}\n```\n\nIf want to use the Supabase Connector, also add the following to `commonMain.dependencies`:\n\n```kotlin\n    implementation(\"com.powersync:connector-supabase:$powersyncVersion\")\n```\n\n### Cocoapods\n\nWe recommend using Cocoapods (as opposed to SMP) for iOS targets. Add the following to the `cocoapods` config in your `build.gradle.kts`\n\n```kotlin\ncocoapods {\n    //...\n    pod(\"powersync-sqlite-core\") {\n        linkOnly = true\n    }\n\n    framework {\n        isStatic = true\n        export(\"com.powersync:core\")\n    }\n    //...\n}\n```\n\nNote: The `linkOnly` attribute is set to `true` and framework is set to `isStatic = true` to ensure that the `powersync-sqlite-core` binaries are only statically linked.\n\n## Formatting and Linting\n\nThis repo uses [ktlint](https://pinterest.github.io/ktlint/) to handle formatting and linting. If you would like the IDE to automatically format your code and show linting errors install the [ktlint plugin](https://plugins.jetbrains.com/plugin/15057-ktlint). Then in Settings go to Tools -\u003e Ktlint -\u003e Select Distract free (recommended) mode.\nIt will automatically use the rules set in the `.editorconfig` file.\n\n## Getting Started\n\nOur [full SDK reference](https://docs.powersync.com/client-sdk-references/kotlin-multiplatform-alpha#getting-started) contains everything you need to know to get started implementing PowerSync in your project.\n\n## Examples\n\nFor example projects built with PowerSync and Kotlin Multiplatform, see our [Demo Apps / Example Projects](https://docs.powersync.com/resources/demo-apps-example-projects#kotlin-multiplatform) gallery. Most of these projects can also be found in the [`demos/`](demos/) directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowersync-ja%2Fpowersync-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowersync-ja%2Fpowersync-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowersync-ja%2Fpowersync-kotlin/lists"}