Ad

gist: Command line code uploader

gist uploads code efficiently from the terminal. Automate code sharing effortlessly, supporting various authentication methods and offering flexible options for sharing and managing gists.
Screenshot of defunkt/gist homepage

gist is a command-line tool for uploading code to https://gist.github.com/. It simplifies the process of sharing code snippets directly from the terminal. The tool aims to provide a convenient and straightforward way to create and manage gists without needing a graphical interface.

The tool offers multiple authentication methods, including OAuth 2.0 and a token-based system. It allows users to easily copy URLs to the clipboard or open gists directly in a browser. It also provides options for private gists, adding descriptions, and updating existing gists.

  • Code Upload: Upload files directly from the terminal using simple commands.
  • Authentication: Supports OAuth 2.0 and username/password authentication with GitHub and GitHub Enterprise.
  • Clipboard Integration: Copy gist URLs to the clipboard with the -c flag.
  • Browser Opening: Open gists in a browser using the -o flag.
  • Private Gists: Create private gists with the -p flag.
  • Update Gists: Update existing gists with the -u flag.
  • Multiple Files: Upload multiple files in a single gist.

The gist gem is a mature project with a history spanning over a decade and active maintenance. Recent commits and issue activity suggest ongoing development, although the core functionality remains stable. Comprehensive documentation and a reasonably active community ensure usability and support.

Developers and individuals who frequently share code snippets will benefit from gist. It streamlines code sharing workflows, provides a convenient alternative to web-based interfaces, and offers a reliable way to manage gists directly from the command line. It's particularly useful for automating code sharing processes and integrating with scripting workflows.

Languages:
Summarize:
Share:
Stars
3,807
Forks
342
Issues
55
Created
17 years ago
Commit
1 month ago
License
MIT
Archived
No
Updated 17 days ago

Similar Repositories