Skip to content

xupisco/saidr

Repository files navigation

Saidr

Install from Chrome Web Store

Info: This extension was generated by AI. Supervised by me.

Saidr is a Chrome MV3 extension for contextual AI assistance while browsing.

It adds a selection toolbar, a floating AI panel, and a side panel with chat, history, settings, bots, providers, and prompt actions.

What It Does

  • Shows a floating toolbar when text is selected on a page.
  • Runs quick actions such as translate, summarize, explain, rewrite, and custom prompts.
  • Opens a floating AI panel for contextual answers and follow-up questions.
  • Provides a side panel chat for longer conversations.
  • Supports saved sessions and history.
  • Supports configurable bots, where each bot is a provider + model preset.
  • Supports a global prompt sent with every request.
  • Streams responses from supported providers.

Providers

Current providers:

  • OpenAI via the Responses API.
  • LM Studio via the OpenAI-compatible local API.
  • Ollama via the local generate API.

Settings are stored locally in chrome.storage.local.

Requirements

  • Chrome or a Chromium-based browser with extension developer mode.
  • Node.js v25.8.0.
  • npm.
  • nvm is recommended for selecting the expected Node version.

Setup

source ~/.nvm/nvm.sh
nvm use v25.8.0
npm install

Build

source ~/.nvm/nvm.sh
nvm use v25.8.0
npm run build

The loadable Chrome extension is generated in dist/.

Load In Chrome

  1. Open chrome://extensions.
  2. Enable Developer mode.
  3. Click Load unpacked.
  4. Select the dist/ directory.
  5. Open the extension side panel from the extension icon.

After changes, run npm run build again and reload the extension from chrome://extensions.

Local UI Development

For quick side panel UI work:

source ~/.nvm/nvm.sh
nvm use v25.8.0
npm run dev

This is useful for editing the Svelte UI, but browser extension APIs and content scripts still require the built extension loaded from dist/.

Basic Usage

  1. Configure providers in Settings > Providers.
  2. Create or edit bots in Settings > Bots.
  3. Edit prompt actions in Settings > Prompts.
  4. Select text on any regular webpage.
  5. Choose an action from the floating toolbar.
  6. Continue the conversation in the floating panel or open it in the side panel.

Provider Notes

LM Studio

Default URL:

http://localhost:1234/v1

Create a bot with provider LM Studio and the exact model id loaded in LM Studio.

Ollama

Default URL:

http://localhost:11434

Create a bot with provider Ollama and the local model name.

OpenAI

Set your API key in Settings > Providers, then create a bot with provider OpenAI and the model id you want to use.

No OpenAI model is hardcoded by default.

Scripts

npm run dev
npm run build
npm run check

Privacy

Saidr stores settings, bots, prompts, and history locally in the browser using chrome.storage.local.

Selected text and prompts are sent only to the provider selected by the active bot.

License

MIT. See LICENSE.

About

Saidr is a Chrome MV3 extension for contextual AI assistance while browsing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors