Control your AirSync macOS app directly from Raycast with this powerful extension.
This extension provides 9 commands to interact with your AirSync app:
View detailed information about your connected Android device:
Quickly disconnect from your currently connected device with visual feedback.
Reconnect to your last connected device on the current network.
Browse and interact with all notifications from your Android device:
View and control media playback on your device:
Launch full device mirroring to view your entire Android screen on macOS.
Launch desktop mode mirroring (requires Android 15+).
Browse and mirror specific apps from your device:
Connect to your device via ADB for mirroring features. Provides detailed feedback for:
git clone https://github.com/sameerasw/airsync-raycast.git
cd airsync-raycast
npm install
npm run dev
npm run build
airsync-raycast/
βββ src/
β βββ status.tsx # Device status command
β βββ disconnect.tsx # Disconnect command
β βββ reconnect.tsx # Reconnect command
β βββ notifications.tsx # Notifications list with actions
β βββ reply-notification.tsx # Reply form for notifications
β βββ media.tsx # Media player with controls
β βββ launch-mirroring.tsx # Full device mirroring
β βββ desktop-mode.tsx # Desktop mode mirroring
β βββ mirror-app.tsx # App-specific mirroring
β βββ connect-adb.tsx # ADB connection command
β βββ utils/
β βββ applescript.ts # AppleScript utilities
βββ assets/
β βββ extension-icon.png # Extension icon (512x512)
βββ package.json # Extension manifest
βββ tsconfig.json # TypeScript configuration
The extension communicates with AirSync using these AppleScript commands:
tell application "AirSync" to get status - Get device status (returns JSON)tell application "AirSync" to disconnect - Disconnect from devicetell application "AirSync" to reconnect - Reconnect to devicetell application "AirSync" to connect adb - Connect via ADBtell application "AirSync" to get notifications - Get notifications (returns JSON array)tell application "AirSync" to notification action "id|action_name|reply_text" - Perform notification actiontell application "AirSync" to dismiss notification "id" - Dismiss notificationtell application "AirSync" to get media - Get media info (returns JSON)tell application "AirSync" to media control "toggle" - Play/pausetell application "AirSync" to media control "next" - Next tracktell application "AirSync" to media control "previous" - Previous tracktell application "AirSync" to media control "like" - Like/unlike tracktell application "AirSync" to launch mirroring - Launch full device mirroringtell application "AirSync" to desktop mode - Launch desktop modetell application "AirSync" to get apps - Get list of apps (returns JSON)tell application "AirSync" to mirror app "package_name" - Mirror specific appnpm run dev - Run in development mode with Raycastnpm run build - Build the extensionnpm run lint - Lint the codenpm run fix-lint - Fix linting issuesMIT License - see LICENSE file for details.
Created by @sameerasw
Made with β€οΈ for the AirSync community