{"id":17816655,"url":"https://github.com/pantharshit00/recontrib","last_synced_at":"2025-10-26T14:34:56.839Z","repository":{"id":57150055,"uuid":"187247785","full_name":"pantharshit00/recontrib","owner":"pantharshit00","description":"React Component that implements GitHub's commit chart.","archived":false,"fork":false,"pushed_at":"2020-08-20T11:05:17.000Z","size":4487,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-12T22:50:22.209Z","etag":null,"topics":["chart","github","graph","react"],"latest_commit_sha":null,"homepage":"https://pantharshit00.github.io/recontrib","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pantharshit00.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}},"created_at":"2019-05-17T16:19:44.000Z","updated_at":"2024-03-12T20:19:04.000Z","dependencies_parsed_at":"2022-09-03T18:01:20.114Z","dependency_job_id":null,"html_url":"https://github.com/pantharshit00/recontrib","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantharshit00%2Frecontrib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantharshit00%2Frecontrib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantharshit00%2Frecontrib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantharshit00%2Frecontrib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pantharshit00","download_url":"https://codeload.github.com/pantharshit00/recontrib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221705518,"owners_count":16866981,"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":["chart","github","graph","react"],"created_at":"2024-10-27T16:38:51.287Z","updated_at":"2025-10-26T14:34:56.725Z","avatar_url":"https://github.com/pantharshit00.png","language":"TypeScript","readme":"# Recontrib\n\nReact Component that implements GiHub's commit graph UI. https://pantharshit00.github.io/recontrib\n\n![image](https://user-images.githubusercontent.com/22195362/57941632-17990f80-78ed-11e9-86b3-939f7ac1209b.png)\n\n## Usage\n\n1. Add the Reach UI tooltip CSS\n\n```js\nimport '@reach/tooltip/style.css';\n```\n\n2. Use the component and pass the data\n\n```js\nconst App = () =\u003e {\n  return (\n    \u003cdiv\u003e\n      \u003cRecontrib data={data} /\u003e\n    \u003c/div\u003e\n  );\n};\n```\n\nData is structured as following. You can directly pass the data from the GitHub API(https://api.github.com/repos/:owner/:repo/stats/commit_activity):\n\n```ts\ninterface WeekData {\n  days: number[]; // commits in individual days in the week\n  total: number; // total number commits in the week\n  week: number; // Timestamp in seconds of the seconds of the starting of the week\n}\n```\n\n## Props\n\n```ts\ninterface Props {\n  data: Array\u003cWeekData\u003e; // data\n  gridSize?: number; // size of the tile\n  fontSize?: string; // fontSize of months and weekdays\n}\n```\n\n---\n\nMIT️ ©️ [Harshit Pant](https://twitter.com/pantharshit00) 2019\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpantharshit00%2Frecontrib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpantharshit00%2Frecontrib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpantharshit00%2Frecontrib/lists"}