Here's a curated list of Free and Open-Source Software (FOSS) programs that can help you store your entire photo library in a single file (or a contained format) with support for additional features like tagging photos. Please note, the "single file" aspect might be interpreted in a couple of ways (e.g., a container file vs. a database file), so I've included options that cater to both interpretations:
1. DigiKam
- Single File/Container Support: Stores in a database, but can export/import to a single container file (e.g., via SQL dump). You can use the following command to export your database into a single file:
mysqldump -u [username] -p[password] [database_name] > digikam_backup.sql
- Tagging and More: Excellent tagging support, geotagging, face detection, and more.
- Platforms: Windows, macOS, Linux.
- FOSS License: GNU General Public License (GPL) v2+.
2. Piwigo
- Single File/Container Support: Uses a database for storage, but can be managed as a contained web application. You can use tools like
mysqldump for a "single file" database backup. Here's how you can do it:
mysqldump -u [username] -p[password] [database_name] > piwigo_backup.sql
- Tagging and More: Supports tagging, categories, geotagging, and has a wide range of plugins for additional features.
- Platforms: Primarily a web application, accessible on any platform via a web browser.
- FOSS License: GNU General Public License (GPL) v2.
3. KPhotoAlbum
- Single File/Container Support: Uses a database for storage. Can export/import to a contained format. You can export your database using the following command:
kpa_backup --output /path/to/backup.kpa
- Tagging and More: Strong tagging support, geotagging, face recognition, and more.
- Platforms: Windows, macOS, Linux.
- FOSS License: GNU General Public License (GPL) v2+.
4. gThumb (with SQLite backend)
- Single File/Container Support: When using the SQLite backend, your library can be stored in a single database file. You can copy this file to create a backup:
cp ~/.local/share/gthumb/gthumb.db ~/.local/share/gthumb/gthumb_backup.db
- Tagging and More: Supports tagging, geotagging, and basic image editing.
- Platforms: Primarily Linux, but can be compiled for other platforms.
- FOSS License: GNU General Public License (GPL) v2+.
5. Photoprism
- Single File/Container Support: Uses a database, but offers a "backup" feature that can export your library to a contained format. You can use the following command to create a backup:
photoprism backup /path/to/backup
- Tagging and More: AI-powered tagging, geotagging, face recognition, and more, with a modern web interface.
- Platforms: Can be run on any platform via Docker or as a web application.
- FOSS License: GNU Affero General Public License (AGPL) v3.
Choosing the Right Tool:
- Web Interface Preference: If you prefer managing your library through a web interface, Piwigo or Photoprism might be ideal.
- Desktop Application Preference: DigiKam, KPhotoAlbum, or gThumb could be more suitable.
- Ease of Use vs. Feature Set: DigiKam and Photoprism offer a broad feature set but might have a steeper learning curve. gThumb is more straightforward for basic needs.
- Single File Imperative: If the "single file" requirement is absolute and not open to interpretation, using a tool with an SQLite backend (like gThumb) or considering the database dump approach with others might be necessary.
Before committing to one, consider testing each with a small subset of your library to ensure it meets your specific needs and workflow preferences.