v0.2.0
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAlq5ctsACgkQGPNoXAAi
v/MP2hAAk/9CldKWLIjkj9FUY9La0TxkIrFDl7heCR0oazedV8vtODfvgPQlTB7f
IxL6jERk23RLKVhe3466H+CwbpqqSXEt0FABDuPf/zD8ZBsnb6UsUxzcgpwf6hSd
QloWgVbA/TPpPErCG1zQnpIoPcb9f+hakeh7ky1Q6k801DLaUVqTquoBiJptdWxJ
mylQ+dP9kmO9jAUidU7O7bp4FU40CUiPmnqvdYEGAVj4bSTdHegYhCBaKmo2eTzF
s3oRQyk3kFXr0vpSAYiA7AN0hweB5Vx3P3VteWxt7AIn7vEFCA+d11wN9Vlaccei
W8F7upE+VbPMnx4L1hZoO846jEM4hc87ZA7Q0MrpKmEt5u5AzmolXNu4Y7ghxywk
0r+bWfiwIT1AqudEIq0rKjOEfNeyiOHCZYVRCHfN1g/HNCvJYQj6NqGS4vxqoN1E
DIceUMUmQYke7Hk2GGRzIN8iSPjD3vD2yFUpOF63QCvEDHunOFkrTJr632GNgTHX
YJLfF1jwUjKAZW4HGhwuI+eNN6sib85YqSblTyiOyl1ZtfI7DD5XmM49AjTkTRkq
C2fJe9Wd+RNHOeJNf9xdxDFKq0g7Pz6V0OtjC1Ff7PPOEIkMJ9u7v+WdcDhpRrn0
hKfN2aTenv1yR7mlf6xosVXQShN8NTy/pWY9kIFFbRWy2YMRn6Y=
=IXhd
-----END PGP SIGNATURE-----
Bump version to v0.2.0

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2 files changed
tree: c0e2538666abb3d09418d7aed530ab3750cf1682
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Gopkg.lock
  5. Gopkg.toml
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION.txt
  10. ga.go
  11. googleanalytics/
  12. jenkins.go
  13. main.go
  14. main_unix.go
  15. main_windows.go
  16. term.png
  17. travis.go
  18. vendor/
  19. version/
README.md

tdash

Travis CI

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

term.png

Installation

Binaries

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
     _           _
  __| | __ _ ___| |__
 / _` |/ _` / __| '_ \
| (_| | (_| \__ \ | | |
 \__,_|\__,_|___/_| |_|


 A terminal dashboard with stats from
 Google Analytics, GitHub, Travis CI, and Jenkins.
 Version: v0.2.0
 Build: 338723b

  -all
        Show all builds even successful ones, defaults to only showing failures
  -d    run in debug mode
  -ga-keyfile string
        Path to Google Analytics keyfile (default "/home/jessie/.tdash/ga.json")
  -ga-viewid value
        Google Analytics view IDs (can have more than one)
  -jenkins-password string
        Jenkins password for authentication (or env var JENKINS_PASSWORD)
  -jenkins-uri string
        Jenkins base URI (or env var JENKINS_BASE_URI)
  -jenkins-username string
        Jenkins username for authentication (or env var JENKINS_USERNAME)
  -travis-owner value
        Travis owner name for builds (can have more than one)
  -travis-token string
        Travis CI API token (or env var TRAVISCI_API_TOKEN)
  -v    print version and exit (shorthand)
  -version
        print version and exit

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