Skip to content

Chrome Extension

The Chrome extension discovers browser-based SLOP providers, opens an AI chat overlay, and can bridge those providers into the desktop app.

The release workflow produces a packaged extension artifact alongside tagged releases. For development and local testing, sideload the extension from source.

Terminal window
git clone https://github.com/devteapot/slop.git
cd slop/apps/extension
bun install
bun run build

Open chrome://extensions, enable Developer mode, choose Load unpacked, and select the apps/extension directory.

  • discovers browser providers via the SLOP discovery tag
  • opens an AI chat overlay with a floating launcher on supported pages
  • relays browser providers to the desktop app when the bridge is enabled
  • supports multiple LLM backends configured from the settings page linked from the popup

The popup controls browser behavior:

  • Active enables or disables the extension on the current browser profile
  • Chat overlay shows or hides the floating in-page launcher
  • Desktop bridge connects the extension to the desktop app

LLM profiles are managed on the extension settings page, not directly inside the popup:

  1. Open the popup.
  2. Click LLM Settings ->.
  3. Add or edit a profile for Ollama, OpenAI, OpenRouter, or Gemini.
  4. Open the in-page chat overlay and pick the active profile and model.

The extension starts with a default local Ollama profile at http://localhost:11434 using qwen2.5:14b.

Open your app in Chrome, load the unpacked extension, and use the chat overlay directly in the page. This is useful when you want to verify that:

  • the page’s provider is being discovered correctly
  • the current tree matches the visible UI
  • invoking affordances from chat produces the expected changes

If the current page is not SLOP-native yet, use the popup’s page scan to activate the accessibility adapter. That gives you a temporary provider-like view of the page so you can exercise the browser consumer before your native integration is finished.

Enable the desktop bridge in the popup, then start the desktop app. The extension re-announces active providers after reconnects or service-worker restarts, which makes it practical to keep a browser tab attached to a larger multi-provider desktop workspace.

When enabled, the extension connects to the desktop bridge at ws://127.0.0.1:9339/slop-bridge and re-announces active browser providers after reconnects or service-worker restarts.