An open API service indexing awesome lists of open source software.

https://github.com/kylekarpack/react-github-graph

A lightweight React component to display a graph of Github contributions
https://github.com/kylekarpack/react-github-graph

component contributions github react reactjs

Last synced: about 2 months ago
JSON representation

A lightweight React component to display a graph of Github contributions

Awesome Lists containing this project

README

          

# react-github-graph

![React Github Graph Sample](https://raw.githubusercontent.com/kylekarpack/react-github-graph/main/demo.png "Example usage")

## Purpose

React Github Graph is a lightweight React component that displays Github contributions for a given user.

## Installation
```
npm install react-github-graph
```

or

```
yarn add react-github-graph
```

## Usage

```jsx
import React from "react";
import { GithubContributions } from "react-github-graph"

export default function App() {
return (

);
}
```

## Notes
Currently depends on the following resources:
- https://cors.kylekarpack.workers.dev
- https://github.com

If one of these resources is unavailable, the component will not be able to load and will hide itself