Password Management application with Electron Js. Safe your passwords encrypted with Passafe.
To run beta releases you should have Node js and NPM to start the app:
# For node_modules/
$ npm install
# To start the app
$ npm start
- To interact with Database directly you will use
npm run wpc -- <args>
:
# Wipe all database and recreate tables
$ npm run wpc -s -- w
# Wipe all database, recreate tables, insert some examples
$ npm run wpc -s -- ci
This scripts will erase your database, be careful
- To interact with the masterkey you will use
npm run mkc -- <args>
:
# Set Master Key to 12345
$ npm run mkc -s -- smk=12345
Compile the app you should use Electron Packager
Installing Electron Packager: Run these commands in the terminal from the app folder:
# for use in npm scripts
$ npm install electron-packager --save-dev
# for use from cli
$ npm install electron-packager -g
Once installed, we're going to package for each OS.
# From a script
$ npm run packageOSX
# From Electron CLI
$ electron-packager . --overwrite --platform=darwin --arch=x64 --icon=images/icon.icns --prune=true --out=release-builds
# From a script
$ npm run packageWIN
# From Electron CLI
$ electron-packager . Passafe --overwrite --platform=win32 --arch=ia32 --icon=images/icon.ico --prune=true --out=release-builds
# From a script
$ npm run packageLINUX
# From Electron CLI
$ electron-packager . Passafe --overwrite --platform=linux --arch=x64 --icon=images/icon.png --prune=true --out=release-builds
Made it by Ian Mora Rodriguez.