Skip to content

Bash script that finds a GitHub user's email address based on username

License

Notifications You must be signed in to change notification settings

hodgesmr/FindGitHubEmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

FindGitHubEmail

Find the email address of any GitHub user

It's a well-known fact (or at least it should be) that everything you push to a public GitHub repository is public. This includes a lot of information other than just source files. Since both Git and GitHub require you to provide an email address, it should be no surprise that this information is public as well. FindGitHubEmail (catchy title, I know) is a simple script that queries the GitHub API and guesses a given user's email address based on their public activity. The script is a bit of a hack; sorry if your eyes are bleeding.

FindGitHubEmail makes it easy to get in contact with open source developers. Please use it for good, not evil.

Usage

Run this:

git clone https://github.com/hodgesmr/FindGitHubEmail.git ~/FindGitHubEmail
bash ~/FindGitHubEmail/findGitHubEmail hodgesmr

If you're not looking for me, replace hodgesmr with another GitHub user.

The above will return the best guess of the email based on the user's event log.

Print all emails in the user's event log: findGitHubEmail -e hodgesmr

Or cross-check the discovered emails with the user's Gravatar ID: findGitHubEmail -g hodgesmr

A Matt Hodges project

This project is maintained by @hodgesmr.

About

Bash script that finds a GitHub user's email address based on username

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages