/github_org_activity_devs

Discover what your colleagues are publicly working on github.com

Primary LanguageRubyMIT LicenseMIT

GithubOrgActivityDevs

Find out which repositories are watched by team members of an organization

Needs a github oauth token and a team_member_id of the github team

Example Output

$ bundle exec bin/github_org_activity_devs
# waiting longtime...

thnukid

CreateEvent
thnukid - created - branch - master - https://github.com/thnukid/phily-oss.netlify.com - 1 Week, 2 Days, 19 Hours, 41 Minutes and 53 Seconds
thnukid - created - repository - https://github.com/thnukid/phily-oss.netlify.com - 1 Week, 2 Days, 19 Hours, 43 Minutes and 50 Seconds

PushEvent
thnukid - 1 commits - refs/heads/master - https://github.com/thnukid/phily-oss.netlify.com - 1 Day, 15 Hours, 52 Minutes and 35 Seconds

Features

✅ Fetches team member login names

✅ Fetch public user events for team members

✅ Fetch description and language of repository

✅ use ActiveSupport File Store Cache

Installation

  1. Clone this repository
    $ git clone git@github.com:thnukid/github_org_activity_devs.git
  1. Install
    $ cd github_org_activity_devs/
    $ bundle

Usage

  1. Copy .env.example to .env
    $ cp .env.example .env
  1. Edit .env
    $ vim .env
  1. Get a github auth token
  2. Get the team member id
  3. Make executable
    $ chmod +x bin/github_org_activity_devs
  1. Run the summary
    $ bundle exec bin/github_org_activity_devs

License

The gem is available as open source under the terms of the MIT License.