copy2gist

Copy Paste directly from your clipboard to GIST via terminal

Usage no npm install needed!

<script type="module">
  import copy2gist from 'https://cdn.skypack.dev/copy2gist';
</script>

README

Copy2gist npm version Build Status

Dead-simple Copy Paste directly from your clipboard to GIST via terminal

npm install -g copy2gist

Install this globally and you'll have access to the copy2gist command anywhere on your system.

Usage

copy2gist

Setup

1.) Create gist token

curl -u YOUR_GITHUB_USERNAME \
  -d '{"scopes":["gist"],"note":"gist access"}' \
  https://api.github.com/authorizations

2.) Set gist credentials

git config --global --add gist.username YOUR_GITHUB_USERNAME
git config --global --add gist.token THAT_TOKEN_YOU_GOT