Nothing Special   »   [go: up one dir, main page]

Skip to content
/ e2e Public

Self-hosted End-to-End Encryption in plain JS with zero dependency

License

Notifications You must be signed in to change notification settings

soruly/e2e

Repository files navigation

e2e

Self-hosted End-to-End Encryption in plain JS with zero dependency

License GitHub Workflow Status

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 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