Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

initdc/mirr-docsify

Repository files navigation

mirr.one

A free CDN for Open Source

gitlocalized

Concept

The advantages of CDN can be used in package distribution, and there are already precedents for using it, such as npm, debian, alpine...

This project aims to improve the plight of some developers due to network problems with the help of CDNs

Design

Domain combination rule:

Software CDN provider Main domain
ubuntu. fastly. mirr.one
ubuntu. gcdn. mirr.one

DNS record:

*.mirr.one.             1 IN CNAME workers.dev.  // Cloudflare’s free SSL cert covered main domain and any 2nd level subdomain
*.gcdn.mirr.one.        1 IN CNAME cl-bec3d0f7.gcdn.co.
*.fastly.mirr.one.      1 IN CNAME nonssl.global.fastly.net.    // Developer account does not support add SSL certificates

Usage

E.g. npm registry:

# set
npm config set registry https://npm.fastly.mirr.one

yarn config set registry https://npm.fastly.mirr.one


# unset
npm config set registry https://registry.npmjs.org

yarn config set registry https://registry.npmjs.org

Sponsors

fastly CDN

Providers

lang_i18n Provider

License

MPL-2.0