This server allows image uploading and stores them in a public CDN-like way.
First run npm install
to install all dependencies, then create a .env
and include the properties given in the .env.example
.
You have to provide an https certificate and key for the server tun run correctly.
npm run start
will then start the server and wait for incoming requests.
The server is meant to be used with a JS fetch file upload but also works for standard HTML form submits. To try this, go to /u/index.html
. After uploading an image, the server returns the path of the image file.
We are not actively working on this repository. If you would like, we always appreciate support for our frontend reposotory.