Github Stars Languages
A repo can include many languages. Gather a list of my starred repos, find the most commonly starred underlying languages.
Requires some changes to command line to pull > 100 projects. I have more than 7 starred Go repos!
hub api "/users/asears/starred?page=1&per_page=100" --flathub api /users/asears/starred | jq -r ".[] | \"\(.language)\"" | sort | awk "{count[$1]++} END {for (word in count) print count[word],word}" | sort /R /unique7 Go
4 null
3 C#
2 Python
2 PowerShell
2 JavaScript
2 HTML
1 TypeScript
1 Shell
1 Makefile
1 Java
1 Dockerfile
1 CSS
1 C++
1 C
hub api /users/asears/starred | jq -r ".[] | \"\(.license.name)\"" | sort | awk "{count[$1]++} END {for (word in count) print count[word],word}" | sort /R /uniqueThe awk is taking out the details of the license but works for counting.
7 Apache
6 Other
3 null
2 Creative
11 MIT
1 The
The Unlicense
Other
null
MIT License
Creative Commons Zero v1.0 Universal
Apache License 2.0
hub api /users/asears/starred | jq -r ".[] | \"\(.downloads_url)\""https://api.github.com/repos/cli/cli/downloads
https://api.github.com/repos/openai/gpt-3/downloads
https://api.github.com/repos/arcanecode/KQL/downloads
https://api.github.com/repos/PragmaticFlow/NBomber/downloads
https://api.github.com/repos/StartAutomating/EZOut/downloads
https://api.github.com/repos/stoplightio/vscode-spectral/downloads
https://api.github.com/repos/NRules/NRules/downloads
https://api.github.com/repos/replicatedhq/dockerfilelint/downloads
https://api.github.com/repos/microsoft/ProcDump-for-Linux/downloads
https://api.github.com/repos/renatomefi/docker-testinfra/downloads
https://api.github.com/repos/philpep/testinfra/downloads
https://api.github.com/repos/wagoodman/dive/downloads
https://api.github.com/repos/chris-crone/containerized-go-dev/downloads
https://api.github.com/repos/docker/aci-integration-beta/downloads
https://api.github.com/repos/docker/awesome-compose/downloads
https://api.github.com/repos/Azure/kubeflow-labs/downloads
https://api.github.com/repos/yueureka/WildFireDetection/downloads
https://api.github.com/repos/google/nsjail/downloads
https://api.github.com/repos/RocketChat/Rocket.Chat/downloads
https://api.github.com/repos/joypixels/emoji-toolkit/downloads
https://api.github.com/repos/PoshCode/Configuration/downloads
https://api.github.com/repos/odpi/egeria/downloads
https://api.github.com/repos/client9/misspell/downloads
https://api.github.com/repos/skydive-project/skydive/downloads
https://api.github.com/repos/casbin/casbin/downloads
https://api.github.com/repos/astaxie/beego/downloads
https://api.github.com/repos/PowerShell/PowerShell-IoT/downloads
https://api.github.com/repos/concentrateddon/powershell-by-mistake/downloads
https://api.github.com/repos/frankban/quicktest/downloads
https://api.github.com/repos/PowerShell/platyPS/downloads