Skip to content

techfromsage/ll-extension-2024.32.0-gpl

Repository files navigation

LL - Browser Extension

The LL extension is a free tool which assists your library in delivering their services directly into your research workflow in more ways than one!

Technologies this application uses:

💻 Local development setup

  1. Clone the repository
  2. Install dependencies
    $ npm install
    
  3. Start the development server
    $ npm run start
    

You can Load your extension as follows:

  1. Access chrome://extensions/ (Chrome) opera://extensions (Opera) edge://extensions/ (Edge) about:debugging (Firefox)
  2. Check Developer mode (Chrome/Opera/Edge)
  3. Click on Load unpacked extension (Chrome/Opera/Edge) This Firefox -> Load Temporary Add-on (Firefox)
  4. Select the build folder.

Or alternative from Git Bash running just one command:

Mac

npm run start:chrome (Chrome) npm run start:opera (Opera) alias edge="/Applications/Microsoft\ Edge.app/Contents/MacOS/Microsoft\ Edge" (Edge) npm run start:edge (Edge) npm run start:firefox (Firefox)

Development guide

All extension specific code must be placed in the src folder.

Webpack auto-reload and HRM

To make your workflow much more efficient we use the webpack server to develop (started with npx start) with auto reload - reloads the browser automatically every time that you save some file in your editor.

You can run the dev mode on other port if you want. Just specify the env var port like this:

$ PORT=6002 npm run start

Configuration

Configuration is pulled in from the API and stored. Any configuration that actually needs to be secret will have to set up separately.

Useful links/ Resources

URL Description
Chrome Extension documentation Getting started with Creating a Chrome Browser extension
Webpack documentation Webpack concepts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages