{"id":35655007,"url":"https://github.com/mongorpc/mongorpc-swift","last_synced_at":"2026-01-18T11:27:05.875Z","repository":{"id":332410936,"uuid":"422080885","full_name":"mongorpc/mongorpc-swift","owner":"mongorpc","description":"mongorpc client for swift","archived":false,"fork":false,"pushed_at":"2026-01-05T13:09:37.000Z","size":170,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T19:51:25.681Z","etag":null,"topics":["database","grpc","mongodb","mongorpc","mongorpc-client","swift","sync"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongorpc.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-28T05:50:48.000Z","updated_at":"2026-01-05T13:09:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mongorpc/mongorpc-swift","commit_stats":null,"previous_names":["mongorpc/mongorpc-swift"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mongorpc/mongorpc-swift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongorpc%2Fmongorpc-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongorpc%2Fmongorpc-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongorpc%2Fmongorpc-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongorpc%2Fmongorpc-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongorpc","download_url":"https://codeload.github.com/mongorpc/mongorpc-swift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongorpc%2Fmongorpc-swift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["database","grpc","mongodb","mongorpc","mongorpc-client","swift","sync"],"created_at":"2026-01-05T15:14:03.469Z","updated_at":"2026-01-18T11:27:05.868Z","avatar_url":"https://github.com/mongorpc.png","language":"Swift","readme":"# mongo-rpc-swift\n\nSwift client for MongoRPC - a gRPC proxy for MongoDB.\n\n## Installation\n\nAdd dependencies to your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/mongorpc/mongorpc-swift.git\", branch: \"main\")\n],\ntargets: [\n    .target(\n        name: \"MyTarget\",\n        dependencies: [\n            .product(name: \"MongoRPC\", package: \"mongorpc-swift\"),\n        ]\n    )\n]\n```\n\n## Quick Start\n\n```swift\nimport MongoRPC\n\n// Connect\nlet client = MongoRPC(host: \"localhost\", port: 50051)\nlet users = client.database(\"mydb\").collection(\"users\")\n\n// Insert\nlet id = try await users.insertOne([\"name\": \"Alice\", \"age\": 30])\n\n// Find by ID\nif let doc = try await users.findById(id!) {\n    print(doc)\n}\n\n// Find with filter\nlet results = try await users.find([\"age\": [\"$gte\": 21]])\n\n// Update\ntry await users.updateById(id!, update: [\"$set\": [\"verified\": true]])\n\n// Delete\ntry await users.deleteById(id!)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongorpc%2Fmongorpc-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongorpc%2Fmongorpc-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongorpc%2Fmongorpc-swift/lists"}