Sometimes you may want to trigger Raycast from somewhere else – the browser, the terminal, a different application. This is possible with Deeplinks, by using the raycast:// URL scheme.

Supported URLs

Show confetti 🎉

Use raycast://confetti URL scheme to trigger confetti. Especially handy to spice up those long running scripts.

https://twitter.com/dqhieu/status/1615908850493947908

Run a command

You can run any command you have enabled in Raycast by using Deeplinks. To do so, your Deeplink needs to follow the following format:

raycast://extensions/<author-or-owner>/<extension-name>/<command-name>

However, it’s probably easier to find the command in Raycast and use the Copy Deeplink action.

image 2.png

Once the Deeplink is in your clipboard, you can then paste it in Raycast and use Open in Browser

Frame.png

Whenever a command is run using a Deeplink, Raycast will ask you to confirm that you actually want to run the command, instead of doing so by accident. Choosing Always Open Command will run the command and skip the confirmation in the future.

Frame.png

For more advanced uses, check out the Developer Docs.

Pass fallbackText to a command

You can use the fallbackText query parameter to pass initial data to a command. It works the same way as Fallback Commands. The following Deeplink will open File Search in the ~/Library/Application Support/ folder:

raycast://extensions/raycast/file-search/file-search?fallbackText=~/Library/Application%20Support/