https://github.com/qudusayo/local-cdn
A simple Local CDN for hosting most commonly used files ( packages ) on users local machine
https://github.com/qudusayo/local-cdn
cdn development local-cdn local-development
Last synced: about 1 year ago
JSON representation
A simple Local CDN for hosting most commonly used files ( packages ) on users local machine
- Host: GitHub
- URL: https://github.com/qudusayo/local-cdn
- Owner: Qudusayo
- Created: 2020-06-26T01:18:23.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T04:04:05.000Z (over 3 years ago)
- Last Synced: 2025-03-24T12:39:11.923Z (about 1 year ago)
- Topics: cdn, development, local-cdn, local-development
- Language: JavaScript
- Homepage:
- Size: 244 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# LOCAL CDN
## What is Local CDN ?
**LOCAL CDN** is a local content delivery network like **cdnjs** which allows you to run all your commonly used **CSS and Javascript** files from a single server offline on your local machine instead of having multiple and lots of different files in different folders serving the same purpose
## Who is Local CDN for ?
Local CDN is mostly for frontend developers or developers that work on the frotend.
## Why Local CDN ?
Most developers ( people like me ) when writing code or when downloading templates, we do download all css files and jquery files along. After downloading 7 templates which all have bootstrap in it, the user gets 7 bootstrap files. So with **LOCAL CDN**, you can run all the 7 templates with just one bootstrap file which pretends to be a bootstrap file from the cdn.
## Using Local CDN ?
To get Local CDNs, run
>```git clone https://github.com/Qudusayo/local-cdn.git``` in your terminal
Then change directory to Local CDNs
>```cd local-cdn```
Install required packages by running
> ```npm install```
To start up your server, run
> ```npm start```
## Updating your Local CDN ?
You can easily update your packages by moving your new file to the css folder or js folder
**Quick Folder Structure**
.
├── static
│ └── css
│ └── jss
## Usage
After downloading and starting the server, click on the copy symbol to copy the the link to any file.

### CONTRIBUTING
Its an open source prroject open for contribution.