A responsive and customizable Github heatmap calendar.

Overview

vue-github-calendar

A responsive and customizable Github heatmap calendar for Vue.js

Usage

Install

npm install vue-github-calendar

Import the component

import { GithubCalendar } from "vue-github-calendar";

Use the component in your Vue project

  <GithubCalendar
    :user="username"
    :months="months"
    :rangeColors=['#ebedf0', '#dae2ef', '#c0ddf9', '#73b3f3', '#3886e1', '#17459e']/>

Props

username

type: String The Github username you want to show latest activity.

months?

type: Number The number of months from now you want to display. By default, you'll have the 12 past months.

rangeColors?

type: Array The colors used to display the amount of activity on a given day. Use this to accord the calendar with your website visual identity. By default, the original colors from githug will be used

Github token

You'll need to set an environment variable named VUE_APP_GH_TOKEN to be able to retrieve the data. Use a .env.local file to store it or add it directly in your system's environment variables.

Follow (this)[https://developer.github.com/v4/guides/forming-calls/#authenticating-with-graphql] to get your token.

Incoming features

  • Color range legend
  • Display the week days on the left
  • Display the months above the calendar
  • Add tooltips (X contributions on DD-MM-YYYY)
  • Allow to get a specific period (from, to)
You might also like...
A simple events calendar for Vue2, no dependencies except Vue2.

vue-event-calendar A simple events calendar for Vue2, no dependencies except Vue2. responsive & mobile first. Live Demo Here 中文文档 Requirements vue: ^2

Calendar component
Calendar component

vue-calendar-picker Calendar component vue-calendar-picker demo on jsfiddle Example - basic template calendar/calendar /template script

A vue component for lunar calendar.

vue-lunar-calendar A vue component for lunar calendar. Uses Moment.js for date operations. This is the Korean lunar calendar. It is different from Chi

Simple Vue component to show a month-grid calendar with events

VueSimpleCalendar Introduction vue-simple-calendar is a flexible, themeable, lightweight calendar component for Vue that supports multi-day scheduled

A lightweight calendar component for Vue2

vue2-calendar Check out the demo here on Code Sandbox: Introduction This is a simple and small event calendar component for Vue js. It is very lightwe

A simple infinite calendar component in Vue 2
A simple infinite calendar component in Vue 2

vue-infinite-calendar A simple infinite calendar component in Vue 2 Build Setup # install dependencies npm install # serve with hot reload at localho

A calendar component for Vue.js

calendar Chinese This is a calendar component based on vue.js . support custom content. No dependencies. Currently, It only supports month view. You c

vue 2.x  calendar component
vue 2.x calendar component

vue2-calendar vue 2 calendar, datepicker component which supported lunar or date event Live Demo This project is not only a vue component, but also

A full event display calendar for the Quasar framework that has multiple viewing formats.
A full event display calendar for the Quasar framework that has multiple viewing formats.

Daykeep Calendar An event display calendar for the Quasar framework. Formerly known as Quasar Calendar, Daykeep Calendar for Quasar is a Quasar-flavor

Owner
Antoine Carat
Passionate web developer. Graduated with a master's degree in Nantes, France. Living in Dublin, Ireland.
Antoine Carat
Simple-calendar-app - Simple Vue calendar (date-picker)

Simple vue calendar (date-picker) Vue Moment.js Installation git clone npm i npm

Dmitry Chinenov 3 Oct 31, 2022
Full featured, responsive, lightweight calendar in the browser.

Full featured, responsive, lightweight calendar in the browser.

Altin Selimi 242 Dec 18, 2022
An elegant calendar and datepicker plugin for Vue.

An elegant calendar and datepicker plugin for Vuejs. npm i --save v-calendar Documentation For full documentation, visit vcalendar.io. Attributes High

Nathan Reyes 3.7k Dec 31, 2022
Full calendar base on Vue2 and momentjs.

Vue2 Calendar Component Full calendar base on Vue2 and dayjs. Support month and week view. Custom date item style with scopeSlots. 中文文档 ?? Live demo I

Kit 75 Nov 11, 2022
Simple and clean calendar written in Vue.js

Vuelendar Simple and clean calendar written in Vue.js. Check out full Vuelendar's documentation here. Features Select single date Select range of date

The Codest 76 Oct 5, 2022
📅 A feature-rich calendar component, support multiple modes and gesture sliding. For vue 3.0+

?? A calendar component for vue3.0. Support gesture sliding, range selection, according to the week switch...

飞翔的荷兰人 434 Jan 3, 2023
A simple and sweet vue.js calendar

vue-sweet-calendar A simple and sweet vue.js calendar Features Showing Multiple-Events Fully customizable How to install npm install vue-sweet-calenda

Mahdi Aryayi 35 Oct 5, 2022
A simple vue calendar component. Base for further development and styling.

vue-simple-calendar A simple vue calendar component with minimal css. A base for further development/styling. DEMO Dependencies date-fns, lodash-es In

Roman Ranniew 6 Jun 15, 2022
Localized, accessible calendar and datepicker for Vue with no external dependencies

Calendar Localized, accessible calendar and datepicker for Vue with no external dependencies. Installation $ npm install vue-a11y-calendar Pe

Rohan C 0 Feb 11, 2021
vue calendar fullCalendar. no jquery required. Schedule events management

##vue-fullcalendar Works for Vue2 now. This is a fullCalendar component based on vue.js . No Jquery or fullCalendar.js required. Currently, It only su

Sunny Wang 1.5k Dec 18, 2022