padloc/packages/tauri
Bruno Bernardino 9b5f8e3d1e
Lock dependencies' versions
This implements `.nvmrc` and `.npmrc` files, as well as locking `package.json` versions, in order to get us closer to reproducible builds and more stable environment.

Closes #320
2021-12-15 16:16:37 +00:00
..
src Fix problem with window load outracing tauri init script 2020-07-30 17:37:55 +02:00
src-tauri Some dependency upgrades 2021-09-15 10:20:21 +02:00
README.md Upgrade tauri 2020-07-28 18:23:10 +02:00
package-lock.json Lock dependencies' versions 2021-12-15 16:16:37 +00:00
package.json Lock dependencies' versions 2021-12-15 16:16:37 +00:00
tsconfig.json Add experimental tauri package 2020-07-19 17:50:05 +02:00
webpack.config.js Add tauri:dev command 2021-06-28 18:08:34 +02:00

README.md

@padloc/tauri (experimental)

Cross-platform native app builder for Padloc, powered by Tauri.

How To Use

  1. Follow the steps described in the Getting Started section of repo readme.

  2. Follow Tauri's setup guide for your platform.

  3. Build the app:

    cd packages/tauri
    npm run build
    

    Don't forget to set the server url configuration variable. For example, if you want the app to connect to the official Padloc server:

    PL_SERVER_URL=https://api.padloc.app npm run build
    

TODOs

Initial tests look very promising. Some things that still need figuring out.

  • Persistent Storage: Using IndexedDB doesn't work here for various reasons. Best option is probably writing a simple storage backend using Tauri's file system api.
  • Copy & Paste: Doesn't work out of the box. Figure out steps to make it work.
  • Auto-updating: Must-have feature for desktop apps at least those not distributed through app stores or package managers. Not available in Tauri yet, but apparently on the roadmap.
  • Code-signing: Also on Tauri's roadmap, but not available yet
  • Run without the embedded web server: Would be the safer choice security-wise but doesn't seem to work as-is. Need to figure out what changes are needed to make it work.
  • Mobile: Waiting for Tauri to support Android and iOS builds, which could potentially replace Cordova.
  • Biometric Authentication: This is a must-have on mobile but it would be nice to have it on desktop as well
  • Secure Enclave / Key Store: Along with biometric authentication, this is a requirement for biometric unlock.