Skip to content

Instantly share code, notes, and snippets.

Forked from nikhita/
Created August 25, 2023 18:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save switchspan/19e35f29c30087002f87cde52ae61be6 to your computer and use it in GitHub Desktop.
Generate a list of all repos in a GitHub to paste into Excel
#!/usr/bin/env bash
# This script generates a list of repos in a GitHub org.
# The list can be pasted directly to a Microsoft Excel sheet.
# You will need to use your GitHub username in the username field.
# Update the page=N number to get the complete list of repos.
curl --silent --user "username" "" | npx jq '.[].html_url' | while read repo
echo "=Hyperlink("$repo","$repo")"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment