0ssamaak0 / CLIPPyX

AI Powered Image search tool offers content-based, text, and visual similarity system-wide search.
MIT License
110 stars 10 forks source link

Include / Execlude some Folders #4

Open 0ssamaak0 opened 4 weeks ago

0ssamaak0 commented 4 weeks ago

In windows version, Everything by default gets all image from config.yaml user can use include_folders / exclude_folders to manage this.

Implementation

There're 2 suggested approaches

  1. get all images from everything_images.py and later add/remove according to given dirs (slower)
  2. Everything itself has this functionality, but we have to explore the SDK to see how to this
marshal-dteach commented 4 weeks ago

@0ssamaak0 I would like to work on this, can you assign this issue to me?

0ssamaak0 commented 4 weeks ago

yeah ofc, I assigned you.

I also updating config.yaml to contain the followign settings

# config.yaml
# Folders settings: Select folders to include / exclude for indexing
include_folders:
    - all # default (Comment this if you want to specify folders)
    # - path/to/folder1
    # - path/to/folder2

exclude_folders:
    # - path/to/folder1
    # - path/to/folder2

and imported them in everything_images

Thank you very much for help!