{"id":15051299,"url":"https://github.com/nextcloud/nextcloudkit","last_synced_at":"2026-04-13T09:02:00.418Z","repository":{"id":58855575,"uuid":"525841050","full_name":"nextcloud/NextcloudKit","owner":"nextcloud","description":"☎️ NextcloudKit library to build Nextcloud related Apple apps","archived":false,"fork":false,"pushed_at":"2026-02-23T16:51:50.000Z","size":14147,"stargazers_count":27,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-01T17:58:58.323Z","etag":null,"topics":["ios","macos","nextcloud","open-source"],"latest_commit_sha":null,"homepage":"https://nextcloud.github.io/NextcloudKit/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextcloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.iOS","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-17T14:57:54.000Z","updated_at":"2026-02-23T16:51:54.000Z","dependencies_parsed_at":"2024-05-05T13:43:38.025Z","dependency_job_id":"4889dcf1-d402-4a66-b480-85a6d9036445","html_url":"https://github.com/nextcloud/NextcloudKit","commit_stats":null,"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"purl":"pkg:github/nextcloud/NextcloudKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2FNextcloudKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2FNextcloudKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2FNextcloudKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2FNextcloudKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextcloud","download_url":"https://codeload.github.com/nextcloud/NextcloudKit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2FNextcloudKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"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":["ios","macos","nextcloud","open-source"],"created_at":"2024-09-24T21:33:05.955Z","updated_at":"2026-04-13T09:02:00.388Z","avatar_url":"https://github.com/nextcloud.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n  - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n  - SPDX-License-Identifier: GPL-3.0-or-later\n--\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"NextcloudKit.png\" alt=\"Logo of NextcloudKit\" width=\"256\" height=\"256\" /\u003e\n    \u003ch1\u003eNextcloudKit\u003c/h1\u003e\n    \u003cimg src=\"https://api.reuse.software/badge/github.com/nextcloud/NextcloudKit\" alt=\"REUSE status\" /\u003e\n\u003c/div\u003e\n\n## Installation\n\n### Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate **NextcloudKit** into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```\ngithub \"nextcloud/NextcloudKit\" \"main\"\n```\n\nRun `carthage update` to build the framework and drag the built `NextcloudKit.framework` into your Xcode project.\n\n### Swift Package Manager\n\n[Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. Once you have your Swift package set up, adding NextcloudKit as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/Nextcloud/NextcloudKit.git\", .upToNextMajor(from: \"2.0.0\"))\n]\n```\n\n### Manual\n\nTo add **NextcloudKit** to your app without Carthage, clone this repo and place it somewhere in your project folder. \nThen, add `NextcloudKit.xcodeproj` to your project, select your app target and add the NextcloudKit framework as an embedded binary under `General` and as a target dependency under `Build Phases`.\n\n## Testing\n\n### Unit Tests\n\nSince most functions in NextcloudKit involve a server call, you can mock the Alamofire session request. For that we use [Mocker](https://github.com/WeTransfer/Mocker).\n\n### Integration Tests\nTo run integration tests, you need a docker instance of a Nextcloud test server. [This](https://github.com/szaimen/nextcloud-easy-test) is a good start.\n\n1. In `TestConstants.swift` you must specify your instance credentials. The app token is automatically generated.\n\n```swift\npublic class TestConstants {\n    static let timeoutLong: Double = 400\n    static let server = \"http://localhost:8080\"\n    static let username = \"admin\"\n    static let password = \"admin\"\n    static let account = \"\\(username) \\(server)\"\n}\n```\n\n2. Run the integration tests. \n\n## Contribution Guidelines \u0026 License\n\n[GPLv3](LICENSE.txt) with [Apple app store exception](COPYING.iOS).\n\nNextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:\n\n```\n@copyright Copyright (c) \u003cyear\u003e, \u003cyour name\u003e (\u003cyour email address\u003e)\n```\n\nPlease read the [Code of Conduct](https://nextcloud.com/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.\n\nMore information how to contribute: [https://nextcloud.com/contribute/](https://nextcloud.com/contribute/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud%2Fnextcloudkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextcloud%2Fnextcloudkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud%2Fnextcloudkit/lists"}