Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 959 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 959 Bytes

Github Contributions Fetcher

A simple go app, that fetches all the open source Github repositories that a list of users has interacted with, using Github's GraphQL API. As an interaction, it considers a contribution, a commit, a new issue or a comment on an issue.

Prerequisites

In order to run this app you need to generate a github access token from here -> Personal access tokens -> Generate new token and check the public_repo permission.

Starting the app

Option 1: Docker

  • Add the github access token to the docker-compose.yml
  • Run docker-compose up --build

Opton 2: Native

  • Make sure you have go and dep install on your machine
  • Set the environment variable GITHUB_TOKEN to your Github access key for example export GITHUB_TOKEN=your_access_key
  • Start the app go run main.go

Technologies Used: