This is an example project that shows how to create a macOS Spotlight app using Tauri.
Check out the file-upload branch for an example of the spotlight app, now featuring file upload functionality. See it in action here.
This template is based on Tauri + React + Typescript template. It should help get you started developing with Tauri, React and Typescript in Vite.
- Clone this repository:
git clone https://github.com/ahkohd/tauri-macos-spotlight-example.git
- Navigate to the project directory:
cd tauri-macos-spotlight-example
- Run the demo
pnpm install
pnpm tauri dev
- Press Cmdk to toggle the spotlight window
The following are related to this project:
- tauri-nspanel: A Tauri plugin that enables the transformation of a standard application window into a panel, providing panel-specific functionalities and methods. It is designed for versatile application across various projects.
- tauri-plugin-spotlight: Also a Tauri plugin that helps you to emulate a spotlight window behavior. Unlike the
tauri-nspanel
or this example project, it does not utilize a panel. As a result, its ability to draw over fullscreen applications on newer macOS versions may be limited.
This project is licensed under the MIT License. See the LICENSE file for details.