Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/team-fruit/gyazothumbs
Simple command-line tool to get thumbs/pictures from Gyazo
https://github.com/team-fruit/gyazothumbs
command-line-tool gyazo java maven
Last synced: about 10 hours ago
JSON representation
Simple command-line tool to get thumbs/pictures from Gyazo
- Host: GitHub
- URL: https://github.com/team-fruit/gyazothumbs
- Owner: Team-Fruit
- License: mit
- Created: 2017-09-19T11:56:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-10T15:45:35.000Z (almost 3 years ago)
- Last Synced: 2023-08-03T17:35:53.477Z (over 1 year ago)
- Topics: command-line-tool, gyazo, java, maven
- Language: Java
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GyazoThumbs
[![Latest Release](https://img.shields.io/github/release/Team-Fruit/GyazoThumbs.svg?label=Latest%20Release&style=flat)](https://github.com/Team-Fruit/GyazoThumbs/releases/latest) [![Build Status](https://travis-ci.org/Team-Fruit/GyazoThumbs.svg?branch=master)](https://travis-ci.org/Team-Fruit/GyazoThumbs)
Simple command-line tool to get thumbs from Gyazo## Requirements
- Java7 or Java8## Installation
Download the [latest release](https://github.com/Team-Fruit/GyazoThumbs/releases/latest), make a working folder and put jar file.## How It Works (Outdated)
The command-line front-end of Gyazo Thumbs, "GyazoThumbs", download thumbnails of all the images stored in Gyazo. All thumbnails will be JPEG (GIF) and the image will be degraded, but **~~this works even if the account is not Pro.~~ (NOT WORKING NOW)** Also, if your account is Pro, you can also download raw images. You can specify the directory to download, number of photos to get, and whether to download only new photos since last downloads.## Usage
If you don't have a Gyazo access token, create a new application from [Gyazo Applications](https://gyazo.com/oauth/applications) and generate an access token from the details page. Callback URL can be sloppy.The simplest use is to run from command-line with tokens only. It downloads all the thumbnails of the authenticated account to the thumbs folder:
```
$ java -jar gyazothumbs-{Version}.jar {Access Token}
```
To download the raw image, use the `-pro` option. (It must be a Gyazo Pro account.):
```
$ java -jar gyazothumbs-{Version}.jar {Access Token} -pro
```
To download only new images, use the `-new` option:
```
$ java -jar gyazothumbs-{Version}.jar {Access Token} -new
```
To specify the number of downloads, add a number to the option:
```
$ java -jar gyazothumbs-{Version}.jar {Access Token} 512
```
To download photos to a directory other than thumbs, use the `-dir` option:
```
$ java -jar gyazothumbs-{Version}.jar {Access Token} -dir full/path
```
To change the number of download threads, use the `-thread` option. The default is 4:
```
$ java -jar gyazothumbs-{Version}.jar {Access Token} -thread 8
```
All of these options can be mixed and used. example:
```
$ java -jar gyazothumbs-{Version}.jar {Access Token} -dir C:\data\thumbs -new 100
```