tanaikech / goris

This is a CLI tool to search for images with Google Reverse Image Search (goris).
MIT License
104 stars 14 forks source link
cli cli-app cli-tool golang google-image-search reverse-image-search

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 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]

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 tanaike@hotmail.com

Update History

TOP