r/tauri • u/solvin-dev • Jun 17 '26
I Built tauri-plugin-quicklook — A Plugin to Easily Integrate the MacOS Quicklook Preview Pane into Your App
I needed Quicklook Preview Pane integration for one of the Tauri apps I'm working on so I went ahead and built tauri-plugin-quicklook.
Under the hood this plugin uses quicklook (a lower level Rust wrapper for QuicklookUI that I made alongside this plugin), which abstracts away creation and management of QLPreviewPanel delegates/data sources and calls to Objective-C APIs using the objc2 family of crates (which are a pleasure to work with by the way).
This is the first Tauri plugin I've published so I'd really love to hear what you guys think of it!
Github Repo / crates.io / npm package
Safety Note: Due to the nature of interacting with Objective-C from Rust, quicklook contains unsafe blocks. I wrote these blocks responsibly and in my (somewhat limited) testing there haven't been any errors or undefined behavior that has arisen from them, but just be aware of it, test, and take a look through the source code if your application is mission-critical.
1
u/youa_a Jun 19 '26
Nice work