{"id":19935162,"url":"https://github.com/optimizely/fetch-all-github-repos","last_synced_at":"2025-05-03T12:31:13.162Z","repository":{"id":71780297,"uuid":"140895682","full_name":"optimizely/fetch-all-github-repos","owner":"optimizely","description":null,"archived":true,"fork":false,"pushed_at":"2018-12-03T22:52:17.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-01T12:17:28.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/optimizely.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-13T21:47:20.000Z","updated_at":"2023-09-28T18:21:13.000Z","dependencies_parsed_at":"2023-06-10T10:45:38.008Z","dependency_job_id":null,"html_url":"https://github.com/optimizely/fetch-all-github-repos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optimizely%2Ffetch-all-github-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optimizely%2Ffetch-all-github-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optimizely%2Ffetch-all-github-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optimizely%2Ffetch-all-github-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/optimizely","download_url":"https://codeload.github.com/optimizely/fetch-all-github-repos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252190787,"owners_count":21708954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T23:19:00.566Z","updated_at":"2025-05-03T12:31:13.141Z","avatar_url":"https://github.com/optimizely.png","language":"Go","readme":"# Search all repositories in an organizations on github\n\nThis is simple program that fetches and searches all Optimizely's Github repositories for a specific string.\n\n## Install\n\n``` \n$ go get github.com/optimizely/fetch-all-github-repos\n```\n\n## Usage\n\n```\n$fetch-all-github-repos 0X123ThisIsAGithubAAccessKey\n```\n\nOr\n\n```\n$ time ./fetch-all-github-repos 0X123ThisIsAGithubAAccessKey | tee output.txt\n\nrepo number: 0 - git@github.com:optimizely/optimizely.git\ngit clone --depth 1 git@github.com:optimizely/optimizely.git tmpdir\nag eslint-scope tmpdir\ntmpdir/src/www/frontend/yarn.lock:860:    eslint-scope \"~3.7.1\"\ntmpdir/src/www/frontend/yarn.lock:3870:eslint-scope@^3.7.1, eslint-scope@~3.7.1:\ntmpdir/src/www/frontend/yarn.lock:3872:  resolved \"https://optimizely.jfrog.io/optimizely/api/npm/npm/eslint-scope/-/eslint-scope-3.7.1.tgz?dl=https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8\"\ntmpdir/src/www/frontend/yarn.lock:3892:    eslint-scope \"^3.7.1\"\ntmpdir/src/www/frontend/yarn.lock:11571:    eslint-scope \"^3.7.1\"\nag eslint-config-eslint tmpdir\nrm -rf tmpdir\nrepo number: 1 - git@github.com:optimizely/blog.optimizely.git\n...\nrm -rf tmpdir\nrepo number: 821 - git@github.com:optimizely/optimizely-ktlint.git\ngit clone --depth 1 git@github.com:optimizely/optimizely-ktlint.git tmpdir\nag eslint-scope tmpdir\nag eslint-config-eslint tmpdir\nrm -rf tmpdir\n./fetch-all-github-repos  135.25s user 239.15s system 31% cpu 19:55.51 total\ntee output.txt  0.01s user 0.16s system 0% cpu 19:55.51 total\n```\n\nNote: If some string generates *a lot* of output lines can be restricted to 200 chars via\n\n```\ncut -c -200 output.txt \u003e shortened-list.txt \n```\n\n## Credits\n\n- Ola\n\n## License\n\nThe MIT License (MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptimizely%2Ffetch-all-github-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptimizely%2Ffetch-all-github-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptimizely%2Ffetch-all-github-repos/lists"}