{"id":20684081,"url":"https://github.com/silkodenis/swift-combine-camera","last_synced_at":"2026-04-17T20:32:33.477Z","repository":{"id":242142418,"uuid":"805101013","full_name":"silkodenis/swift-combine-camera","owner":"silkodenis","description":"A Swift package for integrating video capturing in iOS applications, built using Combine and AVFoundation in a declarative style.","archived":false,"fork":false,"pushed_at":"2025-06-02T20:02:07.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T09:44:33.143Z","etag":null,"topics":["avfoundation","camera","camera-access","combine","declarative","ios","swift-package","video","video-capture"],"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/silkodenis.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-05-23T22:14:45.000Z","updated_at":"2025-06-02T20:02:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"737ed5ca-68d9-4ef0-ba58-67a4b188bc97","html_url":"https://github.com/silkodenis/swift-combine-camera","commit_stats":null,"previous_names":["silkodenis/swift-combine-camera"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/silkodenis/swift-combine-camera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silkodenis%2Fswift-combine-camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silkodenis%2Fswift-combine-camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silkodenis%2Fswift-combine-camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silkodenis%2Fswift-combine-camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silkodenis","download_url":"https://codeload.github.com/silkodenis/swift-combine-camera/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silkodenis%2Fswift-combine-camera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31945047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"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":["avfoundation","camera","camera-access","combine","declarative","ios","swift-package","video","video-capture"],"created_at":"2024-11-16T22:19:02.942Z","updated_at":"2026-04-17T20:32:33.459Z","avatar_url":"https://github.com/silkodenis.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/github/license/silkodenis/swift-combine-camera.svg)](https://github.com/silkodenis/swift-combine-camera/blob/main/LICENSE)\n![swift](https://github.com/silkodenis/swift-combine-camera/actions/workflows/swift.yml/badge.svg?branch=main)\n\n# Combine Camera\n\nCombine Camera is a Swift package for integrating video capturing in iOS applications, built using Combine and AVFoundation in a declarative style, well-suited for UDF (Unidirectional Data Flow) architectures.\n\n## Features\n\n- Declarative programming style with Combine\n- Simple and intuitive video capturing setup\n- Support for switching cameras\n- Requesting camera access and managing access status\n- Real-time pixel buffer processing\n\n### Requirements\n\n- **iOS 14**+\n- **Xcode 12**+\n- **Swift 5.3**+\n\n### Using Swift Package Manager from Xcode\nTo add CombineCamera to your project in Xcode:\n1. Open your project in Xcode.\n2. Navigate to `File` → `Swift Packages` → `Add Package Dependency...`.\n3. Paste the repository URL: `https://github.com/silkodenis/swift-combine-camera.git`.\n4. Choose the version you want to use (you can specify a version, a commit, or a branch).\n5. Click `Next` and Xcode will download the package and add it to your project.\n\n### Using Swift Package Manager from the Command Line\n\nIf you are managing your Swift packages manually or through a package.swift file, add CombineCamera as a dependency:\n\n1. Open your `Package.swift`.\n2. Add `CombineCamera` to your package's dependencies:\n\n```swift\nlet package = Package(\n    name: \"YourProjectName\",\n    dependencies: [\n        .package(url: \"https://github.com/silkodenis/swift-combine-camera.git\", .upToNextMajor(from: \"1.0.0\"))\n    ],\n    targets: [\n        .target(\n            name: \"YourTargetName\",\n            dependencies: [\"CombineCamera\"]\n        )\n    ]\n)\n```\n\nThis setup specifies that CombineCamera should be pulled from the master branch and included in the YourTargetName target of your project.\n\n## Demo Application\n\nTo see a working example of how to use the CombineCamera package, check out the CombineCamera [Demo App](https://github.com/silkodenis/combine-camera-demo-app) repository. This demo application demonstrates how to integrate CombineCamera in an iOS project with a UDF (Unidirectional Data Flow) architecture using Combine.\n\n## Contributing\n\nContributions are welcome! Feel free to open issues or submit pull requests.\n\n## License\nThis project is licensed under the [Apache License, Version 2.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilkodenis%2Fswift-combine-camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilkodenis%2Fswift-combine-camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilkodenis%2Fswift-combine-camera/lists"}