sitemapxml / github-email

Get a GitHub user's email. All sneaky-like. :sunglasses:

Home Page:https://www.npmjs.com/package/github-email

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-email

This script retrieves a user's email address from various sources, including: GitHub, GitHub commits, GitHub repository activity, and NPM.

image

Requirements

Install the following software packages:

Installation

Install the script using any method described in this section.

npm

Install the script using npm as follows:

npm install --global github-email

wget

Install the script for the local account as follows:

mkdir -p $HOME/bin
cd $HOME/bin
wget https://raw.githubusercontent.com/DaveJarvis/github-email/master/github-email.sh
chmod +x github-email.sh

Authenication Token

If the GITHUB_TOKEN environment variable is not set, the script will ask the user to generate an authenicated API token and use it. Generate an authenticated API token as follows:

  1. Visit https://github.com/settings/tokens/new?description=github-email
  2. Click Generate Token.
  3. Copy the token.
  4. Run the script.
  5. Follow the instructions.

This will save a copy of the token in $HOME/.ghtoken.

About

Get a GitHub user's email. All sneaky-like. :sunglasses:

https://www.npmjs.com/package/github-email

License:MIT License


Languages

Language:Shell 100.0%