Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
/ gitcase Public archive

Share your complete GitHub contribution graph

License

Notifications You must be signed in to change notification settings

LeonardoCardoso/gitcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitCase (no longer maintained)

Disclaimer: I will no longer maintain this project because GitHub has made it. Read more @ https://github.com/blog/2173-more-contributions-on-your-profile

Build Status

Developed by @LeonardoCardoso.

Sometimes you work only with private repos in GitHub but your public profile is so empty. To solve that issue we've created this.

It's PHPs based project shares the information of all contributions (private and public) as you seen when you are logged in your GitHub profile.

All times are calculated in GMT

As seen publicly

Public

As seen privately

Complete

Important

This API only shows the info, not the data.

Important

Create a file in the folder statics named credentials.php and add the following:

<?php
$clientID = YOUR CLIENT ID;
$clientSecret = YOUR CLIENT SECRET;
$callbackURL = CALLBACK URL YOU REGISTERED YOUR APPLICATION ON GITHUB;

Make sure the library php5-curl and php5-gd are installed and enabled on the server, either locally or remotely.

  • Linux
$ sudo apt-get install php5-gd php5-curl
$ sudo service apache2 restart
$ sudo port install php5-curl php5-gd 
$ sudo apachectl restart

Statistics

From Github docs:

Whenever you commit to a project's default branch (or the gh-pages branch), open an issue, or propose a Pull Request, we count that as a contribution. But here we added the contribution in other branches.

  • default branch ✓
  • other branches
  • gists
  • gh-pages branch
  • open an issue ✓
  • pull request ✓

Limitations

  • From Github docs, we have 5,000 requests per hour
  • The original GitHub contributions calendar shows a commit even if it's squashed via git rebase. And currently this kind of history is not available on their current API.

Autoload

To install dependencies via Composer, do the following:

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install

Contact

Contact me either by Twitter @leocardz or emailing me to contact@leocardz.com.

License

Copyright 2015 Leonardo Cardoso

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.