商业产业 Hacker News AI 2026-10-08T21:00 正文 ok 1231 words

Show HN:完全本地运行、免费开源的 Adobe Lightroom 替代品 Rembrandt,集成 AI 功能

英文标题:🔶 Show HN: Free open source Adobe Lightroom alternative, completely local with AI

Rembrandt 是一款面向 macOS、Windows 和 Linux 的免费开源照片编辑与管理工具,定位为 Adobe Lightroom 的本地化替代方案,无需账户或订阅。它支持 RAW 编辑、AI 蒙版、降噪、超分辨率、HDR/全景合成、批量处理,以及通过自然语言或直接拖拽进行调色。项目强调照片原件不被改动,编辑记录以标准 XMP 边车文件保存,并可导入 Lightroom、Google Photos、Dropbox 等服务的数据。其编辑引擎基于 WebGL2、WebGPU、Rust 和 Tauri,AI 处理尽可能在设备本地及 GPU 上完成。
打开原文相关 2 · 机会 2
media6.1 KB media25.7 KB media25.8 KB media122.5 KB media180.9 KB media157.2 KB media29.8 KB media125.0 KB media112.6 KB media119.5 KB media118.8 KB

中文

Rembrandt

停止向 Adobe 付费。摆脱持续劣化的服务。

一款适用于 macOS、Windows 和 Linux 的免费照片编辑器。
无需账户、无需订阅,也不会收到“我们更新了条款”的邮件。

下载 · 自托管 · 功能 · 对比 · 构建

在 Rembrandt 中编辑照片

由点阵构成的 Rembrandt 正在按你的要求完成编辑,同时滑块随之移动 在照片上拖动,以改变指针位置下方的色调 超级分辨率:普通 4 倍放大与 Super Resolution 4 倍放大对比
提问:输入“golden hour, shadows +25”,观看 Rembrandt 完成调整 触控:在照片上拖动,改变对应的色调或颜色 超级分辨率:在 GPU 上实现 2× 和 4×放大
图库 蒙版,包括 AI 主体、背景、对象和深度 调整前后对比,分屏视图
图库:相册、搜索、排序、一键删除 蒙版:画笔、渐变、AI 主体和深度 调整前后:分屏或并排对比

所有文件及校验和见:Releases。构建版本尚未进行代码签名:在 macOS 上,请依次进入“系统设置”→“隐私与安全性”→ 仍要打开;在 Windows 上选择 更多信息 → 仍要运行。

从存放照片的电脑提供 Rembrandt 服务,并在任意浏览器中编辑照片:

curl -fsSL https://raw.githubusercontent.com/thesnarkitecht/rembrandt/main/install.sh | bash -s -- --server

它会询问要使用哪个照片文件夹,设置为登录时启动,并输出一个私有链接。编辑内容会以 XMP 文件形式保存在每张照片旁边;照片本身永远不会被修改。添加 --lan 参数,可从网络中的其他设备访问。支持 Linux 和 macOS;仅需一个无依赖的小型二进制文件(server/)。如需更新,请在浏览器中点击 更新(设置 › 关于);它会安装最新版本、根据已发布的 SHA-256 校验和进行验证,并重启服务器。

  • 用文字提出要求:输入“warmer and a bit brighter”“down exposure by ten points”“shadows +25”或“paste the edits from the previous photo”(Ctrl/⌘ K)。一个由点阵构成的小 Rembrandt 会思考片刻,然后在你看到滑块移动的同时完成每一项调整。它运行在你的设备上:使用的是词汇系统,而非语言模型。

  • 直接编辑照片:在图片任意位置上下拖动,可提亮或压暗该区域的色调;左右拖动可改变对应颜色;滑块会同步跟随。

  • AI 风格效果:Enhance、Relight、Sky、Atmosphere、Sunrays、Skin、Motion 和带光圈形状的 Lens Blur,基于设备本地的深度图和主体图生成。

  • 重新对焦:为失焦照片恢复细节,即使是严重失焦也可以处理(GPU 上的正则化反卷积);可处理主体或整张图片。

  • 超级分辨率:提供具备真实细节的 2× 和 4×放大;对于偏软的照片,可在原始尺寸下使用 Restore;在 GPU 上运行(Apple silicon 使用 Metal)。

  • AI 降噪:将高 ISO 照片清理为新的 DNG 文件,并保留相同的编辑效果;在 GPU 上运行。

  • 不打扰你的后台任务:AI Denoise、Super Resolution 和合并任务会以小型 GPU 时间片运行,在你编辑时暂停,也可在你离开时或你设定的夜间时段运行(设置 › 性能)。队列可在重启后保留。

  • 合并:可将包围曝光照片合成为 HDR,将照片合成为全景图或焦点堆叠图;每种结果均输出为类似 RAW 的 DNG。

  • RAW:支持超过 1,000 款相机的 RAW 文件,并通过 GPU 处理:色调、颜色、曲线、分级、去朦胧、细节。

  • 蒙版:画笔、渐变、颜色与色调范围,以及 AI 主体、背景、对象和深度蒙版。

  • 移除:修复和仿制污点及笔划;Rembrandt 会自动为你选择匹配的源区域。

  • 镜头校正:支持 Fujifilm 和 Sony RAW 文件中相机内置的配置文件,或 Lensfun 提供的 1,500 个镜头配置文件(畸变、暗角、色差);还可针对任意照片手动调整畸变和暗角。可自动拉直水平线和地平线。

  • 设备端 AI:重新对焦、背景替换。不会上传任何内容。

  • 图库:相册、评分、旗标、颜色标签、关键词、虚拟副本、搜索、查找相似照片、排序、键盘快捷键(也可使用 Lightroom 快捷键)、支持撤销的一键删除。

  • 批处理:可将编辑内容复制并粘贴到数百张照片,支持批量导出,以及适配各照片曝光情况的预设。可监视一个文件夹,并在新照片到达时自动应用预设和相册。

  • 分享方式:可生成带滑块的调整前后对比页面、编辑过程回放视频,或将编辑配方嵌入导出的文件中,让任何人都能查看(并复用)其编辑方式。

  • 导入照片:支持文件夹、Lightroom Classic(编辑、关键词、标签、虚拟副本、收藏集,并会报告无法导入的内容),以及 Lightroom、Google Photos、Google Drive、Dropbox、OneDrive(设置说明)。也可以再导出回这些服务。

  • 开放格式:编辑记录采用标准 XMP 格式,Lightroom 和其他软件均可读取。导出文件会保留相机信息和拍摄日期,添加你的姓名与版权信息,并嵌入 sRGB 配置文件;不会写入位置信息。

  • 云同步(可选、付费):可在设置中启用,以在你的电脑、Web 端和手机之间同步编辑记录、相册和照片。这是唯一需要账户、也是唯一收费的功能;其余所有功能均保持免费。

  • Lightroom:日常编辑和图库管理所需的功能已基本具备:RAW 处理、蒙版(包括 AI 主体、深度和对象)、修复、预设、镜头校正、HDR 和全景合并、降噪、批量编辑和目录导入。暂未提供:打印、图书、幻灯片、Web 和地图模块、人脸识别、Adobe 的相机配置文件、联机拍摄(监视文件夹可覆盖大部分联机拍摄应用),以及插件生态系统。

  • darktable:Rembrandt 借鉴了 darktable 的核心理念,即 scene-referred(场景参照)处理管线——编辑在线性光空间中进行,之后再通过色调曲线映射到屏幕,因此高光能够干净地恢复。darktable 拥有更多模块和更细致的控制;Rembrandt 的目标是在五分钟内即可上手,提供更少但覆盖范围更广的控制项,以及设备端 AI。其引擎为独立实现(见致谢)。

  • RawTherapee / ART:与 darktable 覆盖相似领域;Rembrandt 以控制深度换取更易用的操作体验。

  • GIMP / Photoshop:属于不同类型的工具。它们是用于合成和绘制的像素编辑器;Rembrandt 则是类似 Lightroom 的非破坏性 RAW 开发与图库工具。

你的照片不会被锁定

Rembrandt 从不移动或重写你的原始文件。编辑记录会以标准 XMP 边车文件保存在照片旁边,Lightroom、darktable 等软件均可读取;“设置 › 数据与隐私”还可导出你全部编辑内容的备份。即使 Rembrandt 明天消失,你的图库和编辑记录仍属于你,并保留在开放格式中。

编辑引擎和设备端 AI 使用 JavaScript、WebGL2 和 WebGPU 着色器实现,桌面应用则是小型 Rust(Tauri)应用。RAW 文件由 LibRaw 解码(C++,编译为 WebAssembly)。每个版本均由 GitHub Actions 根据此仓库构建,并提供校验和与签名构建溯源信息(SECURITY.md)。

  • darktable:Rembrandt 引擎所参考的场景参照工作流。早期原型曾移植 darktable 的算法;在代码发布前,已替换为对公开方法的独立实现(列于 NOTICE.md)。
  • LibRaw(RAW 解码)、Lensfun(镜头配置文件)、RAWmakase(镜头表、修复和仿制)、Real-ESRGAN(Super Resolution)、KAIR / FFDNet(AI Denoise)、MediaPipe(主体、深度和对象模型)。许可证及声明见 NOTICE.md。

Rembrandt 免费,并将始终免费。欢迎为仓库点星、告诉摄影师、报告 Bug,或提交修复。

npm ci && npx http-server -c-1 .   # web app
npm run tauri dev                  # desktop app (Rust + Tauri prerequisites)

详细信息见 docs/building.md。欢迎贡献:CONTRIBUTING.md。

本软件采用 GNU General Public License v3.0 or later 发布,与 darktable 使用相同许可证。你可以使用、研究、修改和分享它;若分发修改后的版本,必须在相同条款下分享其源代码。它也可以通过应用商店分发(GPL 下的附加许可;参见同样列出第三方组件的 NOTICE.md)。

截图中的照片来自 scikit-image 示例数据:Rachel Michetti 拍摄的 espresso 和 Stefan van der Walt 拍摄的 cat(CC0),以及 SpaceX 的火箭发射照片和 NASA 的哈勃 eXtreme Deep Field(公共领域)。

English / 原文

Rembrandt

Stop paying for Adobe. Flush the incrapification.

A free photo editor for macOS, Windows and Linux.
No account needed, no subscription, no “we’ve updated our terms” emails.

Download · Self-host · Features · Compare · Build

Editing a photo in Rembrandt

Rembrandt, in dots, making the edits you asked for while the sliders move Dragging on the photo to change the tone under the pointer Super Resolution: an ordinary 4x enlargement next to Super Resolution 4x
Ask : “golden hour, shadows +25”, and watch Rembrandt paint it Touch : drag on the photo to change that tone or colour Super Resolution : 2× and 4× on your GPU
The library Masks, including AI subject, background, object and depth Before and after, split view
Library : albums, search, sorting, one-click delete Masks : brush, gradients, AI subject and depth Before / after : split or side by side

All files and checksums: Releases. Builds aren't code-signed yet: on macOS use System Settings → Privacy & Security → Open Anyway ; on Windows More info → Run anyway.

Serve Rembrandt from the computer that holds your photos and edit them in any browser:

curl -fsSL https://raw.githubusercontent.com/thesnarkitecht/rembrandt/main/install.sh | bash -s -- --server

It asks which photo folder to use, starts at login, and prints a private link. Edits are saved next to each photo as XMP; the photos themselves are never changed. Add --lan to reach it from other devices on your network. Linux and macOS; one small dependency-free binary (server/). To update, press Update in the browser (Settings › About); it installs the latest release, checks it against the published SHA-256 sums, and restarts the server.

  • Ask in words : type “warmer and a bit brighter”, “down exposure by ten points”, “shadows +25” or “paste the edits from the previous photo” (Ctrl/⌘ K). A small Rembrandt in dots thinks it over, then makes each change while you watch the sliders move. It runs on your device: a vocabulary, not a language model.

  • Edit the photo itself : drag up or down on any part of the picture to lighten or darken that tone, left or right to change that colour; the sliders follow.

  • AI looks : Enhance, Relight, Sky, Atmosphere, Sunrays, Skin, Motion and Lens Blur with aperture shapes, from on-device depth and subject maps.

  • Refocus : brings back detail in out-of-focus photos, even heavy defocus (regularised deconvolution on the GPU), on the subject or the whole picture.

  • Super Resolution : 2× and 4× with real detail, or Restore at the same size for soft photos; runs on the GPU (Metal on Apple silicon).

  • AI Denoise : clean high-ISO shots into a new DNG with the same edits, on the GPU.

  • Background work that stays out of the way : AI Denoise, Super Resolution and merges run in small GPU slices that pause while you edit, or when you're away, or overnight in a night window you set (Settings › Performance). The queue survives restarts.

  • Merge : HDR from brackets, panoramas and focus stacks, each to a RAW-like DNG.

  • RAW from 1,000+ cameras, developed on the GPU: tone, colour, curves, grading, dehaze, detail.

  • Masks : brush, gradients, colour and tone ranges, AI subject, background, object and depth.

  • Remove : heal and clone spots and strokes; Rembrandt picks a matching source for you.

  • Lens corrections : the camera's built-in profile from Fujifilm and Sony RAWs, or one of 1,500 lens profiles from Lensfun (distortion, vignetting, chromatic aberration), plus manual distortion and vignetting for any photo. Auto straighten levels horizons.

  • On-device AI : Refocus, background replacement. Nothing is uploaded.

  • Library : albums, ratings, flags, colour labels, keywords, virtual copies, search, Find similar, sorting, keyboard shortcuts (or Lightroom's), one-click delete with Undo.

  • Batch : copy and paste edits to hundreds of photos, batch export, and presets that fit each photo's exposure. Watch a folder to apply a preset and album to new photos as they arrive.

  • Share how : a before/after page with a slider, a replay video of the edit, or the recipe inside the exported file so anyone can see (and reuse) how it was edited.

  • Bring your photos : folders, Lightroom Classic (edits, keywords, labels, virtual copies, collections, with a report of anything that can't come over) and Lightroom, Google Photos, Google Drive, Dropbox, OneDrive (setup). Export back to them too.

  • Open formats : edits are standard XMP, readable by Lightroom and others. Exports keep the camera details and date taken, add your name and copyright, and embed an sRGB profile; location is never written.

  • Cloud sync (optional, paid) : turn it on in Settings to sync edits, albums and photos between your computers, the web and your phone. It's the only thing that needs an account, and the only thing that costs money; everything else stays free.

  • Lightroom : the everyday editing and library work is here: RAW development, masks (including AI subject, depth and object), healing, presets, lens corrections, HDR and panorama merges, denoise, batch editing, and catalog import. Not here yet: Print, Book, Slideshow, Web and Map modules, face recognition, Adobe's camera profiles, tethered capture (a watched folder covers most tethering apps), and a plugin ecosystem.

  • darktable : Rembrandt borrows darktable's central idea, a scene-referred pipeline (edits work on linear light before a tone curve maps it to the screen), which is why highlights recover cleanly. darktable has far more modules and control; Rembrandt aims to be usable in five minutes, with fewer, broader controls and on-device AI. The engine is an independent implementation (see Credits).

  • RawTherapee / ART : similar ground to darktable; Rembrandt trades depth of control for speed of use.

  • GIMP / Photoshop : different kind of tool. Those are pixel editors for compositing and painting; Rembrandt is a non-destructive RAW developer and library, like Lightroom.

Your photos aren't locked in

Rembrandt never moves or rewrites your originals. Edits are saved as standard XMP sidecars next to your photos, which Lightroom, darktable and others can read, and Settings › Data & privacy exports a backup of all your edits. If Rembrandt disappeared tomorrow, your library and your edits would still be yours, in open formats.

JavaScript with WebGL2 and WebGPU shaders for the editing engine and on-device AI, in a small Rust (Tauri) desktop app. RAW files are decoded by LibRaw (C++, compiled to WebAssembly). Every release is built by GitHub Actions from this repository, with checksums and signed build provenance (SECURITY.md).

  • darktable: the scene-referred workflow Rembrandt's engine is modelled on. An early prototype ported darktable's algorithms; it was replaced by an independent implementation of the published methods (listed in NOTICE.md) before the code was released.
  • LibRaw (RAW decoding), Lensfun (lens profiles), RAWmakase (lens tables, heal and clone), Real-ESRGAN (Super Resolution), KAIR / FFDNet (AI Denoise), MediaPipe (subject, depth and object models). Licences and notices in NOTICE.md.

Rembrandt is free and stays free. Star the repo, tell a photographer, report a bug or send a fix.

npm ci && npx http-server -c-1 .   # web app
npm run tauri dev                  # desktop app (Rust + Tauri prerequisites)

Details in docs/building.md. Contributions welcome: CONTRIBUTING.md.

Free software under the GNU General Public License v3.0 or later, the same licence as darktable. Use it, study it, change it and share it; if you distribute a modified version, share its source under the same terms. It may also be distributed through app stores (an additional permission under the GPL; see NOTICE.md, which also lists the third-party parts).

Screenshot photos from the scikit-image sample data: espresso by Rachel Michetti and cat by Stefan van der Walt (CC0), rocket launch by SpaceX and Hubble eXtreme Deep Field by NASA (public domain).