A simple and user-friendly Photo Gallery for personal servers. It is made for photographers and aims to provide an easy and fast way to navigate directories, with thousands of high resolution photos.
Deploy this app to Linode with a free $100 credit!
Photoview is a simple and user-friendly photo gallery that's made for photographers and aims to provide an easy and fast way to navigate directories, with thousands of high-resolution photos.
You configure Photoview to look for photos and videos within a directory on your file system. The scanner automatically picks up your media and start to generate thumbnail images to make browsing super fast.
When your media has been scanned they show up on the website, organised in the same way as on the filesystem.
If you have questions regarding setup or development, feel free to join the Discord server https://discord.gg/jQ392948u9
Visit https://photos.qpqp.dk/
Username: demo Password: demo
There exists a lot of open-source self-hosted photo galleries already. Here are some, just to mention a few.
So why another one? I love taking photos, and I store all of them on my local fileserver. This is great because I can organize my photos directly on the filesystem so it's easy to move them or take backups. I want to be able to control where and how the photos are stored.
The problem is however that RAW images are extremely tedious to navigate from a fileserver, even over the local network.
My server holds a lot of old family pictures, that I would like my family to have access to as well. And some of the pictures I would like to easily be able to share with other people without the hassle of them having to make an account first.
Thus I need a solution that can do the following:
All of the photo galleries can do a lot of what I need, but no single one can do it all.
This section describes how to get Photoview up and running on your server with Docker. Make sure you have Docker and docker-compose installed and running on your server
docker-compose.yml
file on your computer, and copy the content of docker-compose.example.yml to the new file.docker-compose.yml
, find the comments starting with Change This:
, and change the values, to properly match your setup. If you are just testing locally, you don't have to change anything.$ docker-compose up -d
If the endpoint or the port hasn't been changed in the docker-compose.yml
file, Photoview can now be accessed at http://localhost:8000
If everything is setup correctly, you should be presented with an initial setup wizard, when accessing the website the first time.
Enter a new username and password.
For the photo path, enter the path in the docker container where your photos are located.
This can be set from the docker-compose.yml
file under api
-> volumes
.
The default location is /photos
A new admin user will be created, with access to the photos located at the path provided under the initial setup.
The photos will have to be scanned before they show up, you can start a scan manually, by navigating to Settings
and clicking on Scan All
/api/example.env
to .env
and update the MYSQL_URL
field/ui/example.env
to .env
Make sure golang is installed.
Some C libraries are needed to compile the API, see go-face requirements for more details. They can be installed as shown below:
# Ubuntu
sudo add-apt-repository ppa:strukturag/libheif
sudo add-apt-repository ppa:strukturag/libde265
sudo apt-get update
sudo apt-get install libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg-turbo8-dev libheif-dev
# Debian
sudo apt-get install libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev libheif-dev
# macOS
brew install dlib libheif
Then run the following commands:
cd ./api
go install
go run server.go
Make sure node is installed. In a new terminal window run the following commands:
cd ./ui
npm install
npm start
The site can now be accessed at localhost:1234. And the graphql playground at localhost:4001
@ericerkz |
@robin-moser |
@Revorge |
@deexno |
@FKrauss |
@jupblb |
Please login to review this project.
No reviews for this project yet.
UberGallery is an easy to use, simple to manage, web photo …
Personal photo management powered by Go and Google TensorFl…
Gallery.css is all CSS. Think: Simple, maintainable and und…
Comments (0)
Please login to join the discussion on this project.