soruly / e2e

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

Home Page:https://e2e.soruly.moe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://e2e.soruly.moe

License:MIT License


Languages

Language:HTML 56.4%Language:JavaScript 43.6%