Prerequisites
Clipboard
For clipboard features make sure you have a working clipboard backend. (e.g. 'xclip', 'wl-copy' on Linux. 'pbcopy' on MacOs)
Terminal colors
To get syntax highlighting when fetching snippets from the terminal make sure you have 256-bit colored terminal. Term colors
Installation
Gistit is avaiable in most distribution channels.Quick Install
With cargo:
sh
cargo install gistit
Cli binary
Get the latest build for your system here: Github
Basic usage
Sending
Send a gistit:
sh
gistit send file.txt [-c] [--author AUTHOR] [--description DESCRIPTION]
Send stdin:
sh
ls | gistit
Fetching
Fetching a gistit:
sh
gistit f [HASH] [--save]