Skip to content

torch-ly/torch-ly-image-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

torch.ly image upload server

This server allows image uploading and stores them in a public CDN-like way.

How to use?

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.

Can I contribute?

We are not actively working on this repository. If you would like, we always appreciate support for our frontend reposotory.