https://github.com/soruly/e2e
Self-hosted End-to-End Encryption in plain JS with zero dependency
https://github.com/soruly/e2e
encryption jwk webcrypto
Last synced: 9 months ago
JSON representation
Self-hosted End-to-End Encryption in plain JS with zero dependency
- Host: GitHub
- URL: https://github.com/soruly/e2e
- Owner: soruly
- License: mit
- Created: 2022-06-22T09:46:34.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-08-12T13:48:12.000Z (11 months ago)
- Last Synced: 2025-08-12T15:36:32.143Z (11 months ago)
- Topics: encryption, jwk, webcrypto
- Language: JavaScript
- Homepage: https://e2e.soruly.moe
- Size: 175 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# e2e
Self-hosted End-to-End Encryption in plain JS with zero dependency
[](https://github.com/soruly/e2e/blob/master/LICENSE)
[](https://github.com/soruly/e2e/actions)
## Getting Started
Prerequisites: nodejs >= 20.12
```
git clone https://github.com/soruly/e2e.git
cd e2e
npm install
node server.js
```
Note: In order for PWA to work, you must host the server behind a reverse proxy (like nginx) with HTTPS
### Environment Variables
- Copy `.env.example` to `.env`
- Edit `.env` as you need
```
SERVER_PORT=3000 # (optional) Default: 3000
SERVER_ADDR=127.0.0.1 # (optional) Default: 127.0.0.1
```
### Run by pm2
You also can use [pm2](https://pm2.keymetrics.io/) to run this in background.
Use below commands to start / restart / stop server.
```
npm run start
npm run stop
npm run reload
npm run restart
npm run delete
```