jana-photos

Your photos on your own server: a web gallery, and Jana Backups, an Android app that uploads your phone's photos to it. Aiming to be a self-hosted alternative to Google Photos.

Install guideSource on GitHub

Jana Backups icon: a photo with a check mark
Early software. Keep your own backups.
It has been tried with generated files and an Android emulator, not yet with a real phone on the single-machine setup, nor with a large library. One machine is one copy: do not delete photos from a phone because they were uploaded. No app file (APK) is published: you build the Android app yourself.

What it does

Know this before you try it

Install on one machine

You need Linux, ffmpeg, Go 1.23 or newer, and a photo folder on a filesystem with hard links (not FAT or exFAT). Building the Android app also needs a JDK and Google's Android SDK. After building the program, the core steps are:

# once: data folder, your sign-in (password on stdin), a marker in the photo folder
./jana-photos setup -data DATA -media PHOTOS -user NAME

# preview, then add -apply
./jana-photos index -media PHOTOS -db DATA/gallery.db

# web gallery and phone service
./jana-photos serve -data DATA

This is an outline. By default the web gallery listens only on that machine; the install guide has the full commands, the options for phones, and how to build and sign the app.