Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including gist-generator with all npm packages installed. Try it out:

gist-generator lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("gist-generator/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gist-generator v2019.7.19

github gist generator

github gist generator

Installation

$ [sudo] npm i -g gist-generator

How it works

  • description as folder name. or description.txt if exist
  • gitignore supported
  • clones .git after gist creation
  • skip if .git exists

Config

$ export GITHUB_TOKEN="<GITHUB_TOKEN>"

Scripts usage

commandusage
gist-generator`usage: gist-generator [-p

Examples

$ gist-generator .

private gist

$ gist-generator -p .

create multiple gists

$ find ~/git/gists -type d -mindepth 1 -maxdepth 1 -exec gist-generator {} \;

python-readme-generator

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free