Skip to content

Uses BigQuery and GitHub Archive to create something like TimeHop for GitHub.

License

Notifications You must be signed in to change notification settings

neonichu/githop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

githop 🐙⏰

No Maintenance Intended

Uses BigQuery and GitHub Archive to create something like TimeHop for GitHub. It will show you the things you did exactly one year ago.

Usage

If you are orta and it is 24th of May, 2015, you might see something like this:

$ githop
At 2014-05-24 11:54:54, you forked the repo cocodelabs/NSAttributedString-CCLFormat
At 2014-05-24 11:56:49, you created a PR on cocodelabs/NSAttributedString-CCLFormat
At 2014-05-24 22:03:42, you created a PR on CocoaPods/cocoadocs.org
At 2014-05-24 22:32:20, you created the tag 2.7.2 on orta/ARAnalytics

or specify a username to see another person's history:

$ githop jpsim
At 2014-05-24 10:15:34, jpsim watched the repo shahruz/Sketch-Toolbox
At 2014-05-24 10:18:35, jpsim watched the repo heardrwt/RHObjectiveBeagle

For the real lazy, it is also available on the web: https://githop-yolo.herokuapp.com/orta, specify the desired GitHub user as path. Code for the web version can be found here.

Installation

Use

gem install githop

to install it and configure some settings in ~/.githop.yml:

---
github_user: your GitHub username

bigquery: {
	client_id: BigQuery OAuth Client-ID,
	service_email: BigQuery Service E-Mail,
	keyfile: Location of your BigQuery key (a .p12 file),
	project_id: ID of your BigQuery project
}

Please follow these steps to set up a BigQuery OAuth application and take a look at this for manually verifying your Google Cloud account works. BigQuery is free for 3TB of queries and you don't have to set up any payments to use GitHop.

Thanks

Felix Krause for the idea.

About

Uses BigQuery and GitHub Archive to create something like TimeHop for GitHub.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages