
cdnjs
Robot-only repo storing the library files hosted on the cdnjs free public CDN.
- Stars
- 10.7k
- Forks
- 4.4k
- Licence
- MIT
- Language
- —
- Last update
- 2 months ago
- Type
- Other
What it is
This repository holds the actual asset files (JavaScript, CSS, fonts) for libraries served by cdnjs, a free public content delivery network. Developers use cdnjs to load popular front-end libraries from a fast shared host instead of hosting them themselves. The README says the repo is no longer updated, since cdnjs has moved its storage to a Cloudflare R2 bucket.
- Find the cdnjs project's other repositories (packages, API server, website) from the README links
- Learn how cdnjs moved its hosting to a Cloudflare R2 bucket
- Request read-only R2 access for a mirror, via the issue link in the README
Great for
- Web developers who want to load common libraries from a free public CDN
- Operators running a mirror of cdnjs who need to understand where files now live
- People curious how the cdnjs project is organized across its repositories
Not ideal for
- Anyone wanting to contribute code: the README says pull requests are no longer accepted here
- Anyone looking for the JSON library definitions: the README points to the cdnjs/packages repository for those
- Anyone expecting new files to appear here: the README says this repo is no longer updated
How to get it
- 1
See the README
Clone the repository
git clone https://github.com/cdnjs/cdnjs - 2
Run it
- Read the Introduction section of the README to see the migration notice
- Open the cdnjs/packages repository to find library definitions
- To use cdnjs in a website, load library URLs from the cdnjs site rather than from this repo
- 3
Get the most out of it
- Check the cdnjs/packages repository for the library list and its JSON files
- Read each library's own license before reusing its files, as the README advises
- Use the cdnjs/api-server repository if you want to understand the API layer
Downloads
Strengths
- Free and open source under the MIT license, per the README
- Points to clearly separated repositories for packages, website, API and brand assets
- Hosts the library assets that many sites load from cdnjs
Trade-offs
- No longer updated, so it will not contain newer library versions
- Pull requests are not accepted, so it cannot be contributed to directly
- Individual libraries carry their own licenses, which the README says differ from the repo's MIT license
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| cdnjs (this) | 10.7k | Other | beginner | 2 months ago | Web developers who want to load common libraries from a free public CDN |
| ionic-framework | 52.7k | Library | intermediate | 4 days ago | Web developers who want to build mobile apps using existing web skills |
| parcel | 44k | Dev tool | beginner | 4 days ago | Web developers who want a bundler that works without a config file |
| front-end-interview-handbook | 44k | Learning resource | beginner | 1 months ago | Engineers preparing for front end job interviews |
| fiber | 40.2k | Library | intermediate | 4 days ago | Go developers building REST APIs or web backends |
| materialize | 38.8k | Library | beginner | 3 months ago | Developers building a web page or app who want a Material Design look quickly |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.