Self-hosted End-to-End Encryption in plain JS with zero dependency
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
- 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
You also can use pm2 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