MCPcopy Index your code
hub / github.com/ahkohd/tauri-macos-spotlight-example

github.com/ahkohd/tauri-macos-spotlight-example @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
11 symbols 21 edges 9 files 0 documented · 0% updated 9mo ago★ 2961 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Tauri macOS Spotlight Example

This is an example project that shows how to create a macOS Spotlight app using Tauri.

Tauri 2.0 RC is now live! The v2 branch includes a newer implementation of the spotlight app.

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:

License

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

Extension points exported contracts — how you extend this code

WebviewWindowExt (Interface)
(no doc) [1 implementers]
src-tauri/src/window.rs

Core symbols most depended-on inside this repo

useEscape
called by 1
src/hooks/useEscape.tsx
to_spotlight_panel
called by 1
src-tauri/src/window.rs
center_at_cursor_monitor
called by 1
src-tauri/src/window.rs
App
called by 0
src/App.tsx
handleEscape
called by 0
src/hooks/useEscape.tsx
main
called by 0
src-tauri/build.rs
show
called by 0
src-tauri/src/command.rs
hide
called by 0
src-tauri/src/command.rs

Shape

Function 7
Method 2
Enum 1
Interface 1

Languages

Rust73%
TypeScript27%

Modules by API surface

src-tauri/src/window.rs4 symbols
src/hooks/useEscape.tsx2 symbols
src-tauri/src/command.rs2 symbols
src/App.tsx1 symbols
src-tauri/src/main.rs1 symbols
src-tauri/build.rs1 symbols

For agents

$ claude mcp add tauri-macos-spotlight-example \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact