Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danielpops/4c425adf8c312ee334e39ede84c43d4a to your computer and use it in GitHub Desktop.
Save danielpops/4c425adf8c312ee334e39ede84c43d4a to your computer and use it in GitHub Desktop.
Get random stars and open them
curl -s --netrc 'https://api.github.com/user/starred?per_page=100&page=1' | jq -r '.[] | [.pushed_at, .stargazers_count, .language, .html_url, .description] | @csv' | head -6 | awk -F, '{print $4}' | xargs open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment