1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-20 06:56:40 +02:00

Updated Architecture (markdown)

Dimitri Witkowski 2020-06-01 17:20:10 +02:00
parent 956981a4b6
commit dfd152bdd9

@ -106,3 +106,5 @@ Desktop apps are packaged with [electron-packager](https://github.com/electron/e
KeeWeb uses native modules ([node.js C++ addons](https://nodejs.org/api/addons.html#addons_context_aware_addons)) in desktop apps. All modules used in KeeWeb are built in [keeweb-native-modules](https://github.com/keeweb/keeweb-native-modules) repository. Native modules are created: KeeWeb uses native modules ([node.js C++ addons](https://nodejs.org/api/addons.html#addons_context_aware_addons)) in desktop apps. All modules used in KeeWeb are built in [keeweb-native-modules](https://github.com/keeweb/keeweb-native-modules) repository. Native modules are created:
- if the functionality is not available in Electron, for example, YubiKey API - if the functionality is not available in Electron, for example, YubiKey API
- when implementing it in JavaScript would be significantly slower, for example, Argon2 - when implementing it in JavaScript would be significantly slower, for example, Argon2
In other cases it's better to implement everything in JavaScript. For example, a native module for reading QR codes would not be an acceptable solution.