I'd like to contact a developer on GitHub to see how I can help out, etc. I don't see the option anywhere.
This method worked in February 2020
- Copy and paste the next line into your browser (feel free to bookmark it): https://api.github.com/users/xxxxxxx/events/public.
- Find the GitHub username for which you want the email: Replace the xxxxxxx in the URL with the person's GitHub username. Hit Enter.
- Press Ctrl+F and search for “email”.
If users are active on GitHub, you might be able to catch their email address from a commit log or open up an issue on a project they are working on.
If they are inactive however and don't have a visible email or repository there doesn't seem to be a direct way. I came up with this workaround that might be worth a try in extreme cases:
- create an empty repository
- add a README.md to it containing your message and include a reply email
- go to the
Settingsof that repository
- send the repository via
Transfer Ownershipto the user in question
This should produce a notification for the user and allow him to contact you.
In cases when a user account is completely dead and you just want to get rid of it so that you can use the name for your own projects, you can also contact support, they will remove dead accounts:
This question has an answer at Stack Overflow.
Although GitHub removed the private messaging feature, there's still an alternative.
GitHub host git repositories. If the user you're willing to communicate with has ever committed some code, there are good chances you may reach your goal. Indeed, within each commit is stored some information about the author of the change or the one who accepted it.
Provided you're really dying to exchange with user user_test
- Display the public activity page of the user:
- Search for an event stating "user_test pushed to [branch] at [repository]". There are usually good chances, he may have pushed one of his own commits. Ensure this is the case by clicking on the "View comparison..." link and make sure the user is listed as one of the
- Clone on your local machine the repository he pushed to:
git clone https://github.com/..../repository.git
- Go to that directory
- Checkout the branch he pushed to:
git checkout [branch]
- Display the latest commits:
git log -50
As a committer/author, an email should be displayed along with the commit data.
Note: Every warning related to unsolicited email should apply there. Do not spam.
One option is to find the users email address and then email them. Hikido offers a free chrome extension that will show you user's email addresses.
Open any commit he made in any repository. And you will some info like this
username committed on Dec 18, 2019, 1 parent 69b389d commit 4b87ccc patch diff
diff are links, click the patch link and you will see commit info like this
From 4b87ccca84710991f0876d0c051e5e0ff223ac99 Mon Sep 17 00:00:00 2001 From: FirstName LastName <firstname.lastname@example.org> Date: Tue, 17 Dec 2019 22:51:16 -0500 Subject: commit name
From here you can see his email address
This is the current URL to see user events including email (January 2021): https://api.github.com/users/username/events (search the page for "email")
or just https://api.github.com/users/username if they made their mail public on their profile.
This is an update on Porcupine's answer: https://webapps.stackexchange.com/a/107500/261901 (the /public version doesn't work anymore)
I would just write a comment below it, but i don't have the 50 reputation necessary.
The method that best worked for me does not require to clone the repo.
Browse someone's commit history (Click commits which is next to branch to see the whole commit history)
Click the commit that with the person's username because there might be so many of them
Then you should see the web address has a hash concatenated to the URL. Add .patch to this commit URL
You will probably see the person's email address there