Skip to content

List all public repositories for (valid) GitHub usernames

License

Notifications You must be signed in to change notification settings

trickest/enumerepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enumerepo Tweet

List all public repositories for (valid) GitHub usernames

enumerepo

Read a list of GitHub usernames and/or organizations, verify their existence, and list the repositories owned by each one.

Installation

Binary

Binaries are available in the latest release.

Docker

docker run quay.io/trickest/enumerepo

From source

go install github.com/trickest/enumerepo@latest

Usage

  -adjust-delay
    	Automatically adjust time delay between requests
  -delay int
    	Time delay after every GraphQL request [ms]
  -o string
    	Output file name
  -silent
    	Don't print output to stdout
  -token-file string
    	File to read Github token from
  -token-string string
    	Github token
  -usernames string
    	File to read usernames from

Example

usernames.txt
trickest
$ enumerepo -token-string $GITHUB_TOKEN -usernames usernames.txt -o repositories.json
In progress...
[
   {
      "user": "https://github.com/trickest",
      "repos": [
        {
            "url": "https://github.com/trickest/trickest-cli",
            "ssh_url": "[email protected]:trickest/trickest-cli.git",
            "language": "Go"
         },
         {
            "url": "https://github.com/trickest/cve",
            "ssh_url": "[email protected]:trickest/cve.git",
            "language": ""
         },
         {
            "url": "https://github.com/trickest/find-gh-poc",
            "ssh_url": "[email protected]:trickest/find-gh-poc.git",
            "language": "Go"
         },
         {
            "url": "https://github.com/trickest/inventory",
            "ssh_url": "[email protected]:trickest/inventory.git",
            "language": ""
         },
         {
            "url": "https://github.com/trickest/mksub",
            "ssh_url": "[email protected]:trickest/mksub.git",
            "language": "Go"
         },
         {
            "url": "https://github.com/trickest/mkpath",
            "ssh_url": "[email protected]:trickest/mkpath.git",
            "language": "Go"
         },
         {
            "url": "https://github.com/trickest/dsieve",
            "ssh_url": "[email protected]:trickest/dsieve.git",
            "language": "Go"
         },
         {
            "url": "https://github.com/trickest/resolvers",
            "ssh_url": "[email protected]:trickest/resolvers.git",
            "language": ""
         },
         {
            "url": "https://github.com/trickest/insiders",
            "ssh_url": "[email protected]:trickest/insiders.git",
            "language": ""
         },
         {
            "url": "https://github.com/trickest/enumerepo",
            "ssh_url": "[email protected]:trickest/enumerepo.git",
            "language": "Go"
         },
         {
            "url": "https://github.com/trickest/containers",
            "ssh_url": "[email protected]:trickest/containers.git",
            "language": "Shell"
         },
         {
            "url": "https://github.com/trickest/safe-harbour",
            "ssh_url": "[email protected]:trickest/safe-harbour.git",
            "language": ""
         },
         {
            "url": "https://github.com/trickest/mgwls",
            "ssh_url": "[email protected]:trickest/mgwls.git",
            "language": "Go"
         },
         {
            "url": "https://github.com/trickest/log4j",
            "ssh_url": "[email protected]:trickest/log4j.git",
            "language": ""
         },
         {
            "url": "https://github.com/trickest/action",
            "ssh_url": "[email protected]:trickest/action.git",
            "language": "Shell"
         }
      ]
   }
]
Done! 15 repositories found.

Report Bugs / Feedback

We look forward to any feedback you want to share with us or if you're stuck with a problem you can contact us at [email protected]. You can also create an Issue or pull request on the Github repository.

Where does this fit in your methodology?

Enumerepo is an integral part of the Insiders workflow many workflows in the Trickest store. Sign up on trickest.com to get access to these workflows or build your own from scratch!