Giter Club home page Giter Club logo

github-traffic-charts's Introduction

GitHub traffic charts

badge badge License

GitHub publishes project view and clone metrics only for the owner and with 14 days of history.

This daemon collect metrics for multiple users/orgs/projects and generates HTML charts every day.

It requires a GitHub "Personal access token" with "repo" scope.

System-wide installation

Install nim on Debian/Ubuntu with:

sudo apt install nim

Build and install the package with:

nimble build_deb
sudo dpkg -i ../github-traffic-charts_*.deb

Configure /etc/github_traffic_charts.conf.json and restart the daemon

Find outputs in /var/lib/github_traffic_charts/output/

Monitor with:

sudo journalctl -f -u github-traffic-charts

Local run

Build a binary with:

nimble build

Configure ./github_traffic_charts.conf.json

Run:

./github-traffic-charts

Configuration

If the user:…​ or org:…​ blocks are left empty, the daemon will scan all existing projects.

Example:

{
  "format-version": 1,
  "charted-days": 14,
  "charted-weeks": 4,
  "max-repos-per-chart": 12,
  "token": "REPLACEME",
  "repos": {
    "user:REPLACEME": [
    ],
    "user:REPLACEME": [
    ],
    "org:REPLACEME": [
    ],
  }
}

github-traffic-charts's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.