This project can graphically display the history, development, and current status of a repository.
I posted the service on here: https://uahh.site/repochart
I will use this project to introduce the charts of this project.
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:
The chart reflect the size of file in the repository.
Files size chart:
Sunset chart:
The chart reflect the file type size percentage of the latest commits in the repository.
Ring chart:
Pie chart:
The chart reflects the activity level of the repository.
Active chart:
The chart reflect the file type size of latest commit in the repository.
View the repository star history.
Only the first 40k stars of the project can be displayed.
View the repository total lines of code.
Windows/Mac/Linux
Only need Python3.x.
- Clone this repo:
git clone https://github.com/Uahh/RepoChart
cd RepoChart
- Install dependent libraries:
pip install -r requirement.txt
-
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 -
Copy your token and paste in "models/github/private_config.py":
token = "Your token"
- Start making the repo chart you want:
python repochart_cli.py -r User/Repo
- Start the server, Modify "192.168.31.11" to your local IP address:
python app.py --host 192.168.31.11:52173 --http
- Visit http://192.168.31.11:52173 to view the charts.