Skip to content

ahkohd/tauri-macos-spotlight-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tauri macOS Spotlight Example

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.

Prerequisites

Getting Started

  1. Clone this repository:
git clone https://github.com/ahkohd/tauri-macos-spotlight-example.git
  1. Navigate to the project directory:
cd tauri-macos-spotlight-example
  1. Run the demo
pnpm install
pnpm tauri dev
  1. Press Cmdk to toggle the spotlight window

Demo

Recommended IDE Setup

Related

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.

License

This project is licensed under the MIT License. See the LICENSE file for details.