$ jpg-to "haskell logo"
https://wiki.haskell.org/wikiupload/6/6e/Haskell_logo_falconnl_8_fancy.png
It doesn't actually only limit to jpg files. Everything else is hard-coded. Errors are not handled. I don't know how to write Haskell.
$ cp conf.sample conf
$ cabal sandbox init
$ cabal install -j
$ cabal build
Put your public API access key and custom search engine id in conf
.
- https://console.developers.google.com/project
- Create project
- APIs & auth > APIs > Custom Search API > Enable
- APIs & auth > Credentials > Create new Key > Server key
- https://cse.google.com/cse/all
- Add
- Pick a random site to search; name the search engine; create
- Edit your search engine
- Remove the site if you want
- Change "Search only included sites" to "Search the entire web but emphasize included sites"
- Click "Search engine ID"
- Turn on "Image search"