Mastodon Feed: Post

Mastodon Feed

Reblogged by slightlyoff@toot.cafe ("Alex Russell"):

simon@simonwillison.net ("Simon Willison") wrote:

GitHub made it harder to get the URL to download a zip of a repo recently - you used to be able to right click and copy URL on the "Download ZIP" button but they broke that with a recent frontend change

I built this Observable Notebook to compensate: https://observablehq.com/@simonw/download-github-repo

Attachments:

  • [Animated demo. Notebook is called URL to downloaed a GitHub repository as a zip file
 You enter the URL to the repo (or in my case I typed simonw/datasette) and it gives you a URL to a zip, which starts with codeload.github.com
 
 Clicking the "Use the latest commit hash" button fetches the latest commit hash and shows you that URL instead.][6] ([remote][7])