A directory-first photo gallery website, with rich UI. http://bpatrik.github.io/pigallery2/
1M+
Homepage: http://bpatrik.github.io/pigallery2/
This is a directory-first photo gallery website, optimised for running on low resource servers (especially on raspberry pi)
Live Demo @ heroku: https://pigallery2.herokuapp.com/

Download and extract
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
Full node install on raspberry pi description: https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp
cd ~
wget https://github.com/bpatrik/pigallery2/releases/download/1.7.0/pigallery2.zip
unzip pigallery2.zip -d pigallery2
cd pigallery2
npm install
cd ~
wget https://github.com/bpatrik/pigallery2/archive/master.zip
unzip master.zip
cd pigallery2-master # enter the unzipped directory
npm install
npm build
Note: if you run npm run create-release, it creates a clean, minified, production ready version from the app in the release folder, that is ready to deploy.
Note2: you can use npm run create-release -- --languages=fr,ro to restrict building to the listed languages (english is added by default)
npm start
To configure it, run PiGallery2 first to create config.json file, then edit it and restart.
The app has a nice UI for settings, you may use that too.
Default user: admin pass: admin
If you have docker and don't want to install all the dependencies, you can use one of our docker build.
For configuration read more here or check all builds: https://hub.docker.com/r/bpatrik/pigallery2/tags/
Note: You dont need to do the installation steps if you are using docker.
You can set up the app the following ways:
config.jsonnode start -- --Server-port=3000 --Client-authenticationRequired=falseconfig.json for the config hierarchynpm start -- --config-onlyServer-port to 3000It is recommended to use a reverse proxy like nginx before node https://stackoverflow.com/questions/5009324/node-js-nginx-what-now
With cerbot & nginx it is simple to set up secure connection. You have no excuse not doing so. https://certbot.eff.org/
If you get error during module installation, make sure you have everything to build node modules from source
apt-get install build-essential libkrb5-dev gcc g++
npm run add-translation -- --fr
messages.fr.xls file at src/frontend/translate folder,
it will already contain dummy translation with google translate.npm install
npm start
Note: you can also build your own release with as described in 1.1.1-b Install from source;
supported formats:
Rendering directories as it is
On the fly thumbnail generation in several sizes
Custom lightbox for full screen photo and video viewing
Client side caching (directories and search results)
Rendering photos with GPS coordinates on open street maps
Two modes: SQL database and no-database mode
Faces (persons) support
internalization / translation support
Nice design
Setup page
Random photo url
video support
Dockerized
Markdown based blogging support - future plan
bug free :) - In progress
You are welcome to suggest new features to the application via github issues.
I cannot garantie any dealine with the development of a new feature. (I usually fix bugs within week/weeks.)
I will give a higher priority to a feature that has more 'likes' (i.e.: +1-s or thumbs ups) on it.
Crossbrowser testing sponsored by Browser Stack
Content type
Image
Digest
sha256:2556968c1…
Size
325.5 MB
Last updated
about 2 months ago
docker pull bpatrik/pigallery2:edge-debian-trixie