Skip to content

Backend service written in Kotlin with Spring Boot for the Local Gallery Android app that provides child folders and images of a selected directory.

Notifications You must be signed in to change notification settings

memostark/LocalGalleryServer

Repository files navigation

Local Gallery Server (Spring version)

Backend server written in Java/Kotlin with Spring Boot for Local Gallery Android app that provides child folders and images of the selected directory.

Run using source code

Run using Gradle, first build the program:

gradlew clean build

Set up the environment variable BASE_PATH to the location of your root folder and run:

gradlew bootRun

The program can also be run using Docker:

docker build -t gallery_app .
export BASE_PATH="/path/to/folder"
docker run -p 80:80 -e "BASE_PATH=${BASE_PATH}" -e "VOLUME_PATH=images" --mount type=bind,src="${BASE_PATH}",target=/images -e OUTBOUND_IP_ADDRESS=your_ip gallery_app

About

Backend service written in Kotlin with Spring Boot for the Local Gallery Android app that provides child folders and images of a selected directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published