An open API service indexing awesome lists of open source software.

https://github.com/andreas-timm/sips-preview.yazi

Yazi plugin that enables quick previews of images on macOS. It focuses on PSD (Photoshop) files but also supports other image formats, utilizing the sips command-line tool.
https://github.com/andreas-timm/sips-preview.yazi

psd sips yazi-plugin

Last synced: 22 days ago
JSON representation

Yazi plugin that enables quick previews of images on macOS. It focuses on PSD (Photoshop) files but also supports other image formats, utilizing the sips command-line tool.

Awesome Lists containing this project

README

          

> [!NOTE]
> Due to correct native PSD support in `yazi`, in version `25.2.11`, the development of this plugin is on-hold.

# sips-preview.yazi
**sips-preview.yazi** is a [Yazi](https://yazi-rs.github.io/) plugin that enables quick previews of images on macOS. It focuses on PSD (Photoshop) files but also supports other image formats listed by `sips --formats`, utilizing the `sips` command-line tool.

## Features
- **Quick Image Previews**: Instantly preview various image formats directly within Yazi.
- **PSD Support**: Seamlessly preview Photoshop (PSD) files without the need for additional software.
- **macOS Integration**: Leverages the native `sips` utility for efficient image processing.

## Requirements
- Operating System: macOS
- Ensure the `sips` command-line tool is available on your system (pre-installed on macOS).

## Compatibility table
| Yazi Version | Plugin Version | Status |
|--------------|----------------|----------------|
| 25.x.x | - | **⚠️ not planed** |
| 0.4.x | 0.3.x | ✅ |
| 0.3.x | 0.2.x | ✅ |

## Installation
```sh
ya pack -a andreas-timm/sips-preview
```

Restart Yazi to load the plugin.

## Configuration
Add the following preloader configuration to your `yazi.toml` file to enable the plugin for PSD files:
```toml
[plugin]
prepend_preloaders = [
{ mime = "image/vnd.adobe.photoshop", run = "sips-preview" },
{ name = "*.psd", run = "sips-preview" },
]
prepend_previewers = [
{ mime = "image/vnd.adobe.photoshop", run = "sips-preview" },
{ name = "*.psd", run = "sips-preview" },
]
```

## License
This plugin is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.

## Acknowledgments
Special thanks to the Yazi community for their support and to Apple for providing the `sips` tool.