Control GoMount from Alfred or Raycast

GoMount registers a custom URL scheme so you can trigger common actions from Alfred, Raycast, Shortcuts, or even a shell script. Instead of opening the app and clicking through menus, a single command mounts your NAS, opens File Hub, or jumps straight to Settings. This guide covers every supported URL and how to wire it into your favorite launcher.

What Are URL Schemes?

A URL scheme is a special link format that macOS routes to an application instead of a browser. When you open a link like gomount://mount, macOS hands it to GoMount, which performs the requested action immediately. You can trigger these links from Alfred workflows, Raycast scripts, Keyboard Maestro, AppleScript, or the Terminal.

Pro Tip

URL schemes work even when GoMount is not running. macOS launches the app in the background, executes the command, and keeps it running according to your preferences.

Supported GoMount URLs

The table below lists the URLs currently registered by GoMount. Use them directly in any app that can open a URL.

URL Action Notes
gomount://mount Mount all enabled NAS and cloud storage devices Respects network rules; runs on all matching connections
gomount://unmount Safely unmount all mounted volumes Waits for active transfers unless forced
gomount://mount?name=MyNAS Mount a specific device by display name Name must match the device name in GoMount settings
gomount://unmount?name=MyNAS Unmount a specific device by display name Use URL-encoded names if your device name contains spaces
gomount://open-filehub Open the File Hub window Also brings GoMount to the foreground
gomount://open-filehub?schema=Home Open File Hub and select a schema Schema name is case-sensitive
gomount://open-settings Open GoMount Settings Lands on the General tab
gomount://open-settings?tab=rules Open Settings on a specific tab Tabs: general, rules, license, advanced, feedback
Case Sensitivity

Device and schema names in query parameters are case-sensitive. If your NAS is named MyNAS, mynas will not match. Use URL encoding for spaces and special characters, for example My%20NAS.

Using Alfred

Alfred is one of the fastest ways to put URL schemes to work. You can create simple keyword triggers that open a URL, or build more advanced workflows with filters and fallbacks.

Simple Keyword Trigger

  1. Open Alfred Preferences and go to Workflows.
  2. Create a blank workflow named GoMount.
  3. Add a Keyword input and set it to gm (or any keyword you prefer).
  4. Connect the keyword to an Open URL action.
  5. Paste gomount://mount into the URL field.
  6. Save and type gm into Alfred.

Multiple Commands with a List Filter

If you want one keyword with several options, use Alfred's List Filter:

Mount All       → gomount://mount
Unmount All     → gomount://unmount
Open File Hub   → gomount://open-filehub
Open Settings   → gomount://open-settings

Set the keyword to gmt and connect each list item to its own Open URL action. The result is a quick command palette for GoMount.

Mount a Specific Device

To mount only one NAS, create a keyword with argument required:

URL: gomount://mount?name={query}

Then type gmm MyNAS to mount just that device. This is useful when you have several NAS entries but only want to bring one online.

Using Raycast

Raycast supports custom scripts and deeplinks, making it easy to expose GoMount commands in your command palette.

Quicklink Deeplinks

  1. Open Raycast and search for Create Quicklink.
  2. Name it Mount NAS and set the link to gomount://mount.
  3. Give it a shortcut such as mn so you can type mn in Raycast.
  4. Repeat for gomount://unmount, gomount://open-filehub, and gomount://open-settings.

Script Command with Arguments

For a single command that accepts a device name, create a new script command with the following Bash content:

#!/bin/bash

# @raycast.title Mount Specific NAS
# @raycast.mode silent
# @raycast.argument1 { "type": "text", "placeholder": "Device name" }

open "gomount://mount?name=$1"

Save the script in your Raycast scripts directory, refresh Raycast, and you can now type the command followed by the NAS name.

Shell and AppleScript

URL schemes are not limited to launchers. You can use them anywhere macOS can open a URL.

Terminal

# Mount everything
open gomount://mount

# Mount a specific device
open "gomount://mount?name=MyNAS"

# Open File Hub for a schema
open "gomount://open-filehub?schema=Home"

AppleScript

tell application "System Events"
    open location "gomount://mount"
end tell

Shortcuts

Add an Open URLs action in the Shortcuts app and paste any GoMount URL. Combine it with focus modes or time-of-day automations to mount your NAS when you start working in the morning.

Workflow Ideas

Here are a few ways to integrate GoMount URL schemes into your daily routine:

  • Arrive at the office: a Keyboard Maestro or BetterTouchTool gesture runs gomount://mount when your Mac connects to the work Wi-Fi.
  • Start a project: an Alfred workflow mounts your project NAS, opens File Hub to the right schema, and launches your code editor in one keystroke.
  • End of day: a Raycast command runs gomount://unmount before you close your laptop to ensure clean disconnects.
  • Remote support: send a user a single command to open GoMount Settings to the Feedback tab so they can attach logs with one click.

Troubleshooting

If a URL scheme does not seem to work, check the following:

  • GoMount is installed. The URL scheme is registered during the first launch. If you have never opened GoMount, macOS may not know where to route the link.
  • Name spelling matches exactly. Device and schema names are case-sensitive and must be URL-encoded when they contain spaces.
  • Network rules allow the action. gomount://mount only mounts devices whose network rules are satisfied. If you are not on the expected network, nothing will mount.
  • Transfers are active. gomount://unmount waits for active file transfers to finish. Use the app menu if you need to force an immediate unmount.
Still stuck?

Review the Getting Started guide for rule setup, the File Browser Tips for File Hub shortcuts, or the Network Trigger Rules guide for advanced automation ideas.

Put your NAS on autopilot

Download GoMount free and pair it with Alfred or Raycast for a fully keyboard-driven NAS workflow.

Download for macOS