Go to file
Stefan Forstenlechner 0e28646b62 Remove image check when loading number of files
Checking if an image is processable when loading the directory slowed
 down the initial loading of the directories significantly.
7ms vs 180ms in a small test with about 400 images.
User should not have any other files in these folders.
Other methods still contain sanity checks.
2024-08-15 23:33:40 +02:00
picture-gallery-client Remove default folder 2024-08-15 20:34:20 +02:00
picture-gallery-server Remove image check when loading number of files 2024-08-15 23:33:40 +02:00
public Move images to another folder 2024-08-15 20:34:20 +02:00
.dockerignore Add some sensible sorting 2022-05-26 23:05:48 +02:00
.gitignore integrate lighthouse 2022-08-08 17:34:32 +02:00
Dockerfile Add test for securityChecks 2022-06-18 16:03:14 +02:00
README.md migrate to vite + update dependencies 2024-08-15 20:34:18 +02:00
package.json update server versions 2024-08-12 12:18:53 +02:00

README.md

Simple Picture Gallery

Getting Started

Docker

docker build . -t simple-picture-gallery
docker run -p 3005:3001 -v /mnt/data/pictures:/usr/src/app/public --name my-picture-gallery simple-picture-gallery

Customization

Create an environment file .env:

VITE_TITLE=My Gallery
VITE_APPBAR_COLOR=#F8AB2D

Other properties:

VITE_FAVICON_HREF=<URL to your favicon>

And run docker with --env-file .env

docker run -p 3005:3001 -v C:/DATA/temp/bla:/usr/src/app/public --env-file .env --name my-picture-gallery simple-picture-gallery