vue-github

vue your github activity and calendar
1,755 2
Install
npm install vue-github
Latest Version:0.12.0
Vue:2
License:MIT
Last Updated:Jan 26, 2023
Links: GitHub  ·  npm
Maintainer: harps116

vue-github

vue your github activity and calendar

Build License

NPM

Demo

Installation

NPM

npm i vue-github

Yarn

yarn add vue-github

Dependencies

Insert an octicons.css file in your html file to load the icons.

<link
  rel="stylesheet"
  href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css"
/>

Usage

Register the component globally in your main javascript file.

import Vue from "vue";
import VueGithub from "vue-github";

Vue.use(VueGithub);

Check out the main.js in the demo repo.

import the style into your main vue file (most likely App.vue) if you want the default css.

<style>
  @import url("https://unpkg.com/vue-github@0.10.7/dist/vueGithub.css");
</style>

In your template you can now use html like this to render the activity feed:

<vue-github username="harps116" />

Props:

name type default description
username String required Github username
text String Summary of pull requests, issues opened, and commits made by {username} Summary text
showCalendar Boolean true Whether to show the calendar
showFeed Boolean true Whether to show the activity feed

Issues

File issues here

License

This project is licensed under MIT License - see the LICENSE file for details

Inspired by these great open source projects:

https://github.com/IonicaBizau/github-calendar

https://github.com/lexmartinez/vue-github-activity

Related Packages

@enso-ui/calendar

Calendar page modules and event-management components for Enso UI.

8,197 0
vue-mobile-calendar

a vue component of calendar for mobile Vue移动端日期选择控件

5,490 210
vue2-event-calendar

A vue2 calendar component, have week and month two mode, custom render event

5,382 74
ele-calendar

A Vue.js calendar

3,361
cs-calendar

A Vue.js project

362

Version History

Version Released Vue License
0.12.0 ^2.6.10 MIT
0.11.3 ^2.6.10 MIT
0.11.2 ^2.6.10 MIT
0.11.1 ^2.6.10 MIT
0.10.15 ^2.6.10 MIT