[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-96891":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":12,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":14,"starSnapshotCount":14,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},96891,"OmaPhoto","ZacharyZhang-NY\u002FOmaPhoto","ZacharyZhang-NY","Layered image editor for Linux and Omarchy, a port of Compositor",null,"C++",263,7,113,0,1,33,46.51,"MIT License",false,"main",true,[],"2026-10-04 05:01:45","2026-11-19 11:28:28","# OmaPhoto\n\nOmaPhoto is a layered image editor for Linux, made first for [Omarchy](https:\u002F\u002Fomarchy.org). It follows your Omarchy theme and switches with it.\n\nIt is a Linux port of [Compositor](https:\u002F\u002Fgithub.com\u002Frobbietilton\u002FCompositor) by Wonder Assembly, a macOS app written in Swift. Compositor's source is the specification: OmaPhoto keeps its tools, its menus and its shortcuts (Ctrl for ⌘, Alt for ⌥). It reads and writes Compositor's `.comp` projects, so a project moves between the two apps. OmaPhoto is independent of Wonder Assembly.\n\n## What it does\n\n- Layers, folders, masks, clipping masks, blend modes and opacity; whole layers copy between projects; Ungroup Layers\n- Selections: marquee, lasso, magic wand and its object mode, Select › Subject, Select › Color Range, load from a layer, feather, expand and contract\n- Brush, eraser, spot healing, clone stamp, smudge, blur and liquify, gradient, shapes, type with colour and fonts on selected letters\n- Move, transform and distort layers and selections; rulers, guides, a grid with its own settings, and snapping for layers, selections and shapes\n- Levels, Curves, Hue\u002FSaturation, Exposure, Black & White, Color Balance, Gradient Map, Grain, Invert, blur and noise, as edits or as adjustment layers\n- Camera Raw Filter, docked beside the canvas, with Photoshop's curves\n- Layer effects: stroke, drop shadow, outer and inner glow, color overlay, inner shadow\n- Filters: Gaussian and motion blur, noise, lens correction, Vignette, Bloom \u002F Glow, Tonal Contrast, Dither, Content-Aware Fill and Remove Background (U²-Net on ONNX Runtime, offline)\n- Crop, trim, canvas size, image size; PNG and JPEG export with a zoomable preview; New Canvas presets for screens and social formats\n- Imports JPEG, PNG, TIFF, HEIC, SVG, Photoshop files (PSD and PSB) and camera RAW\n- Open Recent, and a Keyboard Shortcuts window\n- Drag a number's label to scrub its value\n- Keep working while a project saves\n- Project tabs that drag to reorder; those that do not fit gather in a menu\n- A project another app changes on disk reloads in place; unsaved work is never replaced without asking\n\nThe [acceptance run](docs\u002Facceptance.md) checks each of these in the app's own window, with screenshots.\n\n### Works with AI agents\n\nAI agents and scripts can build and edit projects directly: a `.comp` is a folder of PNG layers and a manifest, and an open project updates live as it's written. See [Writing OmaPhoto projects](docs\u002Fwriting-comp-files.md) and the [project format](docs\u002Fproject-format.md).\n\n## Install\n\nEach script installs the newest release. The Arch, Ubuntu and Fedora scripts download its package, check it against the release's `SHA256SUMS` and install it with your system's package manager; the NixOS script builds the release's flake. Packages are built for x86_64.\n\nArch and Omarchy:\n\n```sh\ncurl -fsSLO https:\u002F\u002Fraw.githubusercontent.com\u002FZacharyZhang-NY\u002FOmaPhoto\u002Fmain\u002Fscripts\u002Finstall\u002Farch.sh && bash arch.sh\n```\n\nUbuntu 24.04 or 26.04 LTS and systems built on them (Linux Mint 22, Pop!_OS 24.04):\n\n```sh\ncurl -fsSLO https:\u002F\u002Fraw.githubusercontent.com\u002FZacharyZhang-NY\u002FOmaPhoto\u002Fmain\u002Fscripts\u002Finstall\u002Fubuntu.sh && bash ubuntu.sh\n```\n\nEach DEB names its Ubuntu release's libraries, so other Ubuntu releases and Debian build from source (below).\n\nFedora 43 or 44:\n\n```sh\ncurl -fsSLO https:\u002F\u002Fraw.githubusercontent.com\u002FZacharyZhang-NY\u002FOmaPhoto\u002Fmain\u002Fscripts\u002Finstall\u002Ffedora.sh && bash fedora.sh\n```\n\nFedora's own libheif decodes no HEVC. For HEIC import, add [RPM Fusion](https:\u002F\u002Frpmfusion.org\u002FConfiguration) and install `libheif-freeworld`; the script reminds you.\n\nNixOS installs the release's flake into your profile:\n\n```sh\ncurl -fsSLO https:\u002F\u002Fraw.githubusercontent.com\u002FZacharyZhang-NY\u002FOmaPhoto\u002Fmain\u002Fscripts\u002Finstall\u002Fnixos.sh && bash nixos.sh\n```\n\nOr add `github:ZacharyZhang-NY\u002FOmaPhoto\u002F\u003Ctag>`, a release tag, as a flake input and put its `packages.x86_64-linux.default` in your configuration.\n\nThe packages themselves sit on the [releases page](https:\u002F\u002Fgithub.com\u002FZacharyZhang-NY\u002FOmaPhoto\u002Freleases).\n\n### Garbled cursors on NVIDIA with Hyprland\n\nOn NVIDIA with Hyprland at a fractional scale, the cursors OmaPhoto draws itself, such as those of the selection tools, the wand, the eyedropper, zoom and moving layers, can show garbled or cut off. Theme cursors render correctly. The fault lies in the hardware cursor path (reported upstream as [Hyprland #16413](https:\u002F\u002Fgithub.com\u002Fhyprwm\u002FHyprland\u002Fissues\u002F16413)). Software cursors avoid it.\n\nCurrent Hyprland and Omarchy read `~\u002F.config\u002Fhypr\u002Fhyprland.lua`; Omarchy users can put the line in `~\u002F.config\u002Fhypr\u002Flooknfeel.lua`:\n\n```lua\nhl.config({ cursor = { no_hardware_cursors = 1 } })\n```\n\nAn older setup that reads `~\u002F.config\u002Fhypr\u002Fhyprland.conf` takes:\n\n```\ncursor {\n    no_hardware_cursors = 1\n}\n```\n\n## Build from source\n\nThe build runs in Docker, so the host needs only Docker:\n\n```sh\nscripts\u002Fdev.sh build   # configure and build in Ubuntu 24.04\nscripts\u002Fdev.sh test    # every test, headless\nscripts\u002Fdev.sh run     # build, then the app on your Wayland display\n```\n\n`run` gives the container your home folder at its own path, so the app opens and saves your files and reads your Omarchy theme, and the GPU's render nodes (`\u002Fdev\u002Fdri\u002FrenderD*`), which Mesa's EGL wants. Files outside your home folder stay out of reach.\n\nBy hand: C++20, Qt 6.4 or later (Widgets, Concurrent, image formats), CMake, Ninja, libheif, LibRaw, fontconfig and ONNX Runtime. `-DOMAPHOTO_MODEL=path\u002Fto\u002Fu2net.onnx` installs Remove Background's model. `scripts\u002Fdistro-check.sh arch|fedora|nixos|resolute` builds and tests on those systems (`resolute` is Ubuntu 26.04).\n\n## Licence\n\nMIT, as Compositor is; see `LICENSE`. Remove Background uses U²-Net (Apache-2.0, `licenses\u002FU-2-Net.txt`) through ONNX Runtime (MIT). Every package carries ONNX Runtime with its notices.\n","OmaPhoto 是一款面向 Linux（及 Omarchy 系统）的分层图像编辑器，是 macOS 应用 Compositor 的官方兼容移植版。它完整支持图层、蒙版、混合模式、选区工具、画笔与修复工具、非破坏性调整图层、图层样式、RAW 处理及 AI 辅助功能（如离线 U²-Net 背景移除）。项目采用 C++ 开发，原生适配系统主题，完全兼容 Compositor 的 .comp 项目格式，支持跨平台项目迁移。适用于需要轻量级、开源、跨 macOS\u002FLinux 工作流的设计师、插画师及数字内容创作者进行专业级位图编辑。",2,"2026-11-24 04:06:02","CREATED_QUERY"]