bin/rofistarred
2023-09-02 08:24:48 -05:00

7 lines
324 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 '"')
echo "$starred_repos" | rofi -dmenu -p "GitHub Starred" -theme-str 'window { width: 40em; height: 40em; }' | xargs -I{} xdg-open "https://github.com/{}"