This repo was created to allow the community to make modifications and improve the contents of jsDelivr's CDN.
Feel free to open issues and pull requests if you think something should be added/removed/modified.
All changes made to this repo are synced to the CDN. It can take more than 48 hours for the changes to appear on the website.
- Fork the jsDelivr repository.
- Locally make the changes you want to be synced with the CDN
- Send the Pull request with a description of the changes you made following the same structure as the rest of the projects in the repo.
- Wait for the approval.
- Thats it
Under files/
a directory for each project is created. Please follow the instructions bellow.
- Lowercase
- No special characters or spaces. Allowed: . - _
- Only the name of the project
- If the project is a plugin of a library append the name of the library. ex:
jquery.blurjs
,bootstrap.select
In some cases a few exceptions can be made.
A project's directory should contain the following:
info.ini
containing all needed information. Example- Directories named after the version of each project.
- The version directories can contain in their names numbers, letters and -,_ symbols.
- Do not create a
latest
version directory unless you are the author and plan to maintain it as new versions come out.
A version directory should contain the following:
- Static files needed for the project to work.
- A .zip file named after the project containing all of the current version directory files.
- If there is no minified version of the main js/css file please create your own. Tool (Minify only, no symbol obfuscation. )
- Do not upload useless files like demos, examples, licenses, readmes and any other files not being used in the production.
//cdn.jsdelivr.com/{projectName}/{version}/{file}
//cdn.jsdelivr.com/{projectName}/{version}/{projectName}.zip
JSON of hosted files and projects - http://api.jsdelivr.com/packages.php
XML of all hosted files including md5 hashes - http://www.jsdelivr.com/hash.xml