GitHub language stats Vue component
A near perfect replica of the GitHub language stats graph built for Vue. Pulls code data right from your repository so it is always up to date.
Great for
- portfolio sites
- project wikis
- and more
- Install the GitHub app so Linguistical can access your data
- Install the Linguistical library to your Vue project:
npm i linguistical
- Import and implement the component anywhere in your project (don't forget the CSS!). Make sure to pass it your username and the repository name that you want to pull stats from:
<script>
import Linguistical from 'linguistical'
import('linguistical/dist/style.css')
</script>
<template>
<Linguistical user="username" repo="reponame" />
</template>
Currently Linguistical supports two themes: light
and dark
. light
is default. The styling is copied from GitHub's light and dark themes.
Theming is controlled with the theme
prop:
<Linguistical theme="dark" user="username" repo="reponame" />
To run the demo app:
npm install
npm run dev
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).