Skip to content
A terminal dashboard with stats from Google Analytics, GitHub, Travis CI, and Jenkins. Very much built specific to me.
Go Makefile Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
googleanalytics cleanup Jul 14, 2018
jenkins fix displayName Mar 28, 2018
vendor update vendor Sep 25, 2018
version init commit Mar 26, 2018
.gitignore
.goosarch update generated files Jul 16, 2018
.travis.yml update travis May 25, 2019
.traviskey update generated files Jul 16, 2018
Dockerfile toc Dec 29, 2018
LICENSE
Makefile update makefile Sep 25, 2018
README.md Update ToC for README.md Dec 29, 2018
VERSION.txt
basic.mk toc Dec 29, 2018
ga.go
go.mod
go.sum
jenkins.go
main.go new cli pkg Jul 16, 2018
main_unix.go initial working report Mar 26, 2018
main_windows.go initial working report Mar 26, 2018
term.png
travis.go

README.md

tdash

Travis CI GoDoc Github All Releases

A terminal dashboard with stats from Google Analytics, GitHub, Travis CI, and Jenkins. Very much built specific to me.

term.png

Table of Contents

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/jessfraz/tdash

Running with Docker

$ docker run --rm -it \
    --name tdash \
    --volume /home/user/.tdash:/root/.tdash:ro \ # for the  Google Analytics key file
    r.j3ss.co/tdash

Usage

$ tdash -h
tdash -  A terminal dashboard with stats from Google Analytics, GitHub, Travis CI, and Jenkins.

Usage: tdash <command>

Flags:

  --travis-owner      Travis owner name for builds (can have more than one) (default: [])
  -d                  enable debug logging (default: false)
  --ga-viewid         Google Analytics view IDs (can have more than one) (default: [])
  --interval          update interval (ex. 5ms, 10s, 1m, 3h) (default: 2m0s)
  --jenkins-password  Jenkins password for authentication (or env var JENKINS_PASSWORD)
  --jenkins-uri       Jenkins base URI (or env var JENKINS_BASE_URI)
  --jenkins-username  Jenkins username for authentication (or env var JENKINS_USERNAME)
  --all               Show all builds even successful ones, defaults to only showing failures (default: false)
  --ga-keyfile        Path to Google Analytics keyfile (default: ~/.tdash/ga.json)
  --travis-token      Travis CI API token (or env var TRAVISCI_API_TOKEN)

Commands:

  version  Show the version information.

Setup

Google Analytics

  1. Enable the API: To get started using Analytics Reporting API v4, you need to first create a project in the Google API Console, enable the API, and create credentials.

    Follow the instructions for step enabling the API here.

  2. Add the new service account to the Google Analytics account with Read & Analyze permission.

    The newly created service account will have an email address that looks similar to: quickstart@PROJECT-ID.iam.gserviceaccount.com.

    Use this email address to add a user to the Google Analytics view you want to access via the API.

Travis

  1. Get your Travis token: Go to the "Profile" tab on your Accounts page
You can’t perform that action at this time.