MagicPad is an OpenPGP encryption / decryption tool for beginners. It is designed to be run standalone via the browser or as an executable (Electron). Using PGP as the main encryption engine, the encryption key generated in MagicPad are powerful 4096-bit keys.
You can run MagicPad four ways:
- Download executable at
https://www.magicpad.io
- Clone and run
./app/index.html
via web browser - Clone, build and run executable (saved at
./dist
):
npm install
npm run dist
To only build html/css/js without running electron, run: npm run buildwebapp
If building from Ubuntu, run this first:
sudo apt-get install rpm
- Run Electron via Node from command line (you need Electron globally installed):
npm i -g magicpad
npm i -g electron
magicpad
In the build procedure, the following happens:
- HTML files in the
./html_src
folder are combined into a singleindex.html
file in./app
. - JS files in
./app/js
are added as<script>
tags after</body>
tag inindex.html
. (Step 1 and 2 are controlled by./build_magicpad.index.js
) index.html
is saved to./app
.- All other files are static in
./app
and are not altered. - Electron executable is created in a
./dist
folder.
If you want to host your own MagicPad PWA, you must edit the "start_url"
property manifest.json
file in /src
Software used:
- Node.js
- url, path, fs-extra, ncp, and jsdom packages
- Electron, Electron Context Menu, and Electron builder
- Openpgp.js
- Steganography.js
- jQuery
- Font and design styling by IBM
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.