{"id":19536111,"url":"https://github.com/wadie-ess/contributionchartview","last_synced_at":"2026-04-02T02:59:02.068Z","repository":{"id":174186414,"uuid":"651843635","full_name":"Wadie-ess/ContributionChartView","owner":"Wadie-ess","description":"SwfitUI Package for Contribution Chart View Inspired by Github and LeetCode","archived":false,"fork":false,"pushed_at":"2023-06-15T13:38:45.000Z","size":14948,"stargazers_count":29,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T18:22:27.745Z","etag":null,"topics":["contributionchart","package","package-manager","swift","swift-package-manager","swiftui","swiftui-charts","swiftui-components","swiftui-example","swiftui-framework"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wadie-ess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-06-10T09:10:14.000Z","updated_at":"2025-08-30T11:27:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"b63296a2-09bc-43f5-9487-3497f891da71","html_url":"https://github.com/Wadie-ess/ContributionChartView","commit_stats":null,"previous_names":["wadie-ess/contributionchartview"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wadie-ess/ContributionChartView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadie-ess%2FContributionChartView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadie-ess%2FContributionChartView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadie-ess%2FContributionChartView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadie-ess%2FContributionChartView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wadie-ess","download_url":"https://codeload.github.com/Wadie-ess/ContributionChartView/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadie-ess%2FContributionChartView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278271539,"owners_count":25959521,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["contributionchart","package","package-manager","swift","swift-package-manager","swiftui","swiftui-charts","swiftui-components","swiftui-example","swiftui-framework"],"created_at":"2024-11-11T02:21:05.225Z","updated_at":"2025-10-04T05:47:47.361Z","avatar_url":"https://github.com/Wadie-ess.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftUI ContributionChartView\n![cover](https://github.com/Wadie-ess/ContributionChartView/blob/main/assets/packageCover.png)\n\n\n\u003cb\u003eContribution Chart View is a SwiftUI package that provides a customizable chart view to display contributions over a period of time, similar to GitHub's contribution chart.\u003cbr\u003e\n\u003cimg align=\"right\" src=\"https://github.com/Wadie-ess/SwiftGithubChart/blob/main/assets/showCase.gif\" width=\"480\" /\u003e\n\n\u003cp\u003e\n  \u003cp\u003e\n    \u003cp\u003e\n\u003c!-- \u003ca href=\"https://exyte.com/contacts\"\u003e\u003cimg src=\"https://i.imgur.com/vGjsQPt.png\" width=\"134\" height=\"34\"\u003e\u003c/a\u003e \u003ca href=\"https://twitter.com/exyteHQ\"\u003e\u003cimg src=\"https://i.imgur.com/DngwSn1.png\" width=\"165\" height=\"34\"\u003e\u003c/a\u003e --\u003e\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fexyte%2FActivityIndicatorView%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/exyte/ActivityIndicatorView)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fexyte%2FActivityIndicatorView%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/exyte/ActivityIndicatorView)\n[![SPM Compatible](https://img.shields.io/badge/SwiftPM-Compatible-brightgreen.svg)](https://swiftpackageindex.com/exyte/ActivityIndicatorView)\n[![Cocoapods Compatible](https://img.shields.io/badge/cocoapods-Compatible-brightgreen.svg)](https://cocoapods.org/pods/ActivityIndicatorView)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License: MIT](https://img.shields.io/badge/License-MIT-black.svg)](https://opensource.org/licenses/MIT)\n\n\n\n## Features\n\n- Visualize contributions with customizable colors.\n- Adjustable number of days per row.\n- Support for total days.\n\n## Requirements\n\n- iOS 13.0+ / macOS 10.15+\n- Xcode 11.0+\n- Swift 5.0+\n\n## Installation\n- Clone the repository:\n- Open your Xcode project.\n- Drag the ContributionChartView folder from Finder into your Xcode project.\n- Ensure that the files are added to the appropriate target(s) in your project.\n      \n## Usage \n - Import the module:\n``` swift\n import GithubSwiftCharts\n```\n - Create an instance of ContributionChartView:\n ``` swift\n  let contributionData = [\n    \"2023-06-01\": 4,\n    \"2023-06-02\": 2,\n    \"2023-06-03\": 9,\n    // Add your contribution data here\n]\n\nlet daysPerRow = 23\nlet totalDays = 90\n\nlet chartView = ContributionChartView(contributionData: contributionData, daysPerRow: daysPerRow, totalDays: totalDays)\n ```\n      \n - Use chartView in your SwiftUI view hierarchy:\n ``` swift\n      \n      struct ContentView: View {\n    var body: some View {\n        VStack {\n            // Your other views\n            \n            chartView\n            \n            // Your other views\n        }\n    }\n}\n\n```\n\n### Swift Package Manager\n\nYou can use the Swift Package Manager to install ContributionChartView by adding it as a dependency in your `Package.swift` file:\n\n```swift\n.package(url: \"https://github.com/your-username/ContributionChartView.git\", from: \"1.0.0\")\n```\n \n## License\nFeel free to use or to share this package as you want!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwadie-ess%2Fcontributionchartview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwadie-ess%2Fcontributionchartview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwadie-ess%2Fcontributionchartview/lists"}