Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/grubersjoe/react-github-calendar

A React component to display a GitHub contributions calendar
https://github.com/grubersjoe/react-github-calendar

contribution-graph github react

Last synced: 2 days ago
JSON representation

A React component to display a GitHub contributions calendar

Awesome Lists containing this project

README

        

# React GitHub Calendar

[![CI](https://github.com/grubersjoe/react-github-calendar/actions/workflows/test.yml/badge.svg)](https://github.com/grubersjoe/react-github-calendar/actions/workflows/test.yml)

A React component to display a GitHub contributions graph based on
[`react-activity-calendar`](https://github.com/grubersjoe/react-activity-calendar)
and
[`github-contributions-api`](https://github.com/grubersjoe/github-contributions-api).

![Screenshot](preview.png?v3)

[Demo and documentation](https://grubersjoe.github.io/react-github-calendar/)

## Installation

```shell
pnpm install react-github-calendar
```

## Development

Start watch mode for the library first:

```shell
pnpm install
pnpm dev
```

Then start watch mode of example page:

```shell
cd example
pnpm install
pnpm dev
```

Open http://localhost:3000.

## Publish a new release

```shell
npm publish --dry-run

# When you're happy
npm publish --access=public
```

### Update demo page

```shell
pnpm run deploy
```