Skip to content

Instantly share code, notes, and snippets.

@rjurney
Created December 19, 2019 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjurney/ad227fc08af95ddeffea907893101680 to your computer and use it in GitHub Desktop.
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
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