Skip to content

vishalsavsani/github-copilot-usage-dashboard

 
 

Repository files navigation

Copilot Usage Dashboard

This Angular application is designed to provide insights into GitHub Copilot usage within an organization. It utilizes the Copilot Usage Metrics API (private Beta) and Copilot Seat Management API to fetch and display relevant data.

Features

  1. Home/Organization Tab: Displays Copilot usage data for the organization.
  2. Impact Tab: Planned feature to showcase GitHub-specific metrics indicating the impact of Copilot, such as lines of code committed per day, overall issue counts, etc. (Pending implementation)
  3. Sample Response Tab: Provides a sample API response schema for reference.
  4. Org Seats Tab: Shows seat assignment details for the organization.
  5. Enterprise Tab: Planned feature to capture Copilot usage at the enterprise level. (Pending implementation)

Getting Started

  1. Clone the Repository to Visual Studio Code
  2. Install the required dependencies using npm install
  3. Run the app using npm start
  4. Access the application in your browser at http://localhost:4200.

Above steps will start the app on localhost:4200 using sample data from src/assets folder.

If you want to use your own data, follow the below steps:

  1. Create a GitHub Personal Access Token with Copilot for Business Scope
  2. Modify the token in src/environments/environment.ts file
  3. Modify the organization name in src/environments/environment.ts file
  4. Comment the sample data loading code in src/app/services/organization-level.service.ts file and uncomment the code to load data from API
  5. Install the required dependencies using npm install
  6. Run the app using npm start

References

  1. GitHub Copilot Usage Metrics API - Yet to be published (Private Beta)
  2. GitHub Copilot Seat Management API

Status: 15-Jan

Copilot.Usage.Dashboard.-.15.Jan.mp4

About

App to demonstrate the usage of Copilot Usage API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.8%
  • HTML 16.2%
  • SCSS 4.9%
  • JavaScript 3.1%