Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Tomohiro/gyazo-cli
:camera: Gyazo command-line uploader
https://github.com/Tomohiro/gyazo-cli
cli go gyazo
Last synced: 2 months 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-12-10T11:01:59.000Z (about 5 years ago)
- Last Synced: 2024-11-15T15:50:42.066Z (2 months ago)
- Topics: cli, go, gyazo
- Language: Go
- Homepage: https://tomohiro.github.io/gyazo-cli
- Size: 125 KB
- Stars: 20
- Watchers: 2
- 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
================================================================================[![GitHub Releases](https://img.shields.io/github/release/tomohiro/gyazo-cli.svg?style=flat-square)](https://github.com/tomohiro/gyazo-cli/releases)
[![Build Status](https://img.shields.io/travis/com/tomohiro/gyazo-cli.svg?style=flat-square)](https://travis-ci.com/tomohiro/gyazo-cli)
[![Go Report Card](https://goreportcard.com/badge/github.com/tomohiro/gyazo-cli?style=flat-square)](https://goreportcard.com/report/github.com/tomohiro/gyazo-cli)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](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.