julyx10/lap
An offline-first photo manager for large local libraries
What is Lap?
Lap is a free, open-source desktop app for managing personal photo libraries on macOS, Windows, and Linux. It's designed as a privacy-focused alternative to cloud photo services like Google Photos or iCloud: your photos stay on your own disk, there's no forced upload or account, and all AI-powered features run locally on your machine.
Core Philosophy
- Local-first: Photos remain ordinary files in your existing folders — Lap never imports them into a closed database you can't escape.
- Folder-first workflow: You work directly with the folders you already have, rather than being locked into a proprietary library format.
- Private AI: Search, face recognition, similarity matching, and smart tagging all run on your own computer — nothing is sent to the cloud.
- Built for scale: Optimized for smooth browsing of libraries with 100,000+ files.
- Free and inspectable: No subscription, no forced ecosystem, and the code is open under the GPL-3.0 license.
Key Features
- Flexible browsing: Sort and search photos by date, folder, location, camera, lens, tags, ratings, and faces.
- Local AI search: Find photos using text prompts, visual similarity, subjects, and face clustering. Optional multilingual search supports 50+ languages.
- Smart Albums: Save rule-based views (e.g., "all photos from 2023 with a rating of 4+") with custom grouping and sorting.
- Duplicate cleanup: Find duplicate sets, see how much space you'd reclaim, and remove them in bulk.
- Culling & comparison: A four-pane viewer lets you compare similar shots side-by-side to pick the best.
- Built-in editing: Crop, straighten, rotate, flip, resize, and basic image adjustments — no separate editor needed.
- Photo Collage: Compose selected photos into grid, mosaic, or picture-pile layouts.
- Motion photos: Supports Apple Live Photos and Google Motion Photos with playback.
- RAW + JPEG/HEIC pairs: Shows paired files as a single item and keeps them together during file operations.
- Map view: Explore geotagged photos and videos on an interactive map, with clusters that follow your current filters.
- Offline albums: Albums on disconnected or network storage stay visible with cached thumbnails.
- Broad format support: 60+ photo, RAW, and video formats, including common RAW formats (CR2, NEF, ARW, DNG, etc.) and video formats (MP4, MOV, MKV, etc.).
Important: What Lap Stores vs. What Stays in Your Files
This distinction matters if you also manage the same folders in Finder, Explorer, or another app:
Stays with the file:
- Your original photos/videos remain ordinary files in their folders.
- Embedded metadata (EXIF capture date, camera, lens, GPS, orientation) is read from the file itself.
- Edits you save are written to the selected destination.
- When you rename/move/copy/delete inside Lap, it keeps its catalog in sync and keeps grouped assets (Live Photo components, RAW+JPEG pairs) together.
Stored only in Lap's local database (not written into the files):
- Collections, tags, comments, favorites, ratings, and culling states (picks/rejects)
- Smart Album rules and ordering
- AI search data, face data, thumbnails, and index/cache data
Consequence: If you copy or move a file outside Lap, this extra organization data doesn't travel with it. Changes made outside Lap (renaming, moving, replacing files) can disrupt organization that only exists in Lap's database. The README recommends: if you rely on tags/ratings/etc., do your file operations inside Lap, and back up Lap's database alongside your photos. Deleting Lap's database removes this organization data but never deletes your original media files.
Uninstalling
Uninstalling Lap (or deleting its database/cache) does not delete your original photos. The README provides platform-specific cleanup commands to remove the app plus its local database, thumbnail cache, and config files.
Technical Architecture
- Core: Tauri + Rust
- Frontend: Vue + Vite + Tailwind CSS
- Data: SQLite
Key libraries used:
- LibRaw — RAW image decoding
- libheif — HEIC/HEIF decoding
- libjpeg-turbo — fast JPEG decoding
- FFmpeg — video processing and thumbnails
- Video.js — video playback UI
- ONNX Runtime — local AI model inference
- CLIP — image-text similarity search
- InsightFace — face detection/recognition
- Leaflet — interactive maps
- daisyUI — UI components
Building from Source
Requires Node.js 20+, pnpm, and Rust stable. The build process involves cloning with submodules, installing Tauri CLI, downloading AI models and FFmpeg sidecar scripts, then running cargo tauri dev. Linux builds can optionally link against the system libheif instead of the bundled one.
Availability
Pre-built installers are available for macOS (Apple Silicon/Intel, notarized), Windows 10/11 (x64/ARM64, unsigned), and Linux (DEB and AppImage for x64/ARM64). macOS users can also install via Homebrew. An experimental Arch Linux build recipe exists but isn't published to the AUR yet.
License
GPL-3.0-or-later.
Related
- Project
- Project
- Project
- Project
- Project