Project

tinygist

0.0
No commit activity in last 3 years
No release in over 3 years
A simple tool to to share gist content from and to clipboard.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0

Runtime

~> 1.1
 Project Readme

tinygist

A simple tool to to share gist content to and from clipboard.

Installation

$ go get github.com/ritiek/tinygist

Usage

$ tinygist -h
Usage of tinygist:
  -d    Copy gist contents to clipboard (default true)
  -i string
        Unique Identifier
  -u    Create gist from clipboard content

Create a new gist from your clipboard content:

$ tinygist <some_unique_keywords>

Get the gist content on another PC's clipboard:

$ tinygist -d <same_unique_keywords>

BEWARE: Make sure you do not have any sensitive data on your clipboard before sharing your content. You won't be able to remove it later on! (Even though we create a secret gist but prying eyes can reach anywhere!)

How it Works?

  • This tool creates a secret Gist from your clipboard content and then shortens the generated raw URL to https://git.io/unique_identifer.
  • When somebody tries to access this unique identifier, the tool expands this shortened URL and places the Gist content on the clipboard.

Contributing

Ideas, bug reports and pull requests are welcome but remember, we want to keep this tool plain and simple.

License

License