rclip is a command-line photo search tool based on the awesome OpenAI's CLIP neural network.
Currently, pre-built distributable is available only for Linux x86_64.
-
Download the AppImage from the latest release.
-
Execute following commands:
$ chmod +x <downloaded AppImage filename>
$ sudo mv <downloaded AppImage filename> /usr/local/bin/rclip
$ cd photos && rclip "search query"
The command from below will open top-5 results for "kitty" in your default image viewer. For this to work, you'll have to index the directory beforehand by running rclip in it without the -n
key.
$ rclip -nf -t 5 "kitty" | xargs -d '\n' -n 1 xdg-open
$ rclip --help
This repository follows the Conventional Commits standard.
Please, execute pipenv shell
to set PIP_FIND_LINKS
before running pipenv sync
or pipenv install
.
MIT