Nimbus is a self-hosted CDN designed to simplify static asset delivery through a powerful API interface. The following documentation will guide you through installation and setup.
Clone the repository
git clone https://github.com/im-playstation451/Nimbus
Install dependencies
cd nimbus npm install
Start the API
node api
Start the application
node .
Example of uploading a file using the upload endpoint:
curl -X POST https://localhost:3001/upload \
-H "Authorization: Bearer [token]" \
-F "file=@file.png" \
-F "folder=folder" \
-F "filename=file name"
Replace [token] with your authentication token if required.
Fields folder and filename are optional.
| Key | Value | Description |
|---|---|---|
| ROOT_CDN_FOLDER | cdn | Root folder for CDN files |
| SUB_CDN_FOLDERS | image, gif, video, profile | Allowed subfolders for organization |
| PORT | 3001 | API server port |