Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.5 KB

README.md

File metadata and controls

66 lines (43 loc) · 1.5 KB

NetroCDN

The official CDN used by Netro Corporation!

(Some code is based on the NetroAPI.)

ISC License

Features

  • [PICS] Automatically rotate JPEG/JPG to correct orientation based on EXIF.
  • [PICS] Automatically convert to different formats.
  • [PICS] Automatically find the file regardless of requested format.
  • Simple and easy to set up and run.
  • Uses sharp to make everything smooth and Express to handle the requests.
  • Custom reference number system that requesters could give to you to fix issues (stores in a log file - can be customized to store in a database)!

Run Locally

Inital Setup

Clone the project

  git clone https://github.com/NetroCorp/NetroCDN

Go to the project directory...

  cd NetroCDN

Install the dependencies!

  npm install

Running

You can run this with PM2:

  pm2 start

or normally:

  npm run prod

That's it!

Now all you need to do is either port forward or run behind a proxy.

Contributing

We don't typically accept contributions to NetroCDN, but if there is something you'd like to add, we'll see what we can do.

If there is a bug you'd like to report, make sure to open a issue first. Thanks!

Copyright Netro Corporation 2023. Licensed under ISC.
Please respect and include this information somewhere in your project.