Skip to content

dxworks/github-miner-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Miner

GitHub Miner is a tool designed to scrape and analyze GitHub data to provide insightful statistics and information about repository metadata, pull requests, issues andf team collaboration. Here's a quick overview of how to set up and use the tool. This project was generated using the dxworks-template-node-ts repository template.

Table of Contents

  1. Description
  2. Features
  3. Prerequisites
  4. Installation
  5. Usage
  6. Contributing
  7. License

Description

GitHub Miner is designed to help data scientists, researchers, or curious minds to fetch, analyze, and design visualizations about GitHub data. It uses the GitHub GraphQL API to get relevant information and provides a suite of functions to analyze the data and derive different statistics.

Features

  • Repository Analysis
  • Issue Analysis
  • Pull Request Analysis

Prerequisites

Before you begin, ensure you have met the following requirements:

Installation

To install GitHub Miner, follow these steps:

  1. Clone the repository

  2. Install the requirements for the Node.js project.

cd github-miner-2/github-miner
npm install

Usage

To use GitHub Miner, follow these steps:

  1. Generate a GitHub personal access token.

  2. Complete the necessary information in the configuration file. In order to specify the targeted repository for data extraction, provide its name and owner.

  3. Start the data extraction proccess by running in the terminal:

npm run start
  1. After the data extraction process is completed, a new folder named exports is created, containing three files: issues.json, pullRequests.json and repositoryInfo.json. Move or copy these files to the GithubAnalyzer folder.

  2. Start the data analysis process by running in the terminal:

cd ../GithubAnalyzer
dotnet run ./GithubAnalyzer.csproj
  1. The final result file is created in the GithubAnalyzer folder, in JSON and CSV formats.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache-2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published