padloc/packages/pwa
Bruno Bernardino 8ef09eb7be
Security Audit v1 (#414)
This adds a security audit page with automatic checks for:

- Reused passwords
- Weak passwords
- Compromised passwords

Storing the audit information in the items themselves.

Co-authored-by: Martin Kleinschrodt <martin@maklesoft.com>
2022-04-06 07:18:50 +01:00
..
src "Manually" generate favicon instead of using webpack plugin 2021-12-05 09:26:15 +01:00
README.md Add pwa readme 2022-02-25 16:25:33 +01:00
package-lock.json Update tauri and other dependencies 2022-03-22 08:01:48 +01:00
package.json Update tauri and other dependencies 2022-03-22 08:01:48 +01:00
tsconfig.json Create new pwa package to separate webpack builds from ui package 2019-10-12 17:12:45 +02:00
webpack.config.js Security Audit v1 (#414) 2022-04-06 07:18:50 +01:00

README.md

@padloc/pwa

The Padloc Web Client, a Progressive Web App.

Setup

Currently the @padloc/pwa package is meant to be used from within the Padloc monorepo. A standalone npm package is coming soon!

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

Building

To build the pwa, simply run the following from within the package directory.

npm run build

Build options

All build options are provided as environment variables:

Variable Name Description Default
PL_SERVER_URL URL to the server component ./dist
PL_PWA_DIR Build output directory ./dist
PL_DISABLE_SW Disable web worker ./dist

Web Server

This package also has a bundled web server, which can be used to serve the web app:

npm run start

By default the app ist hosted on port 3000. To change the port, you can use the PL_PWA_PORT environment variable:

PL_PWA_PORT=8081 npm run start

Note that this requires the PWA to be built first. To build and serve the app in one step, run:

npm run build_and_start

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.