bin/gumstarred
2023-09-03 00:01:18 -05:00

7 lines
249 B
Bash
Executable File

#!/usr/bin/env bash
USERNAME="hyperreal64"
starred_repos=$(curl -s "https://api.github.com/users/${USERNAME}/starred?per_page=1000" | jq '.[] | .full_name' | tr -d '"')
xdg-open "https://github.com/$(echo "$starred_repos" | gum choose --limit=1)"