Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/levthedev/gitmail
:mailbox: making networking a little easier
https://github.com/levthedev/gitmail
email git ruby
Last synced: 3 months ago
JSON representation
:mailbox: making networking a little easier
- Host: GitHub
- URL: https://github.com/levthedev/gitmail
- Owner: levthedev
- Created: 2015-05-04T16:14:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T16:46:46.000Z (about 7 years ago)
- Last Synced: 2024-06-03T21:55:41.580Z (5 months ago)
- Topics: email, git, ruby
- Language: Ruby
- Homepage:
- Size: 9.77 KB
- Stars: 119
- Watchers: 5
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitMail
This is a simple ruby application that takes an input of a github repository and outputs all unique email addresses associated with the repo. It does this by cloning the repository, parsing through git logs to find email addresses and names, finding unique name/email combinations, sorting them, and outputting them to the terminal. After this, it will delete the temporary folder it made to clone the repo so as not to clutter up your computer.To use this application, simply run gitmail from your terminal with the argument of the repo you are trying to find the emails of.
### Example
Run this command from your terminal -
`ruby gitmail.rb kravinskylev/gitmail`.
If you want to use a non Github repo, pass the base URL of the host you would like to use (`ruby gitmail.rb some_user/some_repo https://bitbucket.org/`)
It doesn't matter what directory you're in when you run this command.
That's basically all there is to it!### Known Issues
* *no email addresses are returned*
* *email address is unused*If no email addresses are returned, this means that the github user set his email to private. Most emails are not private however - even when an email does not appear on a person's github profile, it still usually is public in their git logs.
If the email address it returns is a bunk email, then this user either outsmarted or outstupided you. They outsmarted you if they want to associate a public email with their github commits in order to make their daily commits look impressive while still remaining un-contactable, and they outstupided you if they set their email to something not associated with their profile.
**That's all there is to it!**