Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A fun way to rank Github repository contributors in a 8-bit, 80's-tastic aracdey viewing environment.
Ruby
Branch: master
Pull request Compare This branch is 71 commits behind leereilly:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db
lib
public
test
views
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.md
app.rb
config.ru

README.md

OVERVIEW

Github High Scores is a fun way to rank Github repository contributors in a 8-bit, 80's-tastic viewing environment.

iCalendar

This is an extension to convert the most recent commit log of a repo into iCalendar format, to be included into iCal.

This will generate events which are 30 minutes in duration -- there is no really easy way to specify a duration for a commit.

To use: http://example.com//.ics http://example.com///.ics

branch defaults to master, if not provided.

Installation

git clone git://github.com/leereilly/github-high-scores.git
rvm install ruby-1.8.7-p334 ## didn't have correct version
cd github-high-scores
gem install bundler
bundle
db_use=sqlite_default ruby app.rb

Configuration

You can either use mysql, sqlite or sqlite with default setting

For mysql:

You'll need to set environment variables on your box. Locally, you can set them in your .bash_profile...

export db_use=mysql
export db_user=some_username
export db_pass=some_password
export db_host=some_host
export db_data=some_database

On Heroku, you can do something like this...

heroku config:add db_user=XXX db_pass=XXX db_host=XXX db_data=XXX db_use=mysql

For sqlite:

export db_use=sqlite
export db_path=/some/absolute/path/to/my.db

For sqlite + default:

export db_use=sqlite_default

This then creates a my.db database file in db/

See app.rb for details.

Contribute

Fork + pull.

Credits

Known Issues / Bugs / Limitations

  • The GitHub API only allows 60 requests per minute per IP address.
  • The site looks like some sort of 80s-tastic arcade theme.

Bugs

Something went wrong with that request. Please try again.