https://github.com/vientorepublic/safe-share
E2EE file sharing supporting encryption/decryption in browser
https://github.com/vientorepublic/safe-share
e2e-encryption file-sharing nextjs
Last synced: 5 months ago
JSON representation
E2EE file sharing supporting encryption/decryption in browser
- Host: GitHub
- URL: https://github.com/vientorepublic/safe-share
- Owner: vientorepublic
- License: mit
- Created: 2024-08-29T02:43:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T01:48:37.000Z (almost 2 years ago)
- Last Synced: 2024-09-18T12:33:18.350Z (almost 2 years ago)
- Topics: e2e-encryption, file-sharing, nextjs
- Language: TypeScript
- Homepage: https://safe-share.cc/
- Size: 296 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SafeShare
[](#license)
[](https://github.com/vientorepublic/safe-share)
[](https://github.com/vientorepublic/safe-share)
[](https://github.com/vientorepublic/safe-share/actions/workflows/nodejs.yml)

Official Site/Demo: https://safe-share.cc/
[Backend Server Repository](https://github.com/vientorepublic/safeshare-backend)
SafeShare is a file sharing service that fully complies with the end-to-end encryption
implementation and reads and encrypts files based on the browser Javascript API
> [!NOTE]
> Safari browser is currently not supported due to technical issues.
> Options for blocking unsupported browsers can be found below.
# Features
- E2EE Encryption in browser based on AES-256-CBC(Web Crypto API)
- Select whether to merge encryption keys
- Progress event showing the encryption/decryption process in real time
# Config
Create `.env.local` and add below:
```
NEXT_PUBLIC_BACKEND_HOST=
NEXT_PUBLIC_RECAPTCHA_PUBLIC_KEY=
NEXT_PUBLIC_MAX_FILE_SIZE=
NEXT_PUBLIC_ENFORCE_BLOCK_UNSUPPORTED_BROWSER=
```
# Example
```
NEXT_PUBLIC_BACKEND_HOST="https://safe-share.cc"
NEXT_PUBLIC_RECAPTCHA_PUBLIC_KEY="Your recaptcha public key"
NEXT_PUBLIC_MAX_FILE_SIZE="10485760" #10MB
# NEXT_PUBLIC_ENFORCE_BLOCK_UNSUPPORTED_BROWSER=1
```
# Install Dependencies
```
npm install
```
# Build
```
npm run build
```
# Start Development Server
```
npm run dev
```
# License
This project is released under the MIT License.