LinkOpenContact

Raycast script

A Raycast Script Command for the Mac: paste an app link, press Enter, and the https link is on your clipboard.

Works on
macOS
Sends
The app link, to the LinkOpen API. Nothing else.

Add the script

A Script Command for Raycast on a Mac. Save it as linkopen.sh in a folder of its own. In Raycast settings, open Extensions, click the plus button, choose Add Script Directory and pick that folder.

Run Copy LinkOpen Link, paste an app link, press Enter, and the https link is on your clipboard. If Raycast can’t run the script, make it executable with chmod +x linkopen.sh.

linkopen.sh
#!/bin/bash

# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Copy LinkOpen Link
# @raycast.mode silent

# Optional parameters:
# @raycast.packageName LinkOpen
# @raycast.argument1 { "type": "text", "placeholder": "App link" }

# Documentation:
# @raycast.description Turn an app link into an https link and copy it.

link=$(curl -sS -G https://linkopen.app/api/link --data-urlencode "url=$1")

case "$link" in
  https://*)
    printf '%s' "$link" | pbcopy
    echo "Copied $link"
    ;;
  *)
    echo "$link"
    exit 1
    ;;
esac

More integrations

All integrations
  • iPhone, iPad and Mac

    Apple Shortcuts

    Copy as LinkOpen Link, a shortcut for iPhone, iPad and Mac: share or copy an app link, run it, and the https link is on your clipboard.

    How to use it: Apple Shortcuts
  • Desktop and mobile

    Obsidian

    A community plugin that copies a LinkOpen link to the current note, heading or block, straight from Obsidian.

    How to use it: Obsidian
  • Self-hosted n8n

    n8n

    A community node for n8n that turns app links into LinkOpen links inside a workflow, and reads the app link back out of one.

    How to use it: n8n
  • Any language

    API

    Send an app link to GET /api/link and get the https link back, or send a LinkOpen link and get the app link. No key, no account.

    How to use it: API