Skip to content

Latest commit

 

History

History
 
 

commands

Raycast Script Commands

Raycast lets you control your tools with a few keystrokes and Script Commands makes it possible to execute scripts from anywhere on your desktop. They are a great way to speed up every-day tasks such as converting data, opening bookmarks or triggering dev workflows.

This repository contains sample commands and documentation to write your own ones.

Categories

Apps

Amphetamine

Icon Title Description Author
End Session Stop Current Amphetamine Session James Lyons
Start Default Session Start Default Amphetamine Session James Lyons

Bear

Icon Title Description Author
Add Note Add a new note to Bear. Tanay Nistala
Open Note Open the specified note in Bear. Tanay Nistala
Open Tag Open the specified tag in Bear. Tanay Nistala
Open Today Open the Today section in Bear. Tanay Nistala
Open Todos Open the Todo section in Bear. Tanay Nistala
Search Search notes by keyword and/or tag in Bear. Tanay Nistala

Hazeover

Icon Title Description Author
Set Intensity Set dimming intensity of background windows. Thomas Paul Mann
Toggle Dimming Toggle dimming of all background windows. Thomas Paul Mann

Bookmarks

Icon Title Description Author
📜 Open Script Commands Repository Open the GitHub repository for Script Commands provided by the community. Raycast

Browsing

Icon Title Description Author
🧭 Copy Current Page URL This script copies URL of currently opened page in Safari into clipboard. Kirill Gorbachyonok
🧭 Copy Current Window URLs This script copies to clipboard all URLs from frontmost Safari window. Kirill Gorbachyonok
Go to Outline Open the website at Outline Ronan Rodrigo Nunes
🖼️ Screenshot Website Takes screenshots of the entered URL using pageres and saves it to the Desktop. Caleb Stauffer
🔗 Shorten URL From Clipboard Shorten the URL in your Clipboard with Tiny URL. Thomas Paul Mann

Communication

Icon Title Description Author
🔐 2FA from iMessages Get most recent two-factor authentication code from iMessages. Caleb Stauffer and Thiago Holanda
🔐 Generate Passphrase Use xkcdpass to create a passphrase. Caleb Stauffer

Cloudup

Icon Title Description Author
Paste Upload clipboard contents to Cloudup. Caleb Stauffer
Pick Open file dialog and upload to Cloudup. Caleb Stauffer
Upload Upload path or URL in clipboard to Cloudup. Caleb Stauffer

Emojis

Icon Title Description Author
📙 Search Emojis Search for emojis related to input. Caleb Stauffer
📙 Search and Copy First Related Emoji Copy first emoji related to input. Caleb Stauffer

Gmail

Icon Title Description Author
Gmail Open gmail.com in the default browser Michael Aigner

Slack

Icon Title Description Author
Clear Slack DND Clear DND Status in Slack Sam Ching
🧼 Clear Status Clear your status in Slack. Thomas Paul Mann
Set DND Status Set your DND status in Slack Sam Ching
Set Status in Slack to Spotify Song Set your status in Slack to a song currently playing in Spotify. alongat
☕️ Set Status to Coffee Set your status in Slack. Thomas Paul Mann
Set WFH Status in Slack Set your status in Slack to WFH or WFO depending on your WiFi alongat

Conversions

Icon Title Description Author
Column to Comma N/A Raycast
Convert Epoch to Human-Readable Date Convert epoch to human-readable date. Siyuan Zhang
Convert Human-Readable Date To Epoch Convert human-readable date to timestamp epoch. Siyuan Zhang
🎨 Hex to RGB Convert hexadecimal color value to RGB value. Caleb Stauffer
🎨 Hex to RGBA Convert hexadecimal color value to RGBA value. Caleb Stauffer

Dashboard

Icon Title Description Author
Bitcoin Price Get current Bitcoin price from Coindesk. Tanguy Le Stradic
🌦️ Current Weather Get current weather report from wttr.in. Caleb Stauffer
NextDNS Status Check if this machine is using NextDNS. Phil Salant
Speedtest Test download and upload connection speed using Speedtest. Caleb Stauffer
📈 System Activity N/A Raycast
Twitter Statistics Shows the followers, favourites and friends count of your Twitter account. Thomas Paul Mann
🕐 World Time Show the time from elsewhere in the world Jesse Claven
Year Progress See the year progress on your desktop. Thomas Paul Mann

Countdowns

Icon Title Description Author
🎅🏻 Countdown to Christmas See how many days until Christmas. Valentin Chrétien
Countdown to Date See how many days/hours until a specific date. Valentin Chrétien
Create Countdown Create countdowns via Raycast. Valentin Chrétien

Developer Utils

Icon Title Description Author
🔑 Add SSH Keys (with Terminal) Add one or multiple SSH keys to your SSH agent (with Terminal). Caleb Stauffer
🧹 Clear Derived Data Clear the derived data of Xcode. Raycast
📝 Copy Lorem Ipsum Copy one paragraph of Lorem Ipsum to clipboard. Raycast
💻 Decode Base64 Decodes clipboard content to Base64 and copies it again. Raycast
Decode JWT Decodes JSON web token from the clipboard. Raycast
💻 Decode URL Decodes clipboard content url and copies it again. Raycast
🌍 Dig Perform a dig command with the specified options Tommaso Panozzo
💻 Encode Base64 Encodes clipboard content to Base64 and copies it again. Raycast
💻 Encode URL Encodes clipboard content url and copies it again. Raycast
💻 Escape String for Shell Escapes shell character string and copies it again. Raycast
Format Swift Use swiftformat to format clipboard content. Dean Moore
🔐 Generate Password Generates a random password and copies it to the clipboard. Sven Hofmann
💻 Generate UUID Generates a UUID and copies it to the clipboard. Raycast
🩺 Is It Up? Check if a website is up Jesse Claven
🌐 Ping Ping an IP address or URL. Caleb Stauffer
🌐 Ping Monitor Ping an IP address or URL on an interval. Caleb Stauffer
💻 Prettify JSON Pretty prints the JSON currently in the clipboard. Raycast
📱 Record Simulator Records simulator to Downloads folder Maxim Krouk
🛠 Run Command On Front Finder Window Runs the specified command in the path of the frontmost Finder window. Wesley Martin
Run Pa11y Run Pa11y web accessibility tool on specified path or URL. Caleb Stauffer
Save URL to Wayback Machine Save URL to Wayback Machine. Caleb Stauffer
🔎 Search Script Command Search for Script Commands available in the Raycast repository Thiago Holanda
🔐 Strong Password Generator Generate a strong password of requested character length Nitin Gupta
🔠 Transform Case Transform the case of clipboard content. Defaults to lower case if no conversion type is specified. Nitin Gupta
🌐 Whois Whois of URL. Caleb Stauffer and Ronan Rodrigo Nunes

Aws

Icon Title Description Author
🤖 Find AWS Region by IP Copies the AWS IPv4 to the clipboard. Oğuzhan Yılmaz

Brew

Icon Title Description Author
🍺 Doctor Run Brew Doctor Thiago Holanda
🍺 Outdated List Show list of outdated formulae Thiago Holanda
🍺 Services List Show Brew Services List Thiago Holanda
🍺 Start Service Start Service in Brew Thiago Holanda
🍺 Stop Service Stop Service in Brew Thiago Holanda
🍺 Upgrade Run Brew Upgrade Thiago Holanda

Github

Icon Title Description Author
Create GitHub Gist from Clipboard Create a GitHub Gist from clipboard contents and copy Gist URL. Caleb Stauffer
⭐️ Repository Statistics Show statistics of your GitHub repository. Thomas Paul Mann
Unread Notifications Display (detailed) number of unread GitHub notifications. Caleb Stauffer
Visit a Repository, Pull Request, or Issue Open a repository, pull request, or issue on GitHub Phil Salant

Gitlab

Icon Title Description Author
Issues Show issues from GitLab Michael Aigner
Merge Requests Show merge requests from GitLab Michael Aigner
To-Dos Show todos from GitLab Michael Aigner

Google

Icon Title Description Author
Lighthouse Open a Lighthouse report of URL. Caleb Stauffer
PageSpeed Insights - Desktop Run a PageSpeed Insights analysis on desktop of URL. Caleb Stauffer
PageSpeed Insights - Mobile Run a PageSpeed Insights analysis on mobile of URL. Caleb Stauffer

Ip

Icon Title Description Author
🌐 External IPv4 Copies the external IPv4 to the clipboard. Raycast
🌐 External IPv6 Copies the external IPv6 to the clipboard. Raycast
🌐 Local IPv4 Copies the local IPv4 to the clipboard. Raycast
🌐 Local IPv6 Copies the local IPv6 to the clipboard. Raycast
🌐 URL IPv4 Get IPv4 address of URL. Caleb Stauffer
🌐 URL IPv6 Get IPv6 address of URL. Caleb Stauffer

Sentry

Icon Title Description Author
Unresolved Issues Show unresolved issues of the last 24 hours from Sentry. Thomas Paul Mann
Unresolved Issues By Project Show unresolved issues in the last 24 hours (by project) from Sentry. Phil Salant and Thomas Paul Mann

Media

Apple Music

Icon Title Description Author
Current Track Show currently playing track in Music. mmerle
Next Track Next track in Music. Caleb Stauffer
Pause Pause Music. Caleb Stauffer
Play Play Music. Caleb Stauffer
Previous Track Previous track in Music. Caleb Stauffer
Set Volume Set volume in Music. Caleb Stauffer
Stop Stop Music. Caleb Stauffer
Toggle Repeat Toggle repeat setting in Music. Caleb Stauffer
Toggle Shuffle Toggle shuffle setting in Music. Caleb Stauffer

Apple Tv

Icon Title Description Author
Pause Pause TV. Caleb Stauffer
Play Play TV. Caleb Stauffer
Play Movie Play specified movie from library in TV. Caleb Stauffer
Set Volume Set volume in TV. Caleb Stauffer
Stop Stop TV. Caleb Stauffer

Cmus

Icon Title Description Author
ℹ️ Current Track Shows info on the current track if cmus is running mmerle
Next Track Goes forward a track if cmus is running mmerle
Previous Track Goes back a track if cmus is running mmerle
Toggle Play/Pause Toggles the play/pause state if cmus is running mmerle
🔁 Toggle Repeat Toggles the repeat option if cmus is running mmerle
🔀 Toggle Shuffle Toggles the shuffle option if cmus is running mmerle

Spotify

Icon Title Description Author
Copy Current Playing Song URL Get link to current Spotify playing song Jack LaFond
Current Track Show currently playing track in Spotify. Thomas Paul Mann
Next Track Skips to the next track in Spotify. Raycast
Pause Pause current track in Spotify. Raycast
Play Plays current track in Spotify. Raycast
Play Track or Playlist Play playlist or track in Spotify. Thomas Paul Mann
Previous Track Skips to the previous track in Spotify. Raycast
Toggle Play/Pause Toggles play or pause of current track in Spotify. Raycast

Navigation

Icon Title Description Author
JustFocus N/A Jax0rz
📂 Open Applications Opens the Applications folder in the Finder. Raycast
🖥 Open Clipboard URL on Desktop Opens the URL from the clipboard in the desktop app. Raycast
📟 Open Current Finder Directory in Terminal Open current Finder directory in Terminal Kirill Gorbachyonok
Open Current Finder Directory in iTerm Open current Finder directory in iTerm Kirill Gorbachyonok
📟 Open Current Terminal Directory in Finder Open curren Terminal directory in Finder Kirill Gorbachyonok
Open Current iTerm Directory in Finder Open current iTerm directory in Finder Kirill Gorbachyonok
📂 Open Desktop Opens the Desktop folder in the Finder. Raycast
📂 Open Documents Opens the Documents folder in the Finder. Raycast
📂 Open Downloads Opens the Downloads folder in the Finder. Raycast
📂 Open Home Opens the Home folder in the Finder. Raycast
Open Image From Clipboard Creates a new document in Pixelmator Pro from the image stored in your clipboard. Bryce Carr
📂 Open Library Opens the Library folder in the Finder. Raycast
🌐 Open URL From Clipboard Opens the URL in the clipboard. Raycast
Search in Bear N/A Jax0rz
Search in Dash N/A Jax0rz
Search in Devdocs N/A Jax0rz

System

Icon Title Description Author
📅 Copy Availability Copies the calendar availability of today. Raycast
💁 Copy Last Download Copy the last downloaded file to the clipboard. Raycast
📸 Copy Last Screenshot Copies the last screenshot to the clipboard. Raycast
Create New File in Finder Create New File in Finder is a script to make your Finder better.You can use this script to create a plain text file. Jax0rz
📀 Eject All Disks Ejects all mounted disk images. Raycast
🗑 Empty Trash Empty the trash. Raycast
📈 Largest CPU Process Report process with largest system CPU usage. Caleb Stauffer
📈 Largest RAM Process Report process with largest system RAM usage. Caleb Stauffer
Move Downloads to Trash N/A Jax0rz
💁‍♂️ Open Last Download Opens the last downloaded file. Raycast
💥 Quit All Applications Quits all running applications except Finder and Raycast. Raycast
🖼️ Refresh Wallpaper Refresh the wallpaper of the main display's current Space. Caleb Stauffer
🎧 Reload CoreAudio Reloads CoreAudio. Maxim Krouk
♻️ Restart Restarts computer. Raycast
🎨 Sample Colour Sample a colour from anywhere on your screen. Jesse Claven
🌀 Screen Saver A script command to start your current screen saver. Valentin Chrétien
🛌 Shut Down Shuts down computer. Raycast
😴 Sleep Puts computer to sleep. Raycast
🔊 Switch Audio to Switch audio output to desired device. mmerle
🧭 Switch Default Browser to Chrome Set Chrome as the default browser. Marc Klingen
🧭 Switch Default Browser to Chromium Set Chromium as the default browser. Marc Klingen
🧭 Switch Default Browser to Firefox Set Firefox as the default browser. Marc Klingen
🧭 Switch Default Browser to Safari Set Safari as the default browser. Marc Klingen
Toggle AirPods Toggle AirPods bluetooth device Nichlas W. Andersen
Toggle Bluetooth Toggle your Bluetooth connection. Vincent Dörig
🖥 Toggle Desktop Icons A script command to show and hide icons of Desktop folder Raycast
👓 Toggle Hidden Files Show and hide hidden files/folders which starts with "." (dot), i.e: .bash_rc, .ssh Thiago Holanda
🌗 Toggle System Appearance Script Command to switch between the system appearance, light and dark mode. Thiago Holanda
Toggle Wi-Fi Toggle your Wi-Fi connection. Vincent Dörig
😴 Turn Off Do Not Disturb Turn off "do not disturb" mode. Does not work on Big Sur. Caleb Stauffer
😴 Turn On Do Not Disturb Turn on "do not disturb" mode. Does not work on Big Sur. Caleb Stauffer

Web Searches

Icon Title Description Author
📦 Bundlephobia cost N/A Zander Martineau
Caniuse.com search N/A Zander Martineau
Giphy search N/A Zander Martineau
Open WP Engine Install Open specified WP Engine install. Caleb Stauffer
📦 Open npm Package Repo N/A Zander Martineau
Search GitHub Search GitHub. Caleb Stauffer
Search Go Package Documentation Search pkg.go.dev for package documentation Phil Salant
Search LinkedIn Search LinkedIn Nitin Gupta
Search MDN (Mozilla Developer Network) N/A Jon Callahan
Search Netflix Search Netflix. Caleb Stauffer
Search PHP Docs Search PHP official documentation. Caleb Stauffer
Search Unsplash Search Unsplash. Caleb Stauffer
Search WP Engine Installs Search WP Engine installs. Caleb Stauffer
Search cdnjs Search cdnjs.com for library. Caleb Stauffer
Search in Amazon N/A Raycast
Search in App Store Search in App Store app Andrei Borisov
Search in Baidu N/A Jax0rz
Search in Bilibili N/A Jax0rz
Search in Crunchbase N/A Raycast
Search in DuckDuckGo N/A Raycast
Search in Ecosia N/A Sasivarnan R
Search in Figma Search files in Figma Tanguy Le Stradic
Search in Google N/A Raycast
Search in Kinopoisk N/A Andrei Borisov
Search in MDN (Mozilla) Docs by Topic Search in MDN (Mozilla) Docs by topic Jesse Traynham
Search in Taobao N/A Jax0rz
Search in Twitter N/A Raycast
Search in Wikipedia N/A Jax0rz
Search in YouTube N/A Raycast
Search in Zhihu N/A Jax0rz
Search in grep.app N/A Raycast
Search npm Packages N/A Raycast
🔗 Unfurl URL N/A Zander Martineau
Wayback Machine Search N/A Zander Martineau
🐸 njt N/A Zander Martineau
npms N/A Zander Martineau

Wordpress

Icon Title Description Author
Search WordPress Docs Search WordPress Developer documentation. Caleb Stauffer
WordPress CLI Command Open WordPress CLI command reference for specified command. Caleb Stauffer
WordPress Classes Reference Open WordPress classes reference for specified class. Caleb Stauffer
WordPress Functions Reference Open WordPress functions reference for specified function. Caleb Stauffer
WordPress Hooks Reference Open WordPress hooks reference for specified hook. Caleb Stauffer

Community

This is a shared place and we're always looking for new Script Commands or other ways to improve Raycast. If you have anything cool to show, please send us a pull request. If we screwed something up, please report a bug. Join our Slack community to brainstorm ideas with like-minded folks.