{"id":17691149,"url":"https://github.com/zunda-pixel/licenseprovider","last_synced_at":"2025-05-07T22:29:02.701Z","repository":{"id":65269438,"uuid":"587639313","full_name":"zunda-pixel/LicenseProvider","owner":"zunda-pixel","description":"Generate License List that Project depends on.","archived":false,"fork":false,"pushed_at":"2025-04-09T16:11:47.000Z","size":41,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T16:51:22.511Z","etag":null,"topics":["swift","swiftpackagemanager","swiftui"],"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/zunda-pixel.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":"2023-01-11T08:23:08.000Z","updated_at":"2025-04-09T16:07:46.000Z","dependencies_parsed_at":"2024-08-12T13:07:49.393Z","dependency_job_id":"2ca20bd7-67ac-4c8a-9018-094f662365ca","html_url":"https://github.com/zunda-pixel/LicenseProvider","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":0.4545454545454546,"last_synced_commit":"1cd6220aeaaf8d88fb7ed95195dd4036ec503455"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FLicenseProvider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FLicenseProvider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FLicenseProvider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FLicenseProvider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zunda-pixel","download_url":"https://codeload.github.com/zunda-pixel/LicenseProvider/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252964347,"owners_count":21832669,"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":["swift","swiftpackagemanager","swiftui"],"created_at":"2024-10-24T12:07:37.873Z","updated_at":"2025-05-07T22:29:02.668Z","avatar_url":"https://github.com/zunda-pixel.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LicenseProvider\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2FLicenseProvider%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/zunda-pixel/LicenseProvider)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2FLicenseProvider%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/zunda-pixel/LicenseProvider)\n\nGenerate License List that Project depends on.\n\n\u003cdiv\u003e\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/47569369/211776957-57ecef9a-bdff-4ee4-af47-da39c890541a.png\" /\u003e\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/47569369/211777591-2f2efc08-2438-40b4-aca7-47b06b6ed617.png\" /\u003e\n\u003c/div\u003e\n\n```swift\n// Package.swift\nlet package = Package(\n  name: \"SampleApp\",\n  products: [\n    .library(\n      name: \"SampleApp\",\n      targets: [\"SampleApp\"]\n    )\n  ],\n  dependencies: [\n    .package(url: \"https://github.com/zunda-pixel/LicenseProvider\", from: \"1.4.0\"),\n  ],\n  targets: [\n    .target(\n      name: \"SampleApp\",\n      plugins: [\n        .plugin(name: \"LicenseProviderPlugin\", package: \"LicenseProvider\"),\n      ]\n    )\n  ]\n)\n```\n\n```swift\nimport SwiftUI\n\nstruct LicenseView: View {\n  var body: some View {\n    NavigationStack {\n      List {\n        ForEach(LicenseProvider.packages) { package in\n          NavigationLink(package.name) {\n            VStack {\n              if case .remoteSourceControl(let location) = package.kind {\n                Link(\"URL\", destination: location)\n              }\n              Text(package.license)\n            }\n            .navigationTitle(package.name)\n          }\n        }\n      }\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2Flicenseprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzunda-pixel%2Flicenseprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2Flicenseprovider/lists"}