项目作者: oligibson

项目描述 :
A simple utility that collates the details of users who have stared a GitHub repo.
高级语言: JavaScript
项目地址: git://github.com/oligibson/github-stargazer-cli.git
创建时间: 2017-04-22T14:32:46Z
项目社区:https://github.com/oligibson/github-stargazer-cli

开源协议:

下载


GitHub Stargazer CLI

A very simple JavaScript utility that queries the GitHub API to get all the users who starred a repository and write their details to a CSV file.

The utility will filter out all users who don’t have an email address registered with GitHub.

Getting Started

Prerequisites

Usage

  1. git clone git clone

  2. Run npm install

  3. Create a file in the root of the project called github.creds.json, this should contain your GitHub username and personal token eg:

    1. {
    2. "user": "name",
    3. "token": "12345"
    4. }
  4. Run node index.js user repo where repo is the repository whos stars you want to scrape and user is the owner of the repo.

  5. GitHub Stargazer will write a .csv file to the root of the project containing all the users who stared the project and have an email address linked to their GitHub account.