Your GitHub stars as a Markdown list
An awesome list of your own, built from what you already starred. Each command needs the GitHub CLI, logged in.
A flat list
gh api "user/starred?per_page=100" --paginate \
--jq '.[] | "- [\(.full_name)](\(.html_url)): \(.description // "")"' > stars.md
Newest stars come first. For someone else's public stars, swap user/starred for users/<name>/starred.
Grouped by language
gh api "user/starred?per_page=100" --paginate \
--jq '.[] | "\(.language // "Other")\t- [\(.full_name)](\(.html_url))"' \
| sort | awk -F'\t' '$1!=last{print "\n## "$1; last=$1} {print $2}' > stars.md
Each language gets a ## heading, ready for a README.
Grouped by your Lists
gh api graphql -f query='{ viewer { lists(first: 32) { nodes { name items(first: 100) { nodes { ... on Repository { nameWithOwner url } } } } } } }' \
--jq '.data.viewer.lists.nodes[] | "\n## \(.name)", (.items.nodes[] | "- [\(.nameWithOwner)](\(.url))")' > lists.md
Cards for your profile README
Plain links are fine for notes. For your GitHub profile, Stard draws your top four repos, short reviews and your Lists as image cards, and hands you the Markdown to paste into your profile README. Any username, no sign-in.