padloc/packages/extension
Martin Kleinschrodt 2ea970b261
Allow selectively disabling all billing functionality on certain platforms (#505)
* Allow selectively disabling all billing functionality on certain platforms

* Remove check for org metadata param in customer

* Fix linter complaint
2022-07-26 10:41:30 +01:00
..
src Allow selectively disabling all billing functionality on certain platforms (#505) 2022-07-26 10:41:30 +01:00
README.md Add readme for web extension 2022-02-25 16:25:33 +01:00
package-lock.json Fix vulnerable dependencies (where possible) 2022-06-22 14:32:27 +02:00
package.json Fix dependencies with vulnerabilities 2022-06-22 13:57:57 +02:00
tsconfig.json First pass at implementing browser extension with auto-fill 2020-01-14 19:57:52 +01:00
webpack.config.js Security Audit v1 (#414) 2022-04-06 07:18:50 +01:00

README.md

@padloc/extension

The Padloc browser extension.

Setup

The @padloc/extension package is meant to be used from within the Padloc monorepo.

git clone git@github.com:padloc/padloc.git
cd padloc
npm ci
cd packages/extension

Building

To build an unpacked version of the web extension, simply run the following from within the package directory.

npm run build

The resulting build can be fund in the dist folder.

Build options

All build options are provided as environment variables:

Variable Name Description Default
PL_SERVER_URL URL to the server component ./dist

Installing an unpacked extension

Once built, the easiest way to install and use the extension is to install it as an "unpacked extension". Steps vary from browser to browser:

Google Chrome: https://developer.chrome.com/docs/extensions/mv3/getstarted/#unpacked

Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#installing

Development

For development instructions, please refer to the monorepo readme.

Contributing

For info on how to contribute to Padloc, please refer to the monorepo readme.