Goris CLI Tool for Google Reverse Image
Goris CLI Tool for Google Reverse Image

Goris: CLI Tool for Google Reverse Image

This is a CLI tool to search for images with Google Reverse Image Search. 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.

go run goris.go help
NAME:
   goris - Search for images with Google Reverse Image Search.

USAGE:
   goris [global options] command [command options] [arguments...]

VERSION:
   3.0.4

AUTHOR:
   tanaike [ https://github.com/tanaikech/goris ]  <tanaike@hotmail.com>

COMMANDS:
   search, s  [ goris s -u URL ] or [ goris s -f file ]
   help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

or

Use go get.

$ go install github.com/tanaikech/goris@latest

IMPORTANT

20230406: In the current stage, the specification for running the reverse image search was changed at Google side. I could modify the script for searching the images using an image URL. But, I have still not modified the script for searching the images using an image file. I’m sorry for this. Now, I am analyzing. When I could do it, I would like to modify this. So, in the current stage, please use the following command.

$ goris s -u [image URL]
Example of Goris usage
Example of Goris usage

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
Download reverse image search with Goris
Download reverse image search with Goris

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

Visit GitHub Repository