// the find
defunkt/gist
Potentially the best command line gister.
A Ruby CLI and library for pushing code snippets to GitHub Gist from the terminal. Does one thing: takes files or stdin, uploads them, and hands you back a URL. Useful for anyone who shares code snippets frequently and wants to skip the browser.
Device-code OAuth flow is the right call — no password storage, tokens scoped to gist only. Library interface is clean; Gist.gist() and Gist.multi_gist() cover 90% of programmatic use cases without ceremony. GitHub Enterprise support via GITHUB_URL env var is well-thought-out, including per-host token file naming. Ships a pre-built binary in build/gist so you don't need Ruby installed to use it.
The username-password auth flow is still documented and partially supported even though GitHub killed it — that section of the README is just noise that will confuse people. No support for updating gist descriptions or visibility after creation; -u only updates file content. The project is defunkt's original gem but has been handed off through multiple maintainers with no clear current owner — last few commits are sparse and issues pile up. Zero configuration file support; if you always want private gists, you're aliasing forever.