# Dia for Raycast

URL: https://www.raycast.com/the-browser-company/dia

> Search open tabs, bookmarks and history in the Dia browser, open URLs, new and incognito windows, and open installed browser extensions.

- Install: raycast://extensions/the-browser-company/dia
- Author: [The Browser Company](https://www.raycast.com/the-browser-company)
- Installs: 17,692
- Platforms: macOS, Windows
- Categories: Productivity, AI Extensions
- Updated: 2026-11-30
- Source: https://github.com/raycast/extensions/tree/51f177f636ea2a542f2756648060923d4a43b477/extensions/dia/

## Commands

- **Search Dia**: Search tabs, bookmarks and browsing history in Dia
- **Search Tabs**: Search tabs in Dia
- **Search History**: Search browsing history in Dia
- **Search Bookmarks**: Search bookmarks in Dia
- **Search Extensions**: Search the browser extensions installed in Dia and open them
- **New Window**: Create a new window. The optional profile argument is supported on macOS only.
- **New Incognito Window**: Create a new incognito window.
- **Open URL in Dia**: Open a URL in a new Dia tab. Falls back to clipboard or the configured search engine.
- **New Tab**: Create a new Dia tab.

## AI tools

- **Select Tab**: Switch to an open Dia tab
- **Close Tab**: Close an open Dia tab by its ID
- **Get Tab Contents**: Return the visible text of a Dia tab or the focused tab
- **Get Tabs**: Return open tabs across Dia windows. Windows supports active spaces only; macOS includes all spaces.
- **Get Focused Tab**: Return the tab currently focused in Dia
- **Search History**: Search the Dia browsing history
- **Search Bookmarks**: Search the Dia bookmarks
- **Get Spaces**: Return the Dia spaces and which ones are active
- **Switch Space**: Switch a Dia window to another space
- **Get Extensions**: Return the browser extensions installed in each Dia space
- **Open Extension**: Open a Dia browser extension like its toolbar button
- **Open URL**: Open a URL or a web search in a new Dia tab

## README

### [Dia](https://diabrowser.com) - An AI-powered browser from the makers of Arc

Search and quickly navigate your Dia browser's history and bookmarks on macOS and Windows. Search and control live tabs and spaces on macOS and through an experimental Windows backend. Open results in Dia or other browsers, or copy websites to share them.

#### 🔍 Unified Search Command

Use a single unified search command. Use this to search for pinned tabs, open tabs, history items, and get Google suggestions for your search queries. Use the dropdown menu to filter your search to a specific category.

> **💡 Pro Tip:** Assign a global hotkey to the "Search" command to use it even quicker, e.g. "⌘ + ⌥ + L".

#### 🚀 Features

- Use the Search History command to browse your previously visited websites
- Use the Search Tabs command to search and switch between open and pinned tabs from every Dia space. Tabs are grouped by space with the space name or a dot in its color on every row (choose in the Space Label preference), ⌘P filters by space, and ⌘K offers "Switch to Space" actions
- Use the Search Extensions command to search Dia's extensions and open them in the current space. It picks the extension from Dia's Extensions menu (Raycast needs Accessibility access) and falls back to opening the extension's popup in a tab
- Copy websites in different formats such as URL or Markdown to quickly share them
- Create new regular and incognito windows

#### 📦 Requirements

- macOS: Dia Version 1.7.0 or higher
- Windows: Raycast for Windows and Dia installed for the current Windows user

#### Windows support

Search Dia, Search History, Search Bookmarks, Search Extensions, and Open URL in Dia are available on Windows. The extension discovers the packaged Dia browser data under `%LOCALAPPDATA%\Packages\TheBrowserCompany.Dia_ttt1ap7aakyb4\LocalCache\Local\Dia\User Data`, with `%LOCALAPPDATA%\Dia\User Data` as a fallback. It opens links using Dia's Windows app ID, without changing your default browser.

An experimental PowerShell backend uses Windows UI Automation for Search Tabs, focusing/closing tabs, reading page text, listing/switching spaces, New Tab, New Window, and New Incognito Window. Dia must already be open. For tab and space operations, the helper attempts to temporarily reveal a hidden sidebar and restore it afterward, including after errors. This requires Dia to expose a definite hidden state through its accessible toggle or a "Show sidebar" label; otherwise it asks you to show the sidebar manually. Window and tab creation do not require revealing the sidebar. The macOS version requirement does not apply on Windows. The helper runs without a console window, respects the system's PowerShell script policy, and allows up to 60 seconds for Search Tabs and 15 seconds for other commands. It does not enable remote debugging or install a browser extension.

Windows limitations:

- Search Tabs briefly visits each space in each readable window and restores the original space after collecting its tabs. The dropdown filters those results. Focusing a result switches its window to the tab’s space. Search Dia and the Get Tabs tool still list active spaces only.
- Only the selected tab exposes its URL. Other tabs are searchable by title. Pinned state is unavailable, so Windows omits the pinned-tab filter and currently reports `isPinned: false` (unknown, not proof that the tab is unpinned).
- Reading a tab or closing it first selects it and brings Dia forward. Page reading uses accessibility text, not JavaScript, and cannot reliably report loading state. Wait for the page to load before reading it.
- UI Automation tab IDs are temporary. If Dia rebuilds the sidebar (including when it is hidden/revealed), auto-archives a tab, or restarts, refresh results before acting. Stale IDs fail rather than selecting another tab with the same title. If repeated sidebar rebuilding invalidates results, keep the sidebar visible while using tab actions.
- Temporarily revealing the sidebar can briefly change the layout. Restoration is best effort: if Dia hangs, the helper is terminated, or accessibility becomes unavailable, hide it manually. Check the result before retrying an action after a timeout.
- Closing requires a unique, enabled English "Close tab" button inside the selected tab. Unsupported controls return an error without sending a keyboard shortcut.
- Window creation with a specified profile is not supported. Basic creation currently matches English menu labels.
- Dia UI changes can require updating the helper. Ambiguous controls and unsupported layouts return errors instead of guessing.

Search Extensions reads installed extensions from all discovered profiles. On Windows, opening an extension uses its popup URL (or settings page) in Dia's current profile; selecting a specific profile or invoking its toolbar popup is not supported.
