Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

.DS_Store
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
RESOURCEDIR=$(PREFIX)/share/gitstats
RESOURCES=gitstats.css sortable.js *.gif
RESOURCES=gitstats.css sortable.js *.gif tailwind.json html.py
BINARIES=gitstats
VERSION=$(shell git describe 2>/dev/null || git rev-parse --short HEAD 2>/dev/null || date +%Y-%m-%d)
SEDVERSION=perl -pi -e 's/VERSION = 0/VERSION = "$(VERSION)"/' --
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Gitstats - meaningful data for your git repository.

## How to run
1. Clone this repo and `cd` into it
2. Create a output directory for your output
3. `./gitstats [path_to_git_repo] [path_to_output_folder]`
4. Open the `index.html` within your `ouptut_folder`

## Dependencies

* Gnuplot
* MacOS: `brew install gnuplot`
* Ubuntu: `sudo apt-get install gnuplot`
* Git
* Python >= 3.0
97 changes: 97 additions & 0 deletions chart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"series": [
{
"data": []
}
],
"colors": ["#3C50E0"],
"chart": {
"fontFamily": "Satoshi, sans-serif",
"type": "bar",
"height": 350,
"toolbar": {
"show": false
}
},
"plotOptions": {
"bar": {
"horizontal": false,
"columnWidth": "55%",
"endingShape": "rounded",
"borderRadius": 2
},
"heatmap": {
"enableShades": false
}
},
"dataLabels": {
"enabled": false
},
"stroke": {
"show": true,
"width": 4,
"colors": ["transparent"]
},
"xaxis": {
"categories": [],
"floating": false,
"labels": {
"show": true,
"style": {
"fontFamily": "Inter, sans-serif",
"cssClass": "text-xs font-normal !fill-body dark:!fill-bodydark"
}
},
"axisBorder": {
"show": false
},
"axisTicks": {
"show": false
}
},
"legend": {
"show": true,
"position": "top",
"horizontalAlign": "left",
"fontFamily": "Satoshi",
"markers": {
"radius": 99
}
},
"yaxis": {
"title": false,
"labels": {
"show": true,
"style": {
"fontFamily": "Inter, sans-serif",
"cssClass": "text-xs font-normal !fill-body dark:!fill-bodydark"
}
}
},
"grid": {
"show": false,
"strokeDashArray": 4,
"padding": {
"left": 2,
"right": 2,
"top": -14
},
"yaxis": {
"lines": {
"show": false
}
}
},
"fill": {
"opacity": 1
},

"tooltip": {
"shared": true,
"intersect": false,
"x": {
"show": false
},
"y": {}
}
}
Loading