A comprehensive Raycast extension for managing the Caddy web server on macOS.
- Real-time status indicator showing if Caddy is running or stopped
- Quick access to all configured domains
- View process ID and uptime
- Quick actions: Start, Stop, Restart
- Refresh status with ⌘R
Start the Caddy server using Homebrew services or direct caddy command.
Stop the running Caddy server gracefully.
Restart Caddy server to apply configuration changes.
Browse all configured domains and URLs from your Caddyfile:
- View all configured domains
- Open domains in browser
- Copy URLs and domain names
- View raw Caddyfile
- Quick access to Caddyfile location
- macOS
- Caddy installed (preferably via Homebrew:
brew install caddy
) - Caddyfile in one of the following locations:
/opt/homebrew/etc/Caddyfile
(Apple Silicon)/usr/local/etc/Caddyfile
(Intel)~/Caddyfile
/etc/caddy/Caddyfile
- Clone or download this extension
- Open Raycast
- Navigate to Extensions > Add Extension
- Select this extension directory
The menu bar icon shows the current status of Caddy:
- 🟢 Green checkmark = Running
- 🔴 Red X = Stopped
Click the menu bar icon to:
- View status details (PID, uptime)
- See all configured domains
- Click on any domain to open it in your browser
- Start, stop, or restart Caddy
Use Raycast's command palette to:
Start Caddy
- Start the serverStop Caddy
- Stop the serverRestart Caddy
- Restart the serverView Caddy Config
- Browse domains and configuration
The extension:
- Uses
pgrep
to detect if Caddy is running - Reads your Caddyfile from common installation locations
- Parses domains and ports from the Caddyfile
- Provides quick actions via Homebrew services or direct caddy commands
- The menu bar updates automatically when you interact with it
- Use ⌘R to manually refresh the status
- Domain URLs are automatically detected with proper protocol (http/https) based on port
- All actions show toast notifications with success/failure status
# Install dependencies
npm install
# Start development mode
npm run dev
# Build for production
npm run build
MIT