Luminosity
A go library for accessing Adobe Lightroom catalogs
Install / Use
/learn @aalpern/LuminosityREADME
Luminosity
A library for accessing Adobe Lightroom catalogs.
Here's something you can do with the output - Lightroom Catalog Visualization with Go and d3 .
Documentation is available on godoc.org.
Capabilities
- Produce summary statistics on a variety of dimensions - photos shot by day, by camera and lens, by aperture or exposure, etc...
- Produce hierarchical summaries for rendering Sunburst charts with the accompanying JavaScript code (see above)
- Extract JPEG previews from the catalog preview cache
- Purge sidecar files with the CLI commands
Origins
This library began as a very simple script to purge sidecar files from disk. The bulk of my photography is travel photography, and for my current setup I usually don't bring a laptop - I travel with an iPad and a WD My Passport Wireless Pro backup device, which is basically a portable wifi NAS with SD card backup.
The Passport device can serve access to the downloaded photos - it's slow, but it's sufficient for basic review, and for selecting highlights to post while travelling, but it doesn't support RAW files. Therefore, I shoot in RAW+JPG while travelling, and when I return and back everything up to my Synology I purge the sidecar files.
Since every Lightroom catalog is actually a Sqlite database file, running SQL queries to extract the sidecar paths was trivial - that ensures that I'm not deleting any images that were shot as JPG only.
Since then, the codebase has evolved significantly thanks to my interests in data visualization.
Reference
- Extract preview for lost images. A Lua script for Lightroom Classic to extract image previews as jpegs, from Adobe support.
- Lightroom SDK Downloads
- Linwood-F/DumpJPGs
- Chandler/lightroom_preview_exporter
- perlmonk/lrpreview2jpg.pl
- arnar/lightroommate
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
