gitflux

Track your GitHub projects in InfluxDB and create beautiful graphs with Grafana.

Features

Lets you track these things:

  • Yourself
    • [x] Follower counts
    • [x] Notifications
  • Repositories
    • [x] Stars
    • [x] Forks
    • [x] Watchers
    • [x] Commits
  • Issues
    • [x] State
    • [x] Assignees
    • [x] Labels
  • PRs
    • [x] State
    • [x] Assignees
    • [x] Labels

Usage

Import statistics for all your source repositories:

$ gitflux repository
Finding user's source repos...
Found 83 repos
Parsing muesli/gitflux
    Finding PRs for repo...
    Found 38 PRs!
    Finding issues for repo...
    Found 39 issues!
Parsing muesli/duf
...

Import statistics for a specific repository:

$ gitflux repository muesli/gitflux
Parsing muesli/gitflux
    Finding PRs for repo...
    Found 38 PRs!
    Finding issues for repo...
    Found 39 issues!

Import relationship statistics:

$ gitflux relationships
Finding relationships for user...
Found 1109 followers

Import notification statistics:

$ gitflux notifications
Finding notifications for user...
Found 14 unread notifications

Flags

--influx string          InfluxDB address (default "http://localhost:8086")
--influx-bucket string   InfluxDB bucket (default "github")
--influx-token string    InfluxDB auth token

Screenshots

Graphs about you

user_followers

user_notifications

Graphs about all your source repos

repo_stars

repo_forks

repo_watchers

repo_commits

repo_issues

repo_prs

Graphs about individual projects

project_stars

project_forks

project_watchers

project_commits

project_issues

project_issues_labels

project_issues_labels_bars

project_prs

project_prs_labels

project_prs_labels_bars

TODOs

  • Add a docker-compose.yml with the following services:
    • InfluxDB
    • Grafana
    • gitflux
  • More graphs?

GitHub