Plasmate Raycast Extension

April 11, 2026 ยท View on GitHub

A Raycast extension for Plasmate - the browser engine for AI agents that converts HTML to structured JSON (Semantic Object Model).

Features

  • Fetch Page - Enter a URL and get the Semantic Object Model (SOM) JSON, text, or markdown
  • Fetch Page as Text - Extract clean, readable text from any webpage
  • Fetch Page as Markdown - Convert any webpage to clean Markdown format

All commands support:

  • Copy result to clipboard
  • Paste result directly
  • Loading states with progress indicators
  • Error handling with clear messages

Prerequisites

You need to have Plasmate installed on your system:

npm install -g plasmate

Or build from source:

git clone https://github.com/nickspaargaren/plasmate
cd plasmate
cargo build --release

Installation

  1. Clone this repository
  2. Run npm install
  3. Run npm run dev to start development mode
  4. The extension will be available in Raycast

Preferences

  • Default Output Format - Choose between JSON, Text, or Markdown as the default format
  • Timeout (seconds) - Maximum time to wait for page fetch (default: 30)
  • Plasmate Path - Custom path to the plasmate binary (leave empty for global installation)

Commands

Fetch Page

The main command that lets you fetch any URL and convert it to your preferred format:

  • JSON (SOM) - Structured Semantic Object Model
  • Text - Clean, readable text
  • Markdown - Formatted Markdown

Fetch Page as Text

Quick access to extract readable text from any webpage. Perfect for:

  • Reading articles without distractions
  • Copying content for notes
  • Processing text with other tools

Fetch Page as Markdown

Convert any webpage to Markdown format. Great for:

  • Saving articles to your notes app
  • Creating documentation
  • Sharing formatted content

Development

# Install dependencies
npm install

# Start development mode
npm run dev

# Build the extension
npm run build

# Lint the code
npm run lint

# Fix lint issues
npm run fix-lint

License

MIT