Extension Browser extension

n4ze3m/page-assist

Open-source browser extension offering a sidebar and web UI to chat with local AI models (Ollama, Chrome AI, OpenAI-compatible endpoints) from any webpage.

  • 8.2k GitHub stars
  • TypeScript

Last verified: write-up checked

bun install
n4ze3m/page-assist preview image

What it is

Page Assist is an open-source browser extension that provides a sidebar and web UI for your local AI model, letting you interact with it from any webpage. It supports Chromium-based browsers and Firefox. It can connect to Ollama, Chrome AI (Gemini Nano), and OpenAI API compatible endpoints such as LM Studio and llamafile.

Who it's for

  • Users running local AI models who want to chat with them while browsing
  • People who want a ChatGPT-style web UI for a local model
  • Developers who want to build or modify the extension from source

Requirements

Requirements

  • A supported browser: Chromium-based (Chrome, Brave, Edge) or Firefox
  • A local AI provider: Ollama, Chrome AI (Gemini Nano), or an OpenAI API compatible endpoint (like LM Studio, llamafile)
  • For manual installation: Bun (or npm if Bun causes issues) and Ollama or an OpenAI-compatible endpoint

Setup

  1. Install from a browser store

    Install Page Assist from the Chrome Web Store, Firefox Add-ons, or Edge Add-ons pages linked in the README.

  2. Clone the repository (manual install)

    Clone the repo and enter the directory.

    bash
    git clone https://github.com/n4ze3m/page-assist.git
    cd page-assist
  3. Install dependencies

    Install dependencies with Bun. If you face issues with Bun, use npm instead.

    bash
    bun install
  4. Build the extension

    By default this builds for Chrome, Edge and Firefox.

    bash
    bun run build
  5. Load the extension

    In Chrome, go to chrome://extensions, enable Developer Mode, click Load unpacked and select the build directory. In Firefox, go to about:addons, open the Extensions tab, click Manage Your Extensions, then Load Temporary Add-on and select manifest.json from the build directory.

Examples

Run in development mode

bash
bash
bun dev

What it does: Starts a development server that watches for changes in source files so you can load the extension and test changes.

Open the sidebar

Prompt
prompt
Ctrl+Shift+Y

Expected output: Default shortcut to open the sidebar on any webpage; it can also be opened via the context menu.

Open the Web UI

Prompt
prompt
Ctrl+Shift+L

Expected output: Default shortcut that opens the Web UI in a new tab; clicking the extension icon does the same.

Toggle chat with current page

Prompt
prompt
Ctrl+E

Expected output: Application shortcut that toggles between normal chat and chat with the current page.

Pros & cons

Pros

  • Pro:Supports multiple local providers: Ollama, Chrome AI (Gemini Nano), and OpenAI-compatible endpoints
  • Pro:Offers a sidebar, a ChatGPT-like Web UI, and chat with webpage content
  • Pro:Stores data locally in browser storage and does not collect personal data
  • Pro:Wide browser support, with keyboard shortcuts and MIT license

Cons

  • Con:Opera and Arc support only the Web UI, not the sidebar or chat with webpage
  • Con:Requires a separately set up local AI provider such as Ollama
  • Con:Roadmap items like more customization options and better UI/UX are still unfinished

Images