$ stars.sh
8 titanium-codes/LocGetter
5 titanium-codes/docker-compose
5 frameworkwtf/skeleton
3 titanium-codes/yandex-tts-processor
2 titanium-codes/cibu
2 titanium-codes/bump.sh
2 rakshazi/getSetTrait
2 rakshazi/digestauth
2 rakshazi/ansible-skeleton
2 frameworkwtf/rest
2 frameworkwtf/orm
2 frameworkwtf/core
1 titanium-codes/ro-ru-transliterator
1 titanium-codes/retrofit-2-call-preprocessor
1 titanium-codes/docker-swagger-php
1 titanium-codes/docker-phpunit
1 titanium-codes/docker-curl
1 titanium-codes/docker
1 titanium-codes/Blog
1 rakshazi/nvim
1 rakshazi/NotaterGo
1 rakshazi/docker-sentry-cli
1 rakshazi/docker-atom
1 frameworkwtf/middleware-filters
1 frameworkwtf/html
1 frameworkwtf/generator
1 frameworkwtf/framework.wtf
1 frameworkwtf/docker
1 frameworkwtf/auth
1 forestguild/website
Created
July 2, 2019 09:18
-
-
Save rakshazi/d6da2edba6bc160f8f6a87e647aeb266 to your computer and use it in GitHub Desktop.
Check your repos with stars on GitHub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# replace SOURCES list with your values | |
SOURCES=("users/rakshazi" "orgs/frameworkwtf" "orgs/titanium-codes" "orgs/forestguild") | |
for repo in "${SOURCES[@]}"; do | |
table=$(curl -sH "Accept: application/vnd.github.v3.star+json" "https://api.github.com/${repo}/repos"|jq -r '.[]|[.stargazers_count,.full_name]|@tsv' | sed '/^0/d') | |
REPOS="${REPOS}\n${table}" | |
done | |
printf "$REPOS" | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment