GitHub-CLI extension demo to query the size of a specified GitHub repository. Yeah, as simple as that.
GNU Coreutils (mostly already installed), cURL & jq.
# Install
gh ext install Vinfall/gh-repo-size
# Usage, accepted styles
gh repo-size Vinfall/gh-repo-size
gh repo-size github.com/torvalds/linux
gh repo-size https://github.com/torvalds/linux
# Uninstall
gh ext remove Vinfall/gh-repo-size
Licensed under CC0 1.0 Universal or Public Domain, whichever is more permissive.