Skip to content

tomohiro/gyazo-cli

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gyazo CLI

GitHub Releases Build Status Go Report Card MIT License

Gyazo command-line uploader

Usage

$ gyazo-cli [PATH]

Example

Take a screenshot and then upload

NOTE: this feature is not available on Windows. (ImageMagick is required for Linux users)

$ gyazo-cli

Uploading a specific image

$ gyazo-cli ~/Desktop/image.png
http://gyazo.com/f1380d79593d2aaa0fcd412511f3d3e5

Configuration

Use Gyazo API client token

Set the access token to environment variable like this:

export GYAZO_ACCESS_TOKEN="YOUR GYAZO API ACCESS TOKEN"

Use self-hosted Gyazo server

Set the server URL to environment variable like this:

export GYAZO_SERVER_URL="http://my-gyazo.example.com"

Installation

Get the stable binary

Go to the release page and download a zip file.

go get

Install to $GOPATH/bin:

$ GO111MODULE=off go get -u github.com/tomohiro/gyazo-cli

Contributing

See CONTRIBUTING guideline.

LICENSE

© 2014 - 2019 Tomohiro Taira.

This project is licensed under the MIT license. See LICENSE for details.