goris

command module
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 4 Imported by: 0

README

goris

Build Status MIT License

Overview

This is a CLI tool to search for images with Google Reverse Image Search.

Description

Images can be searched by image files and image URLs. Searched images display URLs and also can be downloaded as image files.

How to Install

Download an executable file from the release page and put to a directory with path.

or

Use go get.

$ go get -u github.com/tanaikech/goris

Usage

Search images from an image file. You can select number of output URLs using -n. The maximum number of output URLs is 100. (The current default value is 10. So when -n is not used, 10 URLs are returned.)

$ goris s -f [image file] -n 50

Search images from an image URL.

$ goris s -u [image URL]

Download searched images from an image file. Following sample downloads 10 searched images using an image file.

$ goris s -f [image file] -d -n 10

Retrieve web pages with matching images on Google top page. When this is not used, images are retrieved.

$ goris s -u [image URL] -w
$ goris s -f [image file] -w

Licence

MIT

Author

TANAIKE

If you have any questions and commissions for me, feel free to tell me using e-mail of [email protected]

Update History

  • v1.0.0 (April 26, 2017)

    Initial release.

  • v1.0.1 (May 16, 2017)

    1. A bugfix
      • When number of retrieved URLs is smaller than number of default output, an error had occurred. This was fixed. (Thank you! Steve Davis)
  • v1.1.0 (June 13, 2017)

    1. Add option
      • When images are matched to a searched image, web pages with matching images are retrieved. These are web pages displayed on Google top page. When this is not used, images are retrieved. This was added as a boolean option. (This was added by a request.)

  • v1.1.1 (January 3, 2020)

    1. It seems that the specification of github.com/urfave/cli was changed by the update of https://github.com/urfave/cli. By this, when go get -u github.com/tanaikech/goris is run, an error occurred. So this error was removed.

  • v2.0.0 (April 23, 2020)

    1. The specification for running the reverse image search was changed at Google side. By this, this application was also changed.

TOP

Documentation

Overview

Package main (doc.go) : This is a CLI tool to search for images with Google Reverse Image Search (goris).

Images can be searched by image files and image URLs. Searched images display URLs and also can be downloaded as image files.

---------------------------------------------------------------

# Usage Search images from an image file. You can select number of output URLs using “-n“. The maximum number of output URLs is 100.

$ goris s -f [iamge file] -n 50

Search images from an image URL.

$ goris s -u [iamge URL]

Download searched images from an image file. Following sample downloads 10 searched images using an image file.

$ goris s -f [iamge file] -d -n 10

Retrieve web pages with matching images on Google top page. When this is not used, images are retrieved.

$ goris s -u [iamge URL] -w

$ goris s -f [iamge file] -w

---------------------------------------------------------------

Package main (goris.go) : This file is included all commands and options.

Directories

Path Synopsis
Package ris (ris.go) : These methods are for retrieving images from url and file.
Package ris (ris.go) : These methods are for retrieving images from url and file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL