Skip to content

blacob/stargazer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Stargazer

Stargazer is a Python script that fetches information about users who have starred a specific GitHub repository. Importantly, it finds the email addresses of the gazers of a repo, in case you'd like to do some targeted marketing.

Prerequisites

  • Python 3.6+
  • requests library (install with pip install requests)

Setup

  1. Clone this repository or download the stargazer.py file.

  2. Install the required library:

    pip install requests
    
  3. (Optional) Set up a GitHub Personal Access Token:

Usage

Run the script from the command line with the following syntax: python stargazer.py owner/repo [--token YOUR_GITHUB_TOKEN]

  • Replace owner/repo with the GitHub repository you want to analyze (e.g., microsoft/vscode).
  • The --token argument is optional if you've set the GITHUB_TOKEN environment variable.

Example:

python stargazer.py microsoft/vscode --token ghp_your_token_here

Providing your gh_token will allow you to make more requests before getting rate limited by Github.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages