Skip to content

jesus-sayar/contributors_mapping

Repository files navigation

Contributors Mapping

Code Climate Build Status

Contributors Mapping is a analytic and visualization web about Open Source projects. Using GitHub API and CartoDB scans open source projects, allowing you to discover where live the contributors and that world zones are more active.

Installation

Clone this project and install its gems:

git clone URL
cd contributors_mapping
bundle install

Configure the GitHub API client updating github_client.rb initializer with your data:

Github.configure do |c|
  c.basic_auth = "login:password"
end

Configure the CartoDB API client updating cartodb_client.rb initializer with your data. You can visit CartoDB documentation for get your API key:

$cartodb_username = "username"
$cartodb_api_key = "your-api-key"

Create DB and run the server:

rake db:setup
rails s

Getting Started

Run the next task for create a new project and import its data.

rake projects:create_recommended[username,repo]

For example you can import the Rails data running:

rake projects:create_recommended["rails","rails"]

Now you can browse in the project and you see a new map visualization with this data.

Architecture

Contributors Mapping consult GitHub API for fetch data about a Open Source project and its contributors. Upload this data to CartoDB cloud and then create analytics and visualizations.

GitHub and CartoDB API's have restrictions on the number of daily calls. You can create some project analytics, but if you need consult many projects you will need hire advanced subscriptions on this services.

Testing

This project use RSpec and Capybara to run the tests. You can run the test with this command:

rspec spec 

License

Contributors Mapping is distributed under the MIT License, copyright (c) 2014 Jesus Sayar Celestino

About

Contributors Mapping is a analytic and visualization web about Open Source projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published