finds.dev

defunkt/gist

Potentially the best command line gister.

View on GitHubHomepage ↗

★ 3,807RubyMITupdated Jun 2026

// the take

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.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
3,807
Forks
342
Language
Ruby
License
MIT
Last commit
19 Jun 2026

// nearby

If gist isn't quite it.

All repos →