A companion browser extension for Polyscope — connect your preview tabs to workspaces and use in-page tools like the element picker.
- Node.js (v18 or later)
- npm
1. Clone the repository:
git clone https://github.com/beyondcode/polyscope-chrome.git
cd polyscope-chrome2. Install root dependencies:
npm install3. Install extension dependencies and build:
cd packages/chrome-extension
npm install
npm run buildThe compiled extension will be output to packages/chrome-extension/dist/.
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 |
- Open Chrome and navigate to
chrome://extensions - Enable Developer mode using the toggle in the top-right corner
- Click Load unpacked
- 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.
Polyscope Chrome Extension is open-sourced software licensed under the MIT license.