Skip to content

Common Lisp client for MATCH reverse image search

Notifications You must be signed in to change notification settings

tshatrov/match-client

Repository files navigation

Common Lisp client for MATCH (reverse image search). Allows you to reverse image search your local files from anywhere!

Read the technical blog post for more info about this thing.

Features

  • Upload images from your computer with (update). MATCH-CLIENT will search for images in the specified directories and add any new images to the MATCH server.
  • Search for images using (match url)

Installation

  1. match-client only works with SBCL.
  2. All the requirements except cl-graphicsmagick are installable through quicklisp. Install graphicsmagick libraries and cl-graphicsmagick manually. Note that there are issues with using graphicsmagick on Linux, see below.
  3. Set up MATCH server.
  4. Copy settings.lisp.template to settings.lisp and change the settings appropriately.
  5. Run (update) to upload all the images in *root-dirs* to the server.
  6. Next time you run (update) only files that changed will be updated. Deleted files will also be cleared from the server.

Known issues

There might be a problem with calling graphicsmagick on Linux from SBCL with the latter crashing right into a debugger (ldb). I recommend installing graphicsmagick from source, and comment out the following line in magick.c.

InitializeMagickSignalHandlers(); /* Signal handlers */

About

Common Lisp client for MATCH reverse image search

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published