Skip to content
📷 Gyazo command-line uploader
Go Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE
Makefile
README.md
go.mod
go.sum
main.go
version.go

README.md

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.

You can’t perform that action at this time.