{"id":25806722,"url":"https://github.com/sqlitecloud/sqlitecloud-kotlin","last_synced_at":"2025-06-11T10:35:23.983Z","repository":{"id":226482887,"uuid":"699682022","full_name":"sqlitecloud/sqlitecloud-kotlin","owner":"sqlitecloud","description":"SQLite Cloud Kotlin SDK","archived":false,"fork":false,"pushed_at":"2025-02-25T11:24:24.000Z","size":5797,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-25T11:50:35.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sqlitecloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-10-03T06:02:07.000Z","updated_at":"2025-02-25T11:24:34.000Z","dependencies_parsed_at":"2024-06-14T15:13:20.240Z","dependency_job_id":"1490cb61-9fbc-4f12-82e8-4d23f2ef8404","html_url":"https://github.com/sqlitecloud/sqlitecloud-kotlin","commit_stats":null,"previous_names":["sqlitecloud/kotlin","sqlitecloud/sqlitecloud-kotlin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlitecloud%2Fsqlitecloud-kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlitecloud%2Fsqlitecloud-kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlitecloud%2Fsqlitecloud-kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlitecloud%2Fsqlitecloud-kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlitecloud","download_url":"https://codeload.github.com/sqlitecloud/sqlitecloud-kotlin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241056728,"owners_count":19901841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-02-27T20:28:59.999Z","updated_at":"2025-02-27T20:29:00.738Z","avatar_url":"https://github.com/sqlitecloud.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQLiteCloud Kotlin Library\n\n![sqlitecloud-logo](https://github.com/sqlitecloud/sqlitecloud-kotlin/assets/3525511/392efdae-44a5-4a8c-9dd9-3eba99620108)\n\nSQLiteCloud is a powerful Kotlin library that allows you to interact with the SQLite Cloud backend server seamlessly. It provides methods for various database operations and real-time notifications. This package is designed to simplify database operations in Android applications, making it easier than ever to work with SQLite Cloud.\n\n## Features\n\n- **Database Operations**: Easily perform database operations, including queries, updates, inserts, and more.\n\n- **Real-time Notifications**: Get real-time notifications from the SQLite Cloud backend server.\n\n- **Efficient**: SQLiteCloud is designed for efficiency, ensuring that your database operations are fast and reliable.\n\n## Installation\n\nYou can install the SQLiteCloud Kotlin library by downloading this repository and adding the `sqlitecloud` module into your project (for example, if you're using Android Studio, place the `sqlitecloud` directory within your project's root directory, select the menu `File \u003e New \u003e Import Module...` and select such directory). Then, in your project's `build.gradle`, add the following line to the `dependencies` section:\n```\n    implementation(project(mapOf(\"path\" to \":sqlitecloud\")))\n```\n\n## Usage\n\n#### Using explicit configuration\n\n```kotlin\nval configuration = SQLiteCloudConfig(hostname = \"myproject.sqlite.cloud\", username = \"\", password = \"\")\nval sqliteCloud = SQLiteCloud(appContext = applicationContext, config = configuration)\n\nmyCoroutineScope.launch {\n    val result = try {\n        sqliteCloud.connect()\n        \"connected\"\n    } catch (e: SQLiteCloudError) {\n        \"connection error: ${e.message ?: \"unknown error\"}\"\n    }\n    Log.d(\"MyTag\", result)\n}\n```\n\n#### Using string configuration\n\n```kotlin\nlet configuration = SQLiteCloudConfig.fromString(\"sqlitecloud://user:pass@host.com:port/dbname?timeout=10\u0026key2=value2\u0026key3=value3\")\nval sqliteCloud = SQLiteCloud(appContext = applicationContext, config = configuration)\n\nmyCoroutineScope.launch {\n    val result = try {\n        sqliteCloud.connect()\n        \"connected\"\n    } catch (e: SQLiteCloudError) {\n        \"connection error: ${e.message ?: \"unknown error\"}\"\n    }\n    Log.d(\"MyTag\", result)\n}\n```\n\n## License\nSQLiteCloud is licensed under the MIT License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlitecloud%2Fsqlitecloud-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlitecloud%2Fsqlitecloud-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlitecloud%2Fsqlitecloud-kotlin/lists"}