How to star GitHub gists with gh api
Star one public gist with gh api PUT /gists/{id}/star, prove starred via HTTP 204 and GET /gists/starred, then DELETE unstar to HTTP 404. Never --web.
flowchart LR
Gist["View Public / Secret Gist"] --> Star["Click 'Star' Button in Header"]
Star --> Saved["Gist Added to Personal Starred List"]
Saved --> View["Browse anytime at gist.github.com/starred"]Star a gist
From Saving gists with stars:
- Navigate to Discover and open the gist you want to star (or open any gist URL).
- In the top-right corner of the page, click Star.
- Optionally, to remove it later, click Unstar. That drops the gist from your starred list.
View your starred gists
Starring makes it easy to find a gist again. Either:
- Go directly to
https://gist.github.com/YOUR_USERNAME/starred, or - Follow the menu path:
- Navigate to your gist home page.
- In the top right, click your profile picture.
- From the dropdown, select Starred gists.
You can also browse recently starred gists from other users on the Gist starred page.