bgist create a new gist on your GitHub and uploads the binary files to the newly created gist. Based on the idea in https://remarkablemark.org/blog/2016/06/16/how-to-add-image-to-gist/.
$ go get github.com/shihanng/bgist
Need GitHub's personal access token. The require scope is "gist".
Usage:
bgist [flags]
Examples:
BGIST_GITHUB_ACCESS_TOKEN=secret bgist -d "a demo" photo-1.png photo-2.jpg
Flags:
-d, --description string Description of the gist
-h, --help help for bgist
--public Publish as public gist