Skip to main content

Desktop app

Preview

New in 1.7.0 The desktop app is a preview: what it does and how it looks can still change. Its Windows installer and macOS disk image come with every LibrePhotos release from 1.7.0 on.

The LibrePhotos desktop app (its window is called LibrePhotos Viewer) is two things in one:

  • a picture viewer that opens JPEG, HEIC, AVIF, JPEG XL, PNG, WebP, TIFF and camera RAW files at once when you double-click them in Explorer or Finder, and lets you rate, caption and tag them, and
  • a library of the folders you choose, with search, that can back them up to your LibrePhotos server.

For an overview with screenshots and the downloads, see the LibrePhotos Viewer page.

It works without a server, but then it searches by file name, folder, date, camera, caption and keyword only, not by what is in a picture: finding a dog, a beach or a person takes a LibrePhotos server (see Searching). The app is in English only.

Everything you do to your own pictures stays on your computer and in the pictures' own files, so other photo apps (and the LibrePhotos server, if it scans the same folders) see it too. When you connect a server, the app also shows what the server knows about a picture, such as the people in it and its albums.

PageWhat it covers
Viewing picturesOpening pictures, moving through a folder, zoom, rotate, delete, slideshow, the info panel, keyboard shortcuts
Editing a picture's detailsFavourites, star ratings, captions, keywords and the date taken, and where those changes are saved
Library and searchAdding folders, the timeline, searching your pictures
Connecting a server and backupSigning in, backing up folders, uploading one picture, what the server adds to the viewer
SettingsWhere edits are saved, maps, changes waiting for the server
Privacy policyWhat the app stores, what it sends and to whom

Installing it​

New in 1.7.0

On Windows, the simplest way is to get LibrePhotos Viewer from the Microsoft Store: Windows installs and updates it, and it needs no administrator rights (see The Microsoft Store build). To use the installer from GitHub instead:

  1. Download librephotos-desktop-windows-x64-setup.exe from the latest release (64-bit Windows 10 or 11). The same file is there as librephotos-desktop-<version>-windows-x64-setup.exe, next to SHA256SUMS-desktop to check the download: in PowerShell, Get-FileHash .\librephotos-desktop-windows-x64-setup.exe must print the SHA-256 listed for it.
  2. Run it. Windows may show Windows protected your PC, because the installer is not signed yet: click More info, then Run anyway.
  3. Choose who the app is for. Install just for me needs no administrator rights and installs into %LOCALAPPDATA%\Programs\LibrePhotos Viewer. Install for anyone using this computer asks an administrator and installs into C:\Program Files\LibrePhotos Viewer. Either way LibrePhotos Viewer is added to the Start menu.

Not released yet (comes after 1.7.0) The icon of the Viewer has black lines on white. LibrePhotos itself, the program that shows your photos in the browser, has white lines on black. Up to 1.7.0 both had the same icon.

Started without a picture, the app opens the library. Started with a file (or with a picture double-clicked once the app is your default viewer), it opens that picture.

The installer never changes which app opens your pictures; you choose. To make LibrePhotos Viewer the viewer Windows opens pictures with:

  • Installed for anyone using this computer: click Choose LibrePhotos Viewer as your photo viewer on the installer's last page, or later choose Set as default photo viewer in the â‹® menu of the viewer. Both open Windows' Default apps settings at the app's page, which lists every picture and RAW format it reads with the app that opens it now. Click a format and pick LibrePhotos Viewer; Windows asks once per format.
  • Installed just for you: Windows may not show the app's page in Default apps until you sign out and back in. Until then, right-click a picture, choose Open with → Choose another app → Choose an app on your PC, select %LOCALAPPDATA%\Programs\LibrePhotos Viewer\librephotos-viewer.exe and click Always, once per format.

To update, run the installer of the newer release; your library, settings and edits stay. To remove the app, use Settings → Apps → Installed apps → LibrePhotos Viewer → Uninstall; tick Delete the application data to remove the library, caches and settings too (see below). Your pictures and their sidecars are never removed.

Linux builds don't exist yet. To build the app yourself, see Development: Desktop app.

The Microsoft Store build​

New in 1.7.0 Get it from the Microsoft Store, or search for LibrePhotos Viewer in the Store app. The Store build is the same app; Windows installs, updates and removes it, and it needs no administrator rights.

  • Making it your photo viewer: the Store build never changes which app opens your pictures either. Choose Set as default photo viewer in the â‹® menu of the viewer, or go to Settings → Apps → Default apps → LibrePhotos Viewer, and pick it for the formats you want. It is also listed under Open with.
  • Switching from the installer: keep the installer build installed until you have started the Store build once. On its first start the Store build copies your library, search index and settings from the installer build (once; caches are rebuilt), and you stay signed in to your server. Then uninstall the installer build. Leave Delete the application data unticked to keep its copy of the library, or tick it to remove that copy. From then on the two copies are separate.
  • Both installed: this works, but Open with lists LibrePhotos Viewer twice and only one of them runs at a time: a picture you open with the other one shows up in the one already running.
  • Removing it from Settings → Apps → Installed apps deletes the Store build's library, caches and settings with it. Your pictures and their sidecars stay.

On a Mac​

New in 1.7.0
  1. Download librephotos-desktop-macos-universal.dmg from the latest release (macOS 12 or later, Apple silicon and Intel). The same file is there as librephotos-desktop-<version>-macos-universal.dmg, next to SHA256SUMS-desktop-macos: in Terminal, shasum -a 256 ~/Downloads/librephotos-desktop-macos-universal.dmg must print the SHA-256 listed for it.
  2. Open it and drag LibrePhotos Viewer onto Applications, then eject the disk image.
  3. Start LibrePhotos Viewer from Applications or Launchpad. The app is signed with the project's Apple Developer ID and notarized by Apple, so macOS only asks, the first time, whether you want to open an app from the internet: click Open.

Installing never changes which app opens your pictures. To open a picture with the viewer, right-click it in Finder and choose Open With → LibrePhotos Viewer; dropping a picture on the app's Dock icon works too. To make it the app for a format, select a picture, choose File → Get Info, pick LibrePhotos Viewer under Open with and click Change All; macOS asks once per format. A picture you open while the app runs goes to the same window.

The first time you open a picture from your Desktop, Documents or Downloads folder, or from a memory card or network drive, macOS asks whether LibrePhotos Viewer may access it. Allow it, or the app can't show the picture.

To update, install the newer disk image the same way and replace the app. To remove the app, drag LibrePhotos Viewer from Applications to the Trash. macOS keeps the app's data; to remove it too, delete these folders (in Finder, Go → Go to Folder): ~/Library/Application Support/com.librephotos.viewer, ~/Library/Caches/com.librephotos.viewer, ~/Library/WebKit/com.librephotos.viewer, ~/Library/HTTPStorages/com.librephotos.viewer, ~/Library/Saved Application State/com.librephotos.viewer.savedState and the file ~/Library/Preferences/com.librephotos.viewer.plist. Your pictures and their sidecars are never in them.

The Mac App Store build​

New in 1.7.0 The app is being prepared for the Mac App Store and is not listed there yet. The App Store build is the same app in Apple's App Sandbox: the App Store installs and updates it, and it can only read the pictures and folders you give it.

  • A picture you open from Finder shows on its own at first, because the sandbox gives the app only that file. Click Show the whole folder and choose the folder (it is already selected) to see the other pictures in it; the app remembers the folder from then on. Pictures in your Pictures folder show their folder right away.
  • Library folders you add are remembered the same way.
  • Not released yet (comes after 1.7.0) A folder the app cannot open at a start, for example on a drive that is not plugged in, stays remembered and is opened again at the next start. Leaving a drive or a network share that macOS shows under /Volumes disconnected does not make the app forget its folders. Any other folder that cannot be opened, also one on a drive mounted somewhere else, is forgotten after at least 10 starts and 30 days; all you have to do then is choose the folder again.
  • Its data is separate from the downloaded build's: it lives in ~/Library/Containers/com.librephotos.viewer, and it starts with an empty library and signed out. Add your folders and sign in again; your edits are in the pictures' sidecars, so both builds see them. With both installed, Finder can open a picture with either; keep one.
  • Removing it: drag it from Applications to the Trash (or hold it in Launchpad and click the cross). Delete ~/Library/Containers/com.librephotos.viewer to remove its data too.

Where the app keeps its data​

WhatWhere
The library, search index and settings%LOCALAPPDATA%\com.librephotos.viewer\local.db; for the Microsoft Store build %LOCALAPPDATA%\Packages\<LibrePhotos Viewer's package>\LocalCache\Local\com.librephotos.viewer\local.db
Thumbnails and zoom tiles%LOCALAPPDATA%\com.librephotos.viewer\cache and tiles
Your server sign-inthe server address and user in settings.json next to the database; the sign-in token in the Windows Credential Manager, on a Mac in the login Keychain
Ratings, captions, keywords and dates you editnext to each picture in an XMP sidecar by default, see Where edits are saved

On a Mac the library and settings are in ~/Library/Application Support/com.librephotos.viewer and the thumbnails and tiles in ~/Library/Caches/com.librephotos.viewer (for the Mac App Store build both inside ~/Library/Containers/com.librephotos.viewer/Data), on Linux in $XDG_DATA_HOME/com.librephotos.viewer. Deleting the folder resets the app; your pictures and their sidecars are not in it. The program itself lives in a separate folder (%LOCALAPPDATA%\Programs\LibrePhotos Viewer when installed just for you, C:\Program Files\LibrePhotos Viewer when installed for everyone), so an update or an uninstall never touches the data unless you ask for it.