Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

lannonbr/vscode-github-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE

This site is considered deprecated and no longer collecting data on the VS Code github repo. See the following blogpost for info: VSCode Issue Tracker Post Mortem

VS Code GitHub Stats

A website that tracks the last two weeks of statistics about the VS Code repo.

Site

The site is a Gatsby site at it's core. It uses a JSON file generated by a GitHub Action as the data source and then passes said data into a variety of charts using the Recharts chart library.

The inner workings of the site is powered by gatsby-theme-github-stats.

To work with the site locally in a development mode:

  1. Clone down the repo: git clone https://github.com/lannonbr/vscode-github-stats/
  2. Install the dependencies: yarn install
  3. Run Gatsby in development mode: yarn develop

Actions

There are two actions that continually update the site. They are both found in the .github/actions/ directory of this repository.

Github Poller

First off is an action that queries the GitHub V4 GraphQL API for various stats like the number of open / closed issues, PRs, etc. and then sends the stats to a NoSQL database on Google's Firebase platform.

Stats Loader

The other action then queries the Firebase database to grab the last 336 entries which equates to the last 2 weeks of data. It then prints it out to a data.json file in the src/data/ directory and then commits it to the repository. This triggers a deploy to rebuild the site.

About

Stats Dashboard for the VS Code GitHub repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published