This is a flutter based web interface that connects to an existing pigallery2 server to show folders/photos/videos in a mobile friendly format. This is just for testing purposes at this point, and please leave any feedback under issues/discussions in github. pigallery2 server does not work well with CORS, hence you need to create a new nginx web server in the same domain as your running pigallery2 server.
To simplify all this, I have a docker image available that takes 3 properties as environment variables - PiGallery2 URL, username, password - and deploys everything automatically in a container.
Try it and please send me feedback. Note that this app runs as PWA (Progressive web app), hence most mobile browsers support this.
Foto.mp4
- Create a docker instance. I use portainer, but you can use docker cmd line.
- Sample Docker compose file is here, its self-explanatory - takes 3 properties as environment variables.
- Only PIGALLERY2_BASEURL_PROP is mandatory, PIGALLERY2_LOGIN_PROP and PIGALLERY2_PASSWORD_PROP are optional and needed only if you are running pigallery2 with login auth. This docker works both with and without auth enabled on pigallery2.
- Start the docker instance.
- Open Desktop browser and and point to http://host:post/foto/ - /foto/ is mandatory in the URL and hardcoded (for now).
- Open Safari on iPhone and point to http://host:post/foto/. Once loaded, you can "share/Add to Home Screen" to add as an app on iphone.