Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xvezda/fist
:fist: Fast gist uploader. Upload binary, image, text... whatever to gist.
https://github.com/xvezda/fist
command-line-tool gist-client github-api python-script
Last synced: 2 months ago
JSON representation
:fist: Fast gist uploader. Upload binary, image, text... whatever to gist.
- Host: GitHub
- URL: https://github.com/xvezda/fist
- Owner: Xvezda
- License: mit
- Created: 2020-01-22T09:48:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-22T23:18:00.000Z (almost 5 years ago)
- Last Synced: 2024-10-04T21:14:35.395Z (3 months ago)
- Topics: command-line-tool, gist-client, github-api, python-script
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fist
![License](https://img.shields.io/github/license/Xvezda/fist)The fast & easy gist uploader script. Derieved from [shhhh](https://github.com/xvezda/shhhh) project.
## Usage
```sh
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](https://github.com/settings/profile) > [Developer settings](https://github.com/settings/apps) > [Personal access tokens](https://github.com/settings/tokens).
Then, click *Generate new token* and check `gist` checkbox for permission.
## See also
* [shhhh](https://github.com/xvezda/shhhh)