Skip to content

Installation

Rishap Gandhi edited this page Jun 15, 2026 · 1 revision

Installation

From Source (Developer Mode)

Prerequisites

  • Node.js 18+
  • npm 9+
  • Chrome 116+ or Firefox 128+

Steps

  1. Clone the repo:
git clone https://github.com/rishapgandhi/context-harvester.git
cd context-harvester
  1. Install dependencies:
npm install --legacy-peer-deps
  1. Start development mode:
npm run dev          # Chrome
npm run dev:firefox  # Firefox
  1. Load the extension:

Chrome:

  • Navigate to chrome://extensions/
  • Enable "Developer mode"
  • Click "Load unpacked"
  • Select the .output/chrome-mv3 folder

Firefox:

  • Navigate to about:debugging#/runtime/this-firefox
  • Click "Load Temporary Add-on"
  • Select any file in .output/firefox-mv2

Build for Production

npm run build          # Chrome
npm run build:firefox  # Firefox
npm run zip            # Package .zip for Chrome Web Store
npm run zip:firefox    # Package .xpi for Firefox Add-ons

Verify Installation

  • Click the Context Harvester icon in your toolbar
  • You should see "0 snippets collected"
  • Select text on any page → right-click → "Add to Context"

Clone this wiki locally