Skip to content
/ gh-vanity Public

🤩 Find and filter stargazers based on the company they work for

License

Notifications You must be signed in to change notification settings

jef/gh-vanity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stargazer-vanity cd

  • star·gaz·er /ˈstärˌɡāzər/ Someone that has starred a repository.
  • van·i·ty /ˈvanədē/ Excessive pride in or admiration of one's own appearance or achievements.

I created this out of pure vanity, hence the name. I was curious as to who has starred my repositories (and others) and what companies they worked for.

This allows programs lets a user understand that data without parsing through many pages of stargazers.

Usage

It is required that you use a GitHub Personal Access Token (PAT). You can generate one here. The required scopes are ['read:org', 'user:email', 'read:user']. Set your PAT to environment variable GITHUB_PAT. If GITHUB_PAT isn't set, you will be prompted for your PAT in the beginning of startup.

Usage of ./stargazer-vanity:
  -company string
    	Filter stargazers by company name(s). Can be comma separated.
    	If no names are given, then all stargazers will output.
  -employee
    	Filter stargazers that are GitHub employees.
  -repo string
    	(Required) The name of the repository.
  -owner string
    	(Required) The owner or organization of the repository.

Examples

  • Amazon, Google, and GitHub employees for cli/cli
    • ./stargazer-vanity -company=amazon,google -employee -owner=cli -repo=cli
  • Nvidia employees for jef/streetmerchant
    • ./stargazer-vanity -company=nvidia -owner=jef -repo=streetmerchant

Development

  • make build: Builds source
  • make clean: Cleans executable
  • make dist: Cross-compilation for distribution

About

🤩 Find and filter stargazers based on the company they work for

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages