Created
December 19, 2019 00:21
-
-
Save rjurney/ad227fc08af95ddeffea907893101680 to your computer and use it in GitHub Desktop.
How to fetch the README of any Github repository in one line of bash
This file contains 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
curl "https://api.github.com/repos/<user>/<repo>/readme" | jq -r .content | base64 -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment