raphaelbernhart / exchange

A Node file upload server to share files via url.

Home Page:http://ec.raphaelbernhart.at

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exchange

A NodeJS file upload server to share files via url.

exchange-ui.png

Installation

Docker

You can just use the docker image:
docker run raphy02/exchange:latest --env--file ./.env -p 80:80

Build yourself

Or build the server yourself:

  1. git clone https://github.com/raphaelbernhart/exchange.git
  2. Rename the .env.default to .env and configure it with your wishes
  3. npm run build
  4. npm run start

Env Variables

  • PORT The port on which the app is listening
  • MAX_FILE_SIZE The max file size to get accepted for upload
  • EXPIRATION_TIME The time (in days) after which the files get deleted and are not available anymore
  • EXPIRATION_WORKER_INTERVAL How often the files are checked for deletion (in hours)
  • API_URL The URL on which the app is listening for uploads

About

A Node file upload server to share files via url.

http://ec.raphaelbernhart.at

License:GNU General Public License v3.0


Languages

Language:TypeScript 41.0%Language:JavaScript 30.7%Language:HTML 13.4%Language:CSS 12.3%Language:EJS 2.6%