The official GitHub command line tool `gh` provides the `gist` sub-command. Replacing gist.rb with gh can also reduce messy curl and jq logic in gister. Later gister can be turned into a GitHub CLI extension.