PGP Converter is a web-based tool that enables users to encrypt and decrypt text using the PGP (Pretty Good Privacy) protocol. The application is built with Node.js, SvelteKit, Vite and Tailwind CSS, and it uses the OpenPGP.js library to handle the encryption and decryption process.
Website: https://pgp-converter.com
Source Code: https://github.com/polyym/pgp-converter
- Key Features
- Features to Look Out For in the Next Release
- Website Structure
- Security
- Building and Running Locally
- Contributions
PGP Converter offers:
- Easy-to-use PGP encryption and decryption
- Secure implementation using client-side operations
- Cross-platform compatibility
- Open-source code for transparency and contributions
Future versions of PGP Converter will provide:
- Key generation capabilities
- Key storage solutions
- Comprehensive PGP instruction guide
The website is built using SvelteKit. Here's a brief overview of the main directories and their roles:
/src/routes
: This directory contains the Svelte components for each page./static
: This directory houses reusable Svelte components and utility functions.
Security is paramount for PGP Converter. No data ever leaves your browser — all encryption and decryption is done client-side.
To build and run PGP Converter locally, ensure that you have Node.js v14.0.0 or later and npm v6.0.0 or later installed on your machine.
Project Setup
To set up the project on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/polyym/pgp-converter.git
- Navigate to the project directory:
cd pgp-converter
- Install the dependencies:
npm install
- Start the development server:
npm run dev
You can open the application in a new browser tab with npm run dev -- --open
.
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
You can open the application in a new browser tab with:
```
npm run dev -- --open
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
Contributions are always welcome. Please fork the repository and create a pull request with your changes.