Skip to content

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

git clone https://github.com/soruly/e2e.git
cd e2e
npm install
node server.ts

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

Put this file to /etc/systemd/system/e2e.service

[Unit]
Description=e2e
Wants=network-online.target
After=network-online.target

[Service]
User=____
Group=____
WorkingDirectory=/home/____/project/e2e
Environment=NODE_ENV=production
ExecStart=/usr/bin/node /home/____/project/e2e/server.ts
Restart=always

[Install]
WantedBy=multi-user.target

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors