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.
- Host: GitHub
- URL: https://github.com/andreas-timm/sips-preview.yazi
- Owner: andreas-timm
- License: mit
- Created: 2024-11-22T00:06:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-22T10:55:07.000Z (11 months ago)
- Last Synced: 2025-01-21T10:53:14.545Z (9 months ago)
- Topics: psd, sips, yazi-plugin
- Language: Lua
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.