Skip to content

NetroCorp/NetroCDN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The official CDN used by Netro Corporation!

Resources

License

Stars

Watchers

Forks

Releases

No releases published