xemle / home-gallery

Self-hosted open-source web gallery to view your photos and videos featuring mobile-friendly, tagging and AI powered image discovery
https://home-gallery.org
MIT License
805 stars 61 forks source link

No api server? #119

Closed JohnnyDarks closed 1 month ago

JohnnyDarks commented 7 months ago

Is it possible to build project with no api server at all? My current use case does not have a need for a api server.

xemle commented 7 months ago

Hi @JohnnyDarks

you can disable the api server calls via the gallery.config.yml:

extractor:
  apiServer:
    disable:
      - similarDetection
      - objectDetection
      - faceDetection
JohnnyDarks commented 7 months ago

OK, That is what I initially tried. Let me alter the question a bit. Is there anyway to build home-gallery without having to build api-server or download the dependence that solely depend on the api-server?

xemle commented 7 months ago

If you mean how to build the gallery from source without the api-server to save disk space:

The same is done on the CI in .github/workflows/build-binary.yml.

xemle commented 1 month ago

Closing this issue due inactivity.

Please reopen it, if it becomes active again.