Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.53 KB

File metadata and controls

58 lines (38 loc) · 1.53 KB

Polyscope Chrome Extension

A companion browser extension for Polyscope — connect your preview tabs to workspaces and use in-page tools like the element picker.

Requirements

Building from Source

1. Clone the repository:

git clone https://github.com/beyondcode/polyscope-chrome.git
cd polyscope-chrome

2. Install root dependencies:

npm install

3. Install extension dependencies and build:

cd packages/chrome-extension
npm install
npm run build

The compiled extension will be output to packages/chrome-extension/dist/.

Available Scripts

From the packages/chrome-extension directory:

Command Description
npm run build Production build
npm run dev Build in watch mode (rebuilds on file changes)
npm run typecheck Run TypeScript type checking without emitting files
npm run package Build and create a .zip ready for the Chrome Web Store

Installing in Chrome

  1. Open Chrome and navigate to chrome://extensions
  2. Enable Developer mode using the toggle in the top-right corner
  3. Click Load unpacked
  4. Select the packages/chrome-extension/dist/ folder

The extension icon will appear in your Chrome toolbar. Click it to toggle in-page tools on or off. You can also activate the element picker with the keyboard shortcut Alt+Shift+P.

License

Polyscope Chrome Extension is open-sourced software licensed under the MIT license.