@sugarcube/plugin-google
v0.42.1
Published
A plugin for SugarCube to interact with some google services.
Downloads
16
Maintainers
Readme
@sugarcube/plugin-google
Installation
npm install --save @sugarcube/plugin-google
Plugins
google_search
Search on Google for a term, specified by the query type google_search
.
$(npm bin)/sugarcube -Q google_search:Keith\ Johnstone -p google_search,tap_printf
Configuration Options:
google.headless
: Set totrue
to show the browser window, otherwise browse headless if set tofalse
. Defaults tofalse
.sugarcube -Q google_search:Keith\ Johnstone -p google_search,tap_printf --google.headless false
google_images
Make a Google image search for a term, specified by the query type google_search
.
$(npm bin)/sugarcube -Q google_search:Keith\ Johnstone -p google_images,tap_printf
Configuration Options:
google.headless
: Set totrue
to show the browser window, otherwise browse headless if set tofalse
. Defaults tofalse
.sugarcube -Q google_search:Keith\ Johnstone -p google_search,tap_printf --google.headless false
google_reverse_images_files
Make a Google reverse image search. Specify a glob pattern by the query type
glob_pattern
that resolves to a list of image files.
$(npm bin)/sugarcube -Q glob_pattern:images/**/*.jpg -p google_reverse_images_files
Configuration Options:
google.headless
: Set totrue
to show the browser window, otherwise browse headless if set tofalse
. Defaults tofalse
.sugarcube -Q google_search:Keith\ Johnstone -p google_search,tap_printf --google.headless false