cowwa / RepoChart

Visualize repositories on Github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RepoChart

Visualize repositories on Github

What's this

This project can graphically display the history, development, and current status of a repository.
I posted the service on here: https://uahh.site/repochart

Charts introduction

I will use this project to introduce the charts of this project.

Circle Chart:

The chart reflect the importance of file in the repository.
Each circle represents the total number of commits or total modified lines of the file in the repository.

Order by total modified:

Order by number of commits:

Files Size Chart and Sunset Chart:

The chart reflect the size of file in the repository.

Files size chart:

Sunset chart:

File Type Size Pie Chart:

The chart reflect the file type size percentage of the latest commits in the repository.

Ring chart:

Pie chart:

Active Chart:

The chart reflects the activity level of the repository.

Active chart:

Commit line Chart:

The chart reflect the file type size of latest commit in the repository.

Star History Chart:

View the repository star history.
Only the first 40k stars of the project can be displayed.

Line Of Code Chart:

View the repository total lines of code.

Build locally

Environment

Windows/Mac/Linux
Only need Python3.x.

Step

  1. Clone this repo:
git clone https://github.com/Uahh/RepoChart
cd RepoChart
  1. Install dependent libraries:
pip install -r requirement.txt
  1. In order to use github api to get star history, please apply for a token for your github account.
    You can follow this link:
    Creating a personal token

  2. Copy your token and paste in "models/github/private_config.py":

token = "Your token"
  1. Start making the repo chart you want:
python repochart_cli.py -r User/Repo
  1. Start the server, Modify "192.168.31.11" to your local IP address:
python app.py --host 192.168.31.11:52173 --http
  1. Visit http://192.168.31.11:52173 to view the charts.

About

Visualize repositories on Github


Languages

Language:Vue 53.0%Language:Python 31.5%Language:HTML 10.8%Language:JavaScript 4.0%Language:CSS 0.8%