Extension Icon

Toggle Proxy

Toggle SOCKS proxy, manage Xray configs, and convert VLESS URLs on macOS
Overview

Toggle Proxy

Manage SOCKS proxy, Xray configs, and SSH tunnels on macOS directly from Raycast.

Features

Proxy Menu Bar

Toggle SOCKS proxy from the macOS menu bar:

  • Select which Xray config to run
  • See the currently active config
  • Automatic session management via tmux

Convert VLESS URL

Convert VLESS URLs to Xray JSON configurations:

  • Automatic saving to your Xray directory
  • Custom routing rules with support for additional countries, domains, and IPs

Config Manager

Browse, edit, and delete Xray configuration files:

  • View file details (size, modification date, content preview)
  • Built-in editor for quick changes
  • Open in external editor

Tunnel Manager

Create and manage SSH tunnel connections.

Subscription Manager

Manage VLESS subscription URLs and keep configs up to date.

Prerequisites

This extension requires tmux and Xray installed on your system.

brew install tmux

Configuration

PreferenceDescriptionDefault
SOCKS HostProxy host address127.0.0.1
SOCKS PortProxy port number1080
Xray Config PathDirectory with Xray binary and configs~/xray
Default ConfigDefault configuration file nameconfig.json

Troubleshooting

tmux not found

If the extension cannot find tmux, make sure it is in your PATH. You can create a symlink:

sudo ln -s $(which tmux) /usr/local/bin/tmux

Proxy fails to start

  1. Verify your config file exists and contains valid JSON
  2. Ensure the configured port is not already in use
  3. Try running Xray manually to check for errors