Skip to content

anthonyec/powerlet

Repository files navigation

Powerlet

Chrome Extension to quickly find and run bookmarklets.

Available on Chrome Web Store

Screenshot of the extension showing search results

Requirements

  • NodeJS >=10.16
  • Google Chrome or Firefox

Setup

Create an .env file at the root of this repo directory.

Currently the only environment variable is STATS_DOMAIN and is not required to run the project.

$ touch .env

Install the dependencies.

$ npm i

Run build to compile the extension to ./dist.

$ npm run build

After the extension has been built, load it in a browser.

Loading extension in web browser locally

❗️Run the build script at least once before loading extensions into the browser.

Google Chrome

  • Navigate to chrome://extensions/
  • Toggle on "Developer mode"
  • Click "Load unpacked"
  • Select the /dist folder

Firefox

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

Documentation