Gistit.

Quick and easy anonymous code snippet sharing.
  • Practical

    Easy to use cli tool to quickly share a code snippet or a couple of files, with syntax highlighting!
  • Terminal Support

    Shared snippets can be accessed via web page or by entering a unique hash directly in your terminal.
  • Peer to peer

    Gistit enables peer to peer file sharing via libp2p. The network stack behind IPFS

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
Post to Github Gist
sh
gistit file.txt --github

Fetching

Fetching a gistit:
sh
gistit f [HASH] [--save]