Skip to content
/ fist Public

✊ Fast gist uploader. Upload binary, image, text... whatever to gist.

License

Notifications You must be signed in to change notification settings

Xvezda/fist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Fist

License

The fast & easy gist uploader script. Derieved from shhhh project.

Usage

fist [files ...]
# or
echo 'something' | fist

Options

usage: fist [-h] [--browser] [--verbose] [--silent] [--dry] [--skip-all]
            [--user [USER]] [--token [TOKEN]]
            [files [files ...]]

positional arguments:
  files                 files to upload.

optional arguments:
  -h, --help            show this help message and exit
  --browser, -b         open web browser when gist uploaded.
  --verbose, -v         print informations for debugging.
  --silent, -s          ignore outputs, except gist url.
  --dry, -d             dry run.
  --skip-all, -q        skip all optional inputs.
  --user [USER], -u [USER]
                        set github user name.
  --token [TOKEN], -t [TOKEN]
                        set github access token.

Setting

export GITHUB_USERNAME=[YOUR_USERNAME_HERE]        # Or, fist --user USERNAME
export GITHUB_TOKEN_FIST=[YOUR_ACCESS_TOKEN_HERE]  # Or, fist --token TOKEN

How to get token

Go to settings > profile > Developer settings > Personal access tokens.

Then, click Generate new token and check gist checkbox for permission.

See also

About

✊ Fast gist uploader. Upload binary, image, text... whatever to gist.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages