preview images in folder with auto refresh when the new images added
1.3K
Preview images in folder with auto refresh when the new images added.
Main usecase is to check screen captured image.
preview-image-folder --help shows helpStart server by
cargo run -- --host 0.0.0.0 ./images
and open http://localhost:8000 .
Then, you can add images into ./images and the browser should be auto-reloaded and show images in the directory.
You can change directory or image extensions by argument --port and last aragument.
Please see help for detail by cargo run -- --help.
You can use docker image peccu/preview-image-folder from Docker Hub.
You need to mount the image folder into /app/images and listening port is 8000.
docker run --name preview-image-folder --rm -d -p 8000:8000 -v $(pwd):/app/images peccu/preview-image-folder:latest
change local image path in the docker-compose.yml, and the run these command.
docker-compose up -d
Content type
Image
Digest
sha256:08900b8a4…
Size
5.4 MB
Last updated
almost 4 years ago
docker pull peccu/preview-image-folder