### Build and Install RustCast from Source Source: https://rustcast.app/ Clones the RustCast repository, navigates into the directory, and installs the application using Cargo, the Rust package manager. ```shell git clone https://github.com/RustCastLabs/rustcast.git cd rustcast cargo install --path . ``` -------------------------------- ### Terminal Usage Examples Source: https://rustcast.app/ Examples of how to use RustCast URL schemes from the terminal. ```APIDOC ## Terminal Usage Examples (v0.7.4+) ### Show the launcher ```bash open "rustcast://show" ``` ### Open Obsidian via RustCast ```bash open "rustcast://open?target=obsidian" ``` ### Quit RustCast from a script ```bash open "rustcast://quit" ``` ``` -------------------------------- ### Install RustCast using Homebrew Source: https://rustcast.app/ Installs RustCast using the Homebrew package manager by tapping the custom repository and then installing the cask. ```shell # Tap the cask and install brew tap unsecretised/tap brew install --cask rustcast ``` -------------------------------- ### Example Terminal Usage of RustCast URL Schemes Source: https://rustcast.app/ Demonstrates how to use `open` command in the terminal to trigger RustCast's URL schemes for showing the launcher, opening an app, and quitting the application. ```shell # Show the launcher open "rustcast://show" # Open Obsidian via RustCast open "rustcast://open?target=obsidian" # Quit RustCast from a script open "rustcast://quit" ``` -------------------------------- ### Launch an App Source: https://rustcast.app/ Opens any installed application by its name using the `rustcast://open` URL scheme. ```APIDOC ## Launch an App ### Description Opens any installed application by name. ### Endpoint `rustcast://open?target=` ### Parameters #### Query Parameters - **target** (string) - Required - The name of the application to open. ``` -------------------------------- ### Open App with RustCast URL Scheme Source: https://rustcast.app/ Use the `rustcast://open` URL scheme to launch any installed application by its name. This is useful for triggering app launches from scripts or other automation tools. ```shell rustcast://open?target=obsidian ``` -------------------------------- ### RustCast Configuration File Example (config.toml) Source: https://rustcast.app/ This TOML file configures global settings, custom modes, aliases, theme, and shell commands for RustCast. It allows extensive customization of hotkeys, search engines, appearance, and script execution. ```toml # Global hotkey toggle_hotkey = "ALT+SHIFT+1" clipboard_hotkey = "SUPER+SHIFT+2" search_url = "https://google.com/search?q=%s" haptic_feedback = true clear_on_enter = true show_trayicon = true # Define your custom modes [modes] presentation = "~/.config/rustcast/scripts/presentation.sh" dev = "~/.config/rustcast/scripts/dev.sh" focus = "~/scripts/focus-mode.sh" othermodes = "~/some/path/to/script" # Any shell script. Unlimited power. # Add aliases for super speed searching [aliases] ff = "firefox" code = "Visual Studio Code" [theme] font = "Fira Code" text_color = [0.95, 0.95, 0.96] background_color = [0.11, 0.11, 0.13] background_opacity = 1.0 show_icons = true show_scroll_bar = true [[shells]] command = "echo " alias = "Variables 1" alias_lc = "var test" ``` -------------------------------- ### Show RustCast Source: https://rustcast.app/ Brings the RustCast launcher to the foreground. Useful for triggering from Shortcuts or shell scripts. ```APIDOC ## Show RustCast ### Description Brings the RustCast launcher to the foreground. ### Endpoint `rustcast://show` ``` -------------------------------- ### Show RustCast Launcher with URL Scheme Source: https://rustcast.app/ Use the `rustcast://show` URL scheme to bring the RustCast launcher to the foreground. This is particularly useful when triggering RustCast from macOS Shortcuts or shell scripts. ```shell rustcast://show ``` -------------------------------- ### Quit RustCast with URL Scheme Source: https://rustcast.app/ Use the `rustcast://quit` URL scheme to gracefully exit the RustCast application. This is helpful for automation flows or scripts that need to close RustCast. ```shell rustcast://quit ``` -------------------------------- ### Quit RustCast Source: https://rustcast.app/ Gracefully quits the RustCast application. Can be triggered from scripts or automation flows. ```APIDOC ## Quit RustCast ### Description Gracefully quits the RustCast application. ### Endpoint `rustcast://quit` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.