PICLR (PICture Left/Right) lets you rapidly sort through large folders of images with simple left and right actions.
git clone <your-fork-or-this-repo-url> piclr
cd piclr
cargo install --path .Run as local web service:
piclr /path/to/imagesThis will log the URL for the local web service.
Run in the Tauri desktop shell:
cargo run --features tauri -- /path/to/imagesIf/when the crate is published:
cargo install piclrThen run:
piclr /path/to/imagesIf/when a formula is published:
brew install piclrThen run:
piclr /path/to/images- Running with
--features taurilaunches PICLR as a desktop app. - In Tauri mode, open/change root location from the titlebar menu (
Open Location) orCtrl+O. - Running as the web service (
piclr ...without Tauri) does not support changing folders from inside the UI. Choose the folder when launching the command.
- Linux:
docs/tauri-build-linux.md - macOS:
docs/tauri-build-macos.md - Windows:
docs/tauri-build-windows.md
Top-level Linux support targets for desktop mode are:
- Debian-family distributions
- Fedora-family distributions
- Arch-family distributions
PICLR desktop mode is expected to run in both X11 and Wayland sessions through Tauri's webview backend.
Install desktop runtime dependencies before launching with --features tauri:
- Debian-family:
sudo apt install libwebkit2gtk-4.1-0 libgtk-3-0
- Fedora-family:
sudo dnf install webkit2gtk4.1 gtk3
- Arch-family:
sudo pacman -S webkit2gtk gtk3
Build and run:
cargo run --features tauri -- /path/to/imagesWith decorations: false, PICLR renders an in-app Tauri-only titlebar with drag, minimize, maximize/restore, and close controls.
- If startup reports that no display session is detected, launch from an X11/Wayland desktop session where
DISPLAYorWAYLAND_DISPLAYis set. - If startup reports missing WebKitGTK or GTK3 libraries, install the distro-family packages listed above and retry.
- If
Open Location(menu orCtrl+O) does not open a folder picker, verify you are running desktop mode (--features tauri) and not web-service mode.
- Desktop shell starts and loads loopback UI in X11 session.
- Desktop shell starts and loads loopback UI in Wayland session.
- Titlebar menu
Open LocationorCtrl+Oopens native folder picker and selected folder replaces the active run context.
Start PICLR with an image directory:
piclr /path/to/imagesIf no port is provided, PICLR binds to an available loopback port and logs the URL.
- Move through images.
- Assign left/right decisions.
- Undo if needed.
- Apply queued actions when ready.
By default:
- Left action: move image to
trash/ - Right action: move image to
keep/
↑/K: previous image↓/J: next imageShift+↑/Shift+K: previous undecidedShift+↓/Shift+J: next undecided
←/H: apply left action→/L: apply right actionU: undo last commandShift+A: apply queued actions
Q: show queued actionsF: show/hide files sidebar?: show helpEsc: close top modalCtrl+O: open location (desktop app mode only)
You can also use the footer/header buttons for the same commands.
I'm using PICLR as a full end-to-end example of the DATA Stack:
- Datastar - Event-driven hypermedia interface
- Askama - Compile-time HTML templating
- Tauri - Native desktop application wrapper
- Axum - Bridging HTTP interface and state management
PICLR was developed with Codex as an exercise to push its limits in an emerging technology stack.
It also leverages the OpenSpec framework for AI-assisted development.
MIT. See LICENSE.