{"id":25806736,"url":"https://github.com/sqlitecloud/sqlitecloud-swift","last_synced_at":"2025-02-27T20:29:09.110Z","repository":{"id":196946981,"uuid":"696292266","full_name":"sqlitecloud/sqlitecloud-swift","owner":"sqlitecloud","description":"SQLite Cloud Swift","archived":false,"fork":false,"pushed_at":"2024-07-25T20:52:03.000Z","size":42473,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-25T11:50:35.406Z","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":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-09-25T13:19:58.000Z","updated_at":"2024-07-25T20:52:07.000Z","dependencies_parsed_at":"2023-09-28T10:40:33.997Z","dependency_job_id":"27a26ee8-f21c-49df-8d37-c2532c1171c5","html_url":"https://github.com/sqlitecloud/sqlitecloud-swift","commit_stats":null,"previous_names":["sqlitecloud/swift","sqlitecloud/sqlitecloud-swift"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlitecloud%2Fsqlitecloud-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlitecloud%2Fsqlitecloud-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlitecloud%2Fsqlitecloud-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlitecloud%2Fsqlitecloud-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlitecloud","download_url":"https://codeload.github.com/sqlitecloud/sqlitecloud-swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241056738,"owners_count":19901846,"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:29:08.460Z","updated_at":"2025-02-27T20:29:09.095Z","avatar_url":"https://github.com/sqlitecloud.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQLiteCloud Swift Package\n\n![sqlitecloud-logo](https://github.com/sqlitecloud/sqlitecloud-swift/assets/3525511/700f1817-dd77-46bc-a0a8-21fe505a9029)\n\n\nSQLiteCloud is a powerful Swift package 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 Swift 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- **Swift Native:** Written in Swift for a seamless integration experience.\n\n\n## Installation\n\nYou can install SQLiteCloud Swift Package using Swift Package Manager (SPM). Add the following dependency to your `Package.swift` file:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/sqlitecloud/swift\", from: \"0.2.1\")\n]\n```\n\n## Usage\n\n#### Using explicit configuration\n\n```\nlet configuration = SQLiteCloudConfig(host: \"myproject.sqlite.cloud\", username: \"\", password: \"\", port: .default)\nlet sqliteCloud = SQLiteCloud(configuration)\n\ndo {\n\ttry await sqliteCloud.connect()\n\tdebugPrint(\"connected\")\n} catch {\n\tdebugPrint(\"connection error: \\(error)\") // SQLiteCloudConnectionError\n}\n```\n\n#### Using string configuration\n\n```\nlet configuration = SQLiteCloudConfig(connectionString: \"sqlitecloud://user:pass@host.com:port/dbname?timeout=10\u0026key2=value2\u0026key3=value3\")\nlet sqliteCloud = SQLiteCloud(configuration)\n\ndo {\n\ttry await sqliteCloud.connect()\n\tdebugPrint(\"connected\")\n} catch {\n\tdebugPrint(\"connection error: \\(error)\") // SQLiteCloudConnectionError\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-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlitecloud%2Fsqlitecloud-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlitecloud%2Fsqlitecloud-swift/lists"}