All Projects → int64ago → cdnjs-extension

int64ago / cdnjs-extension

Licence: GPL-3.0 license
📦 [Chrome Extension] Replace the links of cdnjs with Qiniu.

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to cdnjs-extension

Qbox
Qiniu Box.
Stars: ✭ 183 (+731.82%)
Mutual labels:  qiniu
static-website
🖥 New Vue/Nuxt website for cdnjs.com - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 47 (+113.64%)
Mutual labels:  cdnjs
qiniu-laravel-storage
Qiniu 云储存 Laravel 5 Storage版
Stars: ✭ 520 (+2263.64%)
Mutual labels:  qiniu
Picgo
🚀A simple & beautiful tool for pictures uploading built by vue-cli-electron-builder
Stars: ✭ 15,358 (+69709.09%)
Mutual labels:  qiniu
Cuimage
cuImage - 图床利器
Stars: ✭ 227 (+931.82%)
Mutual labels:  qiniu
api-server
📡 API server for api.cdnjs.com - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 48 (+118.18%)
Mutual labels:  cdnjs
Qiniu4js
🔥七牛上传SDK(浏览器环境)
Stars: ✭ 162 (+636.36%)
Mutual labels:  qiniu
vscode-qiniu-upload-image
一个VS Code插件,写Markdown时可以快捷上传本地图片获取七牛图床外链。
Stars: ✭ 87 (+295.45%)
Mutual labels:  qiniu
old-website
This is deprecated visit the `new-website` repo
Stars: ✭ 16 (-27.27%)
Mutual labels:  cdnjs
Auxpi
🍭 集合多家 API 的新一代图床
Stars: ✭ 2,605 (+11740.91%)
Mutual labels:  cdnjs
Flysystem Qiniu
💾 Flysystem adapter for the Qiniu storage.
Stars: ✭ 192 (+772.73%)
Mutual labels:  qiniu
Blog Frontend Project
Web frontend code for my blogs, develop with Vue.
Stars: ✭ 206 (+836.36%)
Mutual labels:  qiniu
Tabulator
Interactive Tables and Data Grids for JavaScript
Stars: ✭ 4,329 (+19577.27%)
Mutual labels:  cdnjs
Upic
📤uPic is a native, powerful, beautiful and simple picture and file upload tool for macOS.
Stars: ✭ 2,465 (+11104.55%)
Mutual labels:  qiniu
qiniu-auto-cert
七牛 CDN 证书自动化工具
Stars: ✭ 20 (-9.09%)
Mutual labels:  qiniu
Carrierwave Qiniu
Qiniu Storage support for CarrierWave
Stars: ✭ 179 (+713.64%)
Mutual labels:  qiniu
cdnjs-importer
Easier way to add your libraries in cdnjs.
Stars: ✭ 34 (+54.55%)
Mutual labels:  cdnjs
qn-webpack
Qiniu webpack plugin (七牛 Webpack 插件)
Stars: ✭ 39 (+77.27%)
Mutual labels:  qiniu
spring-file-storage-service
The FSS(file storage service) APIs make storing the blob file easy and simple .
Stars: ✭ 33 (+50%)
Mutual labels:  qiniu
Cdnjs
🤖 CDN assets - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 9,270 (+42036.36%)
Mutual labels:  cdnjs

Qiniu 4 cdnjs

Chrome Web Store

cdnjs 应该是世界上最全的 JS/CSS 公共库,由 CloudFlare 提供 CDN 服务

但是某些地区访问并不快甚至不能访问(你懂得),所以就做了个简单的 Chrome 扩展,替换 CDN 的地址
因为七牛有镜像加速的功能,所以只需要设置下镜像源,插件里设置下七牛空间的地址,搜索的时候会自动替换
当然,理论上任何能够反代 http://cdnjs.cloudflare.com 服务器都可以

主要使用步骤

  • 安装扩展
  • 七牛开个空间,设置镜像源
  • 扩展里设置好七牛空间的地址(格式: http(s)://your.qiniu.domain),七牛提供了 HTTP/HTTPS,如果是自定义域名当然更好了
  • 刷新 cdnjs ,就可以任意搜索和使用库了

镜像源设置

选择空间 ---> 镜像存储 ---> 镜像源

如果想链接保持原来的风格:
http(s)://your.qiniu.domain/ajax/libs/jquery/2.1.4/jquery.min.js
那么需要设置镜像源为:http://cdnjs.cloudflare.com 且配置页面不要勾选去除 ajax/libs/

如果想链接风格为:
http(s)://your.qiniu.domain/jquery/2.1.4/jquery.min.js
那么需要设置镜像源为:http://cdnjs.cloudflare.com/ajax/libs 且配置页面需要勾选去除 ajax/libs/

增加新库

如果你需要的库恰好没有,但是又想统一使用 cdnjs 和 插件怎么办?(强迫症嘛~)
很简单, cdnjs 上有个 Request a lib ,去提交就可以了
不过要注意库是主流或者规范的,然后你提 Issue/PR 也要规范

使用预览

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].