https://github.com/tomohiro/gyazo-cli
:camera: Gyazo command-line uploader
https://github.com/tomohiro/gyazo-cli
cli go gyazo
Last synced: about 1 year ago
JSON representation
:camera: Gyazo command-line uploader
- Host: GitHub
- URL: https://github.com/tomohiro/gyazo-cli
- Owner: tomohiro
- License: mit
- Created: 2014-08-13T10:57:08.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2019-12-10T11:01:59.000Z (over 6 years ago)
- Last Synced: 2025-03-27T04:51:17.589Z (about 1 year ago)
- Topics: cli, go, gyazo
- Language: Go
- Homepage: https://tomohiro.github.io/gyazo-cli
- Size: 125 KB
- Stars: 20
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Gyazo CLI
================================================================================
[](https://github.com/tomohiro/gyazo-cli/releases)
[](https://travis-ci.com/tomohiro/gyazo-cli)
[](https://goreportcard.com/report/github.com/tomohiro/gyazo-cli)
[](https://github.com/tomohiro/gyazo-cli/blob/master/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](http://www.imagemagick.org/script/index.php) 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](https://github.com/tomohiro/gyazo-cli/releases) and download a zip file.
### go get
Install to `$GOPATH/bin`:
```
$ GO111MODULE=off go get -u github.com/tomohiro/gyazo-cli
```
Contributing
--------------------------------------------------------------------------------
See [CONTRIBUTING](CONTRIBUTING.md) guideline.
LICENSE
--------------------------------------------------------------------------------
© 2014 - 2019 Tomohiro Taira.
This project is licensed under the MIT license. See [LICENSE](LICENSE) for details.