📷 Gyazo command-line uploader
Switch branches/tags
Clone or download
Tomohiro Merge pull request #12 from Tomohiro/fix-install-task
Use `go build` instead of `go install` to install specify bindir
Latest commit 639c4b8 Jul 2, 2017
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
CHANGELOG.md Add 0.4.1 Oct 22, 2015
CONTRIBUTING.md
Gopkg.lock
Gopkg.toml
LICENSE Update copyright year Jul 2, 2017
Makefile Use `go build` instead of `go install` to install specify bindir Jul 2, 2017
README.md Update copyright year Jul 2, 2017
main.go Use go-gyazo package when access to the Gyazo API Oct 22, 2015
version.go Update comment Mar 19, 2016

README.md

Gyazo CLI

GitHub Releases Build Status Go Report Card MIT License

Gyazo command-line uploader

Usage

Take a screenshot and then upload

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

$ gyazo

Uploading a specific image

$ gyazo ~/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:

$ go get -d github.com/Tomohiro/gyazo-cli
$ cd $GOPATH/src/github.com/Tomohiro/gyazo-cli
$ make install

Contributing

See CONTRIBUTING guideline.

LICENSE

© 2014 - 2017 Tomohiro TAIRA.

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