dmpop/digikampanion
1
3
Fork
You've already forked digikampanion
0
PHP-based web UI for digiKam
  • PHP 81.4%
  • CSS 14.7%
  • Shell 3.9%
2026年04月20日 12:34:52 +02:00
favicons First commit 2026年03月14日 12:47:37 +01:00
inc Add comprehensive documentation to all PHP files 2026年04月11日 13:28:26 +02:00
lang Add map display with OpenStreetMap integration to EXIF panel 2026年04月20日 12:34:52 +02:00
tools Update settings and add local IP display to admin page 2026年04月11日 13:09:34 +02:00
.gitignore Switch from PHP built-in server to lighttpd with PHP support 2026年03月23日 17:33:08 +01:00
AGENTS.md Rename view-image.php to image.php for consistency 2026年03月16日 12:33:00 +01:00
config.php Add map display with OpenStreetMap integration to EXIF panel 2026年04月20日 12:34:52 +02:00
digikampanion.svg First commit 2026年03月14日 12:47:37 +01:00
download.php Add comprehensive documentation to all PHP files 2026年04月11日 13:28:26 +02:00
HOW_IT_WORKS.md Add map display with OpenStreetMap integration to EXIF panel 2026年04月20日 12:34:52 +02:00
image.php Add comprehensive documentation to all PHP files 2026年04月11日 13:28:26 +02:00
index.php Add comprehensive documentation to all PHP files 2026年04月11日 13:28:26 +02:00
LICENSE First commit 2026年03月14日 12:47:37 +01:00
login.php Add comprehensive documentation to all PHP files 2026年04月11日 13:28:26 +02:00
README.md Add map display with OpenStreetMap integration to EXIF panel 2026年04月20日 12:34:52 +02:00
SECURITY.md First commit 2026年03月14日 12:47:37 +01:00
settings.json Remove support for photos without album 2026年03月15日 13:13:19 +01:00
settings.php Add configurable viewer thumbnail size with progressive loading 2026年04月14日 13:17:45 +02:00
stats.php Add comprehensive documentation to all PHP files 2026年04月11日 13:28:26 +02:00
style.css Add map display with OpenStreetMap integration to EXIF panel 2026年04月20日 12:34:52 +02:00
thumbnail.php Add comprehensive documentation to all PHP files 2026年04月11日 13:28:26 +02:00
view.php Add map display with OpenStreetMap integration to EXIF panel 2026年04月20日 12:34:52 +02:00

digiKampanion

A lightweight PHP web interface for browsing photos managed by digiKam. Built to work with digiKam's SQLite database without relying on its thumbnail database.

Features

  • Browse albums and photos from digiKam's database
  • On-the-fly thumbnail generation (cached for performance)
  • EXIF statistics with CSS bar charts and top 5 rankings
  • RAW file filtering (NEF, DNG, ORF files excluded)
  • Full-size image fallback for unsupported formats
  • Lightbox viewer with keyboard navigation
  • EXIF metadata display
  • Geotagged photo map display
  • Star rating display
  • Download photo and RAW files
  • Responsive grid layout
  • Pagination for large albums
  • Optional password protection
  • Multi-language support (localization system)
  • Random shuffle sorting for photo discovery

Quick Start

  1. Install PHP on the machine that has your digiKam library
  2. Install the php-common php-sqlite3 php-imagick extensions.
  3. Grab the latest version of digiKampanion, and extract the downloaded archive (or use https://codeberg.org/dmpop/digikampanion.git)
  4. In the terminal, switch to the resulting digikampanion directory, and run php -S 0.0.0.0:8000
  5. Point the browser to http://127.0.0.1:8000 and configure the required settings

For more detailed information about deploying and using digiKampanion, refer to the official digiKampanion User Guide

File Structure

digikampanion/
├── index.php # Main album/photo browser
├── view.php # Lightbox viewer
├── stats.php # EXIF statistics and charts
├── image.php # Full-size image server
├── thumbnail.php # Thumbnail generator
├── download.php # Download photo/RAW files
├── config.php # Configuration and i18n initialization
├── settings.php # Settings page
├── login.php # Login page (when password protection enabled)
├── collections.txt # Root paths configuration
├── style.css # Styles
├── inc/
│ └── i18n.class.php # Internationalization class
├── lang/
│ └── en.ini # English translations
└── cache/
 ├── languages/ # Compiled language cache
 └── thumbnails/ # Thumbnail cache

Notes

  • RAW files (NEF, DNG, ORF) are automatically filtered out
  • Thumbnails are generated on first request and cached

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.

Support

For questions or issues, please check the existing issues or create a new one in the project repository.

Acknowledgments

Author

Dmitri Popov

Disclosure

The idea is mine. Most of the coding has been done using OpenCode.