bin/gumstarred

7 lines
249 B
Plaintext
Raw Normal View History

2023-09-02 15:24:48 +02:00
#!/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)"