An open API service indexing awesome lists of open source software.

https://github.com/frando/deltachat-upload-server


https://github.com/frando/deltachat-upload-server

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# deltachat-upload-server

Demo server for the HTTP file upload feature.

### Usage

```
npm install
node server.js
```

Configure with environment variables:
* `UPLOAD_PATH`: Path to upload files to (default: `./uploads`)
* `PORT`: Port to listen on (default: `8080`)
* `HOSTNAME`: Hostname to listen on (default: `0.0.0.0`)
* `BASEURL`: Base URL for generated links (default: `http://[hostname]:[port]/`)