A P2P File Transfer Web App
Execute build.sh
./build.sh
The server folder will be generated
cd ./server
In server folder, install NodeJS dependencies
pnpm i -P
You can create a .env
file to set config
# Server port, default 3000
PORT=3000
# SSL switch, default false
SSL=false
# SSL certificate path
SSL_CERT=
# SSL key path
SSL_KEY=
After that, start server
node ./server.min.mjs