/cosurfer

Chrome extension to ask questions to websites via LLMs

Primary LanguageTypeScriptMIT LicenseMIT

Cosurfer

Screenshot of Cosurfer browser extension

Introduction

Cosurfer is a browser extension (currently only for Chromium based browsers), that lets you ask questions to the website in your current browser tab using LLMs. It can summarize long discussions for you for example.

Installation

  • Take the dist folder of this repository OR build it yourself
  • Go to chrome://extensions
  • Click "Load unpacked"
  • Select the dist folder

Setup

You can use Cosurfer with different LLM providers remote and local.

Groq

  • Create an account at Groq
  • Generate an API key
  • Open the Cosurfer settings by clicking the gear icon
  • Insert the groq API key

Ollama

  • Install Ollama, e.g. with brew install ollama on MacOS
  • Start Ollama with OLLAMA_ORIGINS=chrome-extension://* ollama serve
  • Download a model
  • Insert Ollama address in Cosurfer settings, e.g. http://localhost:11434
  • Select Ollama model in Cosusrfer settigns, e.g. llama3:8b

Tech Stack

Limitations

Development

  • npm install
  • npm run build
  • npm run watch