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.
- Home/Organization Tab: Displays Copilot usage data for the organization.
- 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)
- Sample Response Tab: Provides a sample API response schema for reference.
- Org Seats Tab: Shows seat assignment details for the organization.
- Enterprise Tab: Planned feature to capture Copilot usage at the enterprise level. (Pending implementation)
- Clone the Repository to Visual Studio Code
- Install the required dependencies using
npm install
- Run the app using
npm start
- 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:
- Create a GitHub Personal Access Token with Copilot for Business Scope
- Modify the token in
src/environments/environment.ts
file - Modify the organization name in
src/environments/environment.ts
file - Comment the sample data loading code in
src/app/services/organization-level.service.ts
file and uncomment the code to load data from API - Install the required dependencies using
npm install
- Run the app using
npm start
- GitHub Copilot Usage Metrics API - Yet to be published (Private Beta)
- GitHub Copilot Seat Management API