├── .gitee └── issue_template.md ├── .github ├── ISSUE_TEMPLATE │ ├── bug.yml │ ├── config.yml │ └── feature.yml └── workflows │ ├── auto-sync.yml │ └── build-docs.yml ├── .gitignore ├── CHANGELOG.en-US.md ├── CHANGELOG.md ├── CHANGELOG.zh-Hant.md ├── CODE_OF_CONDUCT.md ├── ChangeMirrors.sh ├── DockerInstallation.sh ├── LICENSE ├── README.en-US.md ├── README.md ├── README.zh-Hant.md ├── docs ├── assets │ ├── css │ │ └── orama-ui.css │ ├── favicon.ico │ ├── images │ │ ├── brand │ │ │ ├── command │ │ │ │ ├── docker-dark.png │ │ │ │ ├── docker-light.png │ │ │ │ ├── linux-dark.png │ │ │ │ └── linux-light.png │ │ │ ├── dark │ │ │ │ ├── 1.png │ │ │ │ ├── 2.png │ │ │ │ └── 3.png │ │ │ ├── img │ │ │ │ ├── 1.jpg │ │ │ │ ├── 2.jpg │ │ │ │ ├── 3.jpg │ │ │ │ ├── 4.jpg │ │ │ │ ├── 5.jpg │ │ │ │ └── 6.jpg │ │ │ ├── light │ │ │ │ ├── 1.png │ │ │ │ ├── 2.png │ │ │ │ └── 3.png │ │ │ └── svg │ │ │ │ ├── 1.svg │ │ │ │ ├── 2.svg │ │ │ │ ├── 3.svg │ │ │ │ ├── logo-dark.svg │ │ │ │ └── logo-light.svg │ │ ├── icon │ │ │ ├── almalinux.svg │ │ │ ├── alpine.png │ │ │ ├── anolis.png │ │ │ ├── arch-linux.ico │ │ │ ├── armbian.png │ │ │ ├── centos.svg │ │ │ ├── custom │ │ │ │ ├── docker-desktop.svg │ │ │ │ ├── flag │ │ │ │ │ ├── AR.svg │ │ │ │ │ ├── AU.svg │ │ │ │ │ ├── BE.svg │ │ │ │ │ ├── BR.svg │ │ │ │ │ ├── CA.svg │ │ │ │ │ ├── CH.svg │ │ │ │ │ ├── CN.svg │ │ │ │ │ ├── CZ.svg │ │ │ │ │ ├── DE.svg │ │ │ │ │ ├── DK.svg │ │ │ │ │ ├── EE.svg │ │ │ │ │ ├── FR.svg │ │ │ │ │ ├── GB.svg │ │ │ │ │ ├── GR.svg │ │ │ │ │ ├── HK.svg │ │ │ │ │ ├── JP.svg │ │ │ │ │ ├── KE.svg │ │ │ │ │ ├── KR.svg │ │ │ │ │ ├── MY.svg │ │ │ │ │ ├── NL.svg │ │ │ │ │ ├── NZ.svg │ │ │ │ │ ├── RU.svg │ │ │ │ │ ├── SE.svg │ │ │ │ │ ├── SG.svg │ │ │ │ │ ├── TH.svg │ │ │ │ │ ├── TW.svg │ │ │ │ │ ├── US.svg │ │ │ │ │ ├── ZA.svg │ │ │ │ │ ├── world-map.svg │ │ │ │ │ └── world.svg │ │ │ │ ├── incompatible.svg │ │ │ │ ├── linux.svg │ │ │ │ ├── linuxmirrors.svg │ │ │ │ ├── netlify.svg │ │ │ │ ├── supported.svg │ │ │ │ ├── tencent-cloud.svg │ │ │ │ └── unsupport.svg │ │ │ ├── debian.svg │ │ │ ├── deepin.png │ │ │ ├── fedora.ico │ │ │ ├── gentoo.svg │ │ │ ├── jetbrains-dark.svg │ │ │ ├── jetbrains-light.svg │ │ │ ├── kali-linux.svg │ │ │ ├── linux-mint.ico │ │ │ ├── manjaro.svg │ │ │ ├── mirrors │ │ │ │ ├── 163.ico │ │ │ │ ├── alibabacloud.svg │ │ │ │ ├── cmecloud.svg │ │ │ │ ├── cqupt.ico │ │ │ │ ├── ctyun.ico │ │ │ │ ├── huaweicloud.ico │ │ │ │ ├── iscas.png │ │ │ │ ├── lzu.png │ │ │ │ ├── nju.ico │ │ │ │ ├── pku.ico │ │ │ │ ├── sjtu.ico │ │ │ │ ├── tencentcloud.ico │ │ │ │ ├── tsinghua.png │ │ │ │ ├── ustc.png │ │ │ │ ├── volcengine.svg │ │ │ │ └── zju.ico │ │ │ ├── netlify-dark.png │ │ │ ├── netlify-light.png │ │ │ ├── netlify.svg │ │ │ ├── nixos.svg │ │ │ ├── opencloudos.png │ │ │ ├── openeuler.ico │ │ │ ├── openkylin.ico │ │ │ ├── opensuse.svg │ │ │ ├── oracle-linux.png │ │ │ ├── orama │ │ │ │ ├── orama-when-dark.svg │ │ │ │ └── orama-when-light.svg │ │ │ ├── proxmox.svg │ │ │ ├── raspberry-pi.png │ │ │ ├── red-hat-enterprise-linux.svg │ │ │ ├── redhat.svg │ │ │ ├── rocky-linux.svg │ │ │ ├── ubuntu.svg │ │ │ └── zorin-os.png │ │ ├── logo.png │ │ ├── other │ │ │ ├── aaPanel.png │ │ │ └── bt.svg │ │ └── sponsor │ │ │ ├── 1ms-dark.svg │ │ │ ├── 1ms-light.svg │ │ │ ├── 1panel.png │ │ │ ├── all-dark.png │ │ │ ├── all-light.png │ │ │ ├── arcadia-dark.png │ │ │ ├── arcadia-light.png │ │ │ ├── bueryun.svg │ │ │ ├── businiaocdn.png │ │ │ ├── duotuyun-dark.svg │ │ │ ├── duotuyun-light.svg │ │ │ ├── ifdian.png │ │ │ ├── laikayun-dark.png │ │ │ ├── laikayun-light.png │ │ │ ├── langlangyun-dark.png │ │ │ ├── langlangyun-light.png │ │ │ ├── linfengyun-dark.png │ │ │ ├── linfengyun-light.png │ │ │ ├── qingyeyun-dark.png │ │ │ ├── qingyeyun-light.png │ │ │ ├── sutuoyun.svg │ │ │ ├── yuluyundun-dark.png │ │ │ ├── yuluyundun-light.png │ │ │ └── yunyoo.png │ └── js │ │ ├── common.js │ │ ├── component.js │ │ ├── components │ │ ├── mirrors-table │ │ │ ├── data.js │ │ │ └── index.js │ │ └── orama-ui │ │ │ ├── config.js │ │ │ ├── index-native.js │ │ │ └── index.js │ │ ├── modules │ │ └── tdesign-theme.js │ │ └── useThemeTransition.js ├── changelog │ ├── index.en.md │ ├── index.md │ └── index.zh-Hant.md ├── community │ ├── index.en.md │ ├── index.md │ └── index.zh-Hant.md ├── index.en.md ├── index.md ├── index.zh-Hant.md ├── mirrors │ ├── index.en.md │ ├── index.md │ └── index.zh-Hant.md ├── other │ ├── example1.md │ ├── example2.md │ ├── index.en.md │ ├── index.md │ └── index.zh-Hant.md ├── sponsor │ ├── index.en.md │ ├── index.md │ ├── index.zh-Hant.md │ └── main.html ├── stylesheets │ ├── extra.css │ └── fonts │ │ └── SF-Mono-Regular.otf ├── theme │ ├── main.html │ └── partials │ │ ├── comments.html │ │ ├── content.html │ │ ├── copyright.html │ │ ├── header.html │ │ ├── palette.html │ │ ├── search.html │ │ └── toc.html └── use │ ├── index.en.md │ ├── index.md │ └── index.zh-Hant.md ├── giscus.json ├── locales ├── docker │ ├── en.sh │ ├── zh-hans.sh │ └── zh-hant.sh └── linux │ ├── en.sh │ ├── zh-hans.sh │ └── zh-hant.sh ├── mkdocs.yml ├── netlify.toml └── requirements.txt /.gitee/issue_template.md: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | ## 1. 操作系统 21 | 22 | - [ ] `Debian` 23 | - [ ] `Ubuntu` 24 | - [ ] `Kali Linux` 25 | - [ ] `Linux Mint` 26 | - [ ] `Deepin` 27 | - [ ] `Zorin OS` 28 | - [ ] `Armbian` 29 | - [ ] `Proxmox VE` 30 | - [ ] `Raspberry Pi OS` 31 | - [ ] `Red Hat Enterprise Linux` 32 | - [ ] `Fedora` 33 | - [ ] `CentOS` 34 | - [ ] `Rocky Linux` 35 | - [ ] `AlmaLinux` 36 | - [ ] `Oracle Linux` 37 | - [ ] `openEuler` 38 | - [ ] `OpenCloudOS` 39 | - [ ] `openKylin` 40 | - [ ] `Anolis OS` 41 | - [ ] `openSUSE` 42 | - [ ] `Arch Linux` 43 | - [ ] `Manjaro` 44 | - [ ] `Alpine Linux` 45 | - [ ] `Gentoo` 46 | - [ ] `NixOS` 47 | 48 | ## 2. 处理器架构 49 | 50 | - [ ] `x86_64` `x86_32` 51 | - [ ] `arm64` `arm/v8` `arm/v7` `arm/v6` 52 | - [ ] `ppc64le` `s390x` 53 | - [ ] `其它` 54 | 55 | ## 3. 系统详细信息 56 | 57 | ``` 58 | 59 | ``` 60 | 61 | ## 4. 环境信息 62 | 63 | ``` 64 | 65 | ``` 66 | 67 | ## 5. 描述遇到的问题 68 | ### (1) 具体问题 69 | A: 70 | 71 | 72 | ### (2) 详细的执行日志 73 | 74 | ``` 75 | 76 | ``` 77 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug.yml: -------------------------------------------------------------------------------- 1 | name: 🐞 上报错误 2 | description: Report bug 3 | labels: ["bug"] 4 | body: 5 | - type: dropdown 6 | id: os 7 | attributes: 8 | label: 操作系统 9 | options: 10 | - Debian 11 | - Ubuntu 12 | - Kali Linux 13 | - Linux Mint 14 | - Deepin 15 | - Zorin OS 16 | - Armbian 17 | - Proxmox VE 18 | - Raspberry Pi OS 19 | - Red Hat Enterprise Linux 20 | - Fedora 21 | - CentOS 22 | - Rocky Linux 23 | - AlmaLinux 24 | - Oracle Linux 25 | - openEuler 26 | - OpenCloudOS 27 | - openKylin 28 | - Anolis OS 29 | - openSUSE 30 | - Arch Linux 31 | - Manjaro 32 | - Alpine Linux 33 | - Gentoo 34 | - NixOS 35 | validations: 36 | required: true 37 | 38 | - type: dropdown 39 | id: architecture 40 | attributes: 41 | label: 处理器架构 42 | options: 43 | - x86_64 / x86_32 44 | - arm64 / arm/v8 / arm/v7 / arm/v6 45 | - ppc64le / s390x 46 | - 其它 47 | validations: 48 | required: true 49 | 50 | - type: textarea 51 | id: release 52 | attributes: 53 | label: 系统详细信息 54 | description: '请执行命令 `cat /etc/os-release`,并将输出结果粘贴在下方' 55 | render: 'shell' 56 | validations: 57 | required: true 58 | 59 | - type: input 60 | id: uname 61 | attributes: 62 | label: 环境信息 63 | description: '请执行命令 `uname -a`,并将输出结果粘贴在下方' 64 | validations: 65 | required: true 66 | 67 | - type: textarea 68 | id: what-happened 69 | attributes: 70 | label: 描述遇到的问题 71 | validations: 72 | required: true 73 | 74 | - type: textarea 75 | id: logs 76 | attributes: 77 | label: 详细的执行日志 78 | placeholder: 日志内容 79 | render: 'shell' 80 | validations: 81 | required: true 82 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature.yml: -------------------------------------------------------------------------------- 1 | name: 💡 功能请求与建议 2 | description: Feature request 3 | labels: ["enhancement"] 4 | body: 5 | - type: textarea 6 | id: content 7 | attributes: 8 | label: '描述您的功能请求或建议' 9 | validations: 10 | required: false 11 | -------------------------------------------------------------------------------- /.github/workflows/auto-sync.yml: -------------------------------------------------------------------------------- 1 | name: Sync to mirror repo 2 | on: 3 | push: 4 | branches: 5 | - main 6 | jobs: 7 | repo-sync: 8 | env: 9 | dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} 10 | dst_token: ${{ secrets.GITEE_TOKEN }} 11 | gitee_user: ${{ secrets.GITEE_USER }} 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v4 15 | with: 16 | persist-credentials: false 17 | - name: sync to gitee 18 | uses: Yikun/hub-mirror-action@master 19 | if: env.dst_key && env.dst_token && env.gitee_user 20 | with: 21 | src: github/SuperManito 22 | dst: gitee/SuperManito 23 | dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} 24 | dst_token: ${{ secrets.GITEE_TOKEN }} 25 | static_list: "LinuxMirrors" 26 | force_update: true -------------------------------------------------------------------------------- /.github/workflows/build-docs.yml: -------------------------------------------------------------------------------- 1 | name: Build docs website 2 | on: 3 | push: 4 | branches: 5 | - master 6 | - main 7 | permissions: 8 | contents: write 9 | jobs: 10 | deploy: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@v4 14 | - name: Configure Git Credentials 15 | run: | 16 | git config user.name github-actions[bot] 17 | git config user.email 41898282+github-actions[bot]@users.noreply.github.com 18 | - uses: actions/setup-python@v5 19 | with: 20 | python-version: 3.x 21 | - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV 22 | - uses: actions/cache@v4 23 | with: 24 | key: mkdocs-material-${{ env.cache_id }} 25 | path: .cache 26 | restore-keys: | 27 | mkdocs-material- 28 | - run: pip install -r ./requirements.txt 29 | - run: cp -rvf ./ChangeMirrors.sh ./docs/main.sh 30 | - run: cp -rvf ./DockerInstallation.sh ./docs/docker.sh 31 | - run: mkdocs gh-deploy --force 32 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | site/ 3 | dist/ 4 | node_modules 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | pnpm-debug.log* 15 | 16 | # Editor directories and files 17 | .idea 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /CHANGELOG.en-US.md: -------------------------------------------------------------------------------- 1 | 2025-10-12 2 | 3 | * Added support for I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c) 4 | 5 | 2025-09-28 6 | 7 | * Adapted for openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317) 8 | 9 | 2025-09-26 10 | 11 | * Added `Specify Docker CE source repository version` command option to docker script [#4c7860d](https://github.com/SuperManito/LinuxMirrors/commit/4c7860d48cfefded15c32f1baa0f544fde18e8ce) 12 | 13 | 2025-08-07 14 | 15 | * Adapted for TencentOS Server & Alibaba Cloud Linux to docker script [#00f3b19](https://github.com/SuperManito/LinuxMirrors/commit/00f3b19edfcb152f22337306e7fc25e135e75c14) 16 | 17 | 2025-08-03 18 | 19 | * Adapted for Huawei Cloud EulerOS to docker script [#b19f748](https://github.com/SuperManito/LinuxMirrors/commit/b19f748154d66fa6a385726ae899db5740499a7e) 20 | 21 | 2025-07-18 22 | 23 | * Added support for Oracle Linux OS [#76b8b08](https://github.com/SuperManito/LinuxMirrors/commit/76b8b0834ae493ed8731c83440c4a8f4dcad17dc) 24 | 25 | 2025-06-15 26 | 27 | * Adapted for Rocky Linux 10 [#dafaa13](https://github.com/SuperManito/LinuxMirrors/commit/dafaa13e44209d719b5b6f06f4cc3c4f2ef24d3b) 28 | 29 | 2025-06-03 30 | 31 | * Added support for Manjaro OS [#a93f23e](https://github.com/SuperManito/LinuxMirrors/commit/a93f23e48d4ffbffb0e04efcf33138fc7218b560) 32 | 33 | 2025-05-29 34 | 35 | * Adapted for Red Hat Enterprise Linux 10 & AlmaLinux 10 [#26f493a](https://github.com/SuperManito/LinuxMirrors/commit/26f493a762221569404d45a6556afd7945ac75f8) 36 | 37 | 2025-05-13 38 | 39 | * Enabled DEB822 format for new versions of Debian and Ubuntu repositories [#c3d0d5f](https://github.com/SuperManito/LinuxMirrors/commit/c3d0d5fa2c0993e104711f55e37fa8ada1031b5e) 40 | 41 | 2025-05-12 42 | 43 | * Added `Only Replace Mirror Accelerator` command option to docker script [#3f13f40](https://github.com/SuperManito/LinuxMirrors/commit/3f13f40111fa3631555ca7104cea21b4bb5adefa) 44 | 45 | 2025-05-11 46 | 47 | * Adapted for Anolis OS 8.10 [#582b1d1](https://github.com/SuperManito/LinuxMirrors/commit/582b1d1fbcc3cab4899d4d400cf9a51023773aad) 48 | 49 | 2025-04-05 50 | 51 | * Added `Clean Mode` command option [#e63dea7](https://github.com/SuperManito/LinuxMirrors/commit/e63dea7e64fa6c31ecee3c02b143924ab12917b4) 52 | 53 | 2025-03-16 54 | 55 | * Adapted for EPEL 10 [#b71c0b9](https://github.com/SuperManito/LinuxMirrors/commit/b71c0b9790cc1dfb431729b817e726d6dd19a555) 56 | 57 | 2025-03-15 58 | 59 | * Added support for Raspberry Pi OS [#c08000c](https://github.com/SuperManito/LinuxMirrors/commit/c08000cb645994d669e5ca2678d429a9d9eb3c90) 60 | 61 | 2025-03-14 62 | 63 | * Adapted for CentOS Stream 10 [#12eb98c](https://github.com/SuperManito/LinuxMirrors/commit/12eb98ce2945294873bfaa7b422fda175d9f8c10) 64 | 65 | 2025-02-20 66 | 67 | * Added support for NixOS [#4d91f7d](https://github.com/SuperManito/LinuxMirrors/commit/4d91f7d1b2ddd58f7794cc7620d0ea7e4f9af02b) 68 | 69 | ...... 70 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2025-10-12 2 | 3 | * 新增适配 I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c) 4 | 5 | 2025-09-28 6 | 7 | * 适配 openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317) 8 | 9 | 2025-09-26 10 | 11 | * Docker 脚本新增 `指定 Docker CE 软件源仓库版本` 命令选项 [#4c7860d](https://github.com/SuperManito/LinuxMirrors/commit/4c7860d48cfefded15c32f1baa0f544fde18e8ce) 12 | 13 | 2025-08-07 14 | 15 | * Docker 脚本新增适配 TencentOS Server & Alibaba Cloud Linux 操作系统 [#00f3b19](https://github.com/SuperManito/LinuxMirrors/commit/00f3b19edfcb152f22337306e7fc25e135e75c14) 16 | 17 | 2025-08-03 18 | 19 | * Docker 脚本新增适配 Huawei Cloud EulerOS 操作系统 [#b19f748](https://github.com/SuperManito/LinuxMirrors/commit/b19f748154d66fa6a385726ae899db5740499a7e) 20 | 21 | 2025-07-18 22 | 23 | * 新增适配 Oracle Linux 操作系统 [#76b8b08](https://github.com/SuperManito/LinuxMirrors/commit/76b8b0834ae493ed8731c83440c4a8f4dcad17dc) 24 | 25 | 2025-06-15 26 | 27 | * 适配 Rocky Linux 10 [#dafaa13](https://github.com/SuperManito/LinuxMirrors/commit/dafaa13e44209d719b5b6f06f4cc3c4f2ef24d3b) 28 | 29 | 2025-06-03 30 | 31 | * 新增适配 Manjaro 操作系统 [#a93f23e](https://github.com/SuperManito/LinuxMirrors/commit/a93f23e48d4ffbffb0e04efcf33138fc7218b560) 32 | 33 | 2025-05-29 34 | 35 | * 适配 Red Hat Enterprise Linux 10 & AlmaLinux 10 [#26f493a](https://github.com/SuperManito/LinuxMirrors/commit/26f493a762221569404d45a6556afd7945ac75f8) 36 | 37 | 2025-05-13 38 | 39 | * 为 Debian 和 Ubuntu 的新版本软件源启用 DEB822 格式 [#c3d0d5f](https://github.com/SuperManito/LinuxMirrors/commit/c3d0d5fa2c0993e104711f55e37fa8ada1031b5e) 40 | 41 | 2025-05-12 42 | 43 | * Docker 脚本新增 `仅更换镜像加速器` 命令选项 [#3f13f40](https://github.com/SuperManito/LinuxMirrors/commit/3f13f40111fa3631555ca7104cea21b4bb5adefa) 44 | 45 | 2025-05-11 46 | 47 | * 适配 Anolis OS 8.10 [#582b1d1](https://github.com/SuperManito/LinuxMirrors/commit/582b1d1fbcc3cab4899d4d400cf9a51023773aad) 48 | 49 | 2025-04-05 50 | 51 | * 命令选项新增 `纯净模式` [#e63dea7](https://github.com/SuperManito/LinuxMirrors/commit/e63dea7e64fa6c31ecee3c02b143924ab12917b4) 52 | 53 | 2025-03-16 54 | 55 | * 适配 EPEL 10 [#b71c0b9](https://github.com/SuperManito/LinuxMirrors/commit/b71c0b9790cc1dfb431729b817e726d6dd19a555) 56 | 57 | 2025-03-15 58 | 59 | * 新增适配 Raspberry Pi OS 操作系统 [#c08000c](https://github.com/SuperManito/LinuxMirrors/commit/c08000cb645994d669e5ca2678d429a9d9eb3c90) 60 | 61 | 2025-03-14 62 | 63 | * 适配 CentOS Stream 10 [#12eb98c](https://github.com/SuperManito/LinuxMirrors/commit/12eb98ce2945294873bfaa7b422fda175d9f8c10) 64 | 65 | 2025-02-20 66 | 67 | * 新增适配 NixOS 操作系统 [#4d91f7d](https://github.com/SuperManito/LinuxMirrors/commit/4d91f7d1b2ddd58f7794cc7620d0ea7e4f9af02b) 68 | 69 | ...... 70 | -------------------------------------------------------------------------------- /CHANGELOG.zh-Hant.md: -------------------------------------------------------------------------------- 1 | 2025-10-12 2 | 3 | * 新增適配 I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c) 4 | 5 | 2025-09-28 6 | 7 | * 適配 openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317) 8 | 9 | 2025-09-26 10 | 11 | * Docker 腳本新增 `指定 Docker CE 軟體源倉庫版本` 命令選項 [#4c7860d](https://github.com/SuperManito/LinuxMirrors/commit/4c7860d48cfefded15c32f1baa0f544fde18e8ce) 12 | 13 | 2025-08-07 14 | 15 | * Docker 腳本新增適配 TencentOS Server & Alibaba Cloud Linux 作業系統 [#00f3b19](https://github.com/SuperManito/LinuxMirrors/commit/00f3b19edfcb152f22337306e7fc25e135e75c14) 16 | 17 | 2025-08-03 18 | 19 | * Docker 腳本新增適配 Huawei Cloud EulerOS 作業系統 [#b19f748](https://github.com/SuperManito/LinuxMirrors/commit/b19f748154d66fa6a385726ae899db5740499a7e) 20 | 21 | 2025-07-18 22 | 23 | * 新增適配 Oracle Linux 作業系統 [#76b8b08](https://github.com/SuperManito/LinuxMirrors/commit/76b8b0834ae493ed8731c83440c4a8f4dcad17dc) 24 | 25 | 2025-06-15 26 | 27 | * 適配 Rocky Linux 10 [#dafaa13](https://github.com/SuperManito/LinuxMirrors/commit/dafaa13e44209d719b5b6f06f4cc3c4f2ef24d3b) 28 | 29 | 2025-06-03 30 | 31 | * 新增適配 Manjaro 作業系統 [#a93f23e](https://github.com/SuperManito/LinuxMirrors/commit/a93f23e48d4ffbffb0e04efcf33138fc7218b560) 32 | 33 | 2025-05-29 34 | 35 | * 適配 Red Hat Enterprise Linux 10 & AlmaLinux 10 [#26f493a](https://github.com/SuperManito/LinuxMirrors/commit/26f493a762221569404d45a6556afd7945ac75f8) 36 | 37 | 2025-05-13 38 | 39 | * 為 Debian 和 Ubuntu 的新版本軟體源啟用 DEB822 格式 [#c3d0d5f](https://github.com/SuperManito/LinuxMirrors/commit/c3d0d5fa2c0993e104711f55e37fa8ada1031b5e) 40 | 41 | 2025-05-12 42 | 43 | * Docker 腳本新增 `僅更換鏡像加速器` 命令選項 [#3f13f40](https://github.com/SuperManito/LinuxMirrors/commit/3f13f40111fa3631555ca7104cea21b4bb5adefa) 44 | 45 | 2025-05-11 46 | 47 | * 適配 Anolis OS 8.10 [#582b1d1](https://github.com/SuperManito/LinuxMirrors/commit/582b1d1fbcc3cab4899d4d400cf9a51023773aad) 48 | 49 | 2025-04-05 50 | 51 | * 命令選項新增 `純淨模式` [#e63dea7](https://github.com/SuperManito/LinuxMirrors/commit/e63dea7e64fa6c31ecee3c02b143924ab12917b4) 52 | 53 | 2025-03-16 54 | 55 | * 適配 EPEL 10 [#b71c0b9](https://github.com/SuperManito/LinuxMirrors/commit/b71c0b9790cc1dfb431729b817e726d6dd19a555) 56 | 57 | 2025-03-15 58 | 59 | * 新增適配 Raspberry Pi OS 作業系統 [#c08000c](https://github.com/SuperManito/LinuxMirrors/commit/c08000cb645994d669e5ca2678d429a9d9eb3c90) 60 | 61 | 2025-03-14 62 | 63 | * 適配 CentOS Stream 10 [#12eb98c](https://github.com/SuperManito/LinuxMirrors/commit/12eb98ce2945294873bfaa7b422fda175d9f8c10) 64 | 65 | 2025-02-20 66 | 67 | * 新增適配 NixOS 作業系統 [#4d91f7d](https://github.com/SuperManito/LinuxMirrors/commit/4d91f7d1b2ddd58f7794cc7620d0ea7e4f9af02b) 68 | 69 | ...... 70 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our 6 | community a harassment-free experience for everyone, regardless of age, body 7 | size, visible or invisible disability, ethnicity, sex characteristics, gender 8 | identity and expression, level of experience, education, socio-economic status, 9 | nationality, personal appearance, race, caste, color, religion, or sexual 10 | identity and orientation. 11 | 12 | We pledge to act and interact in ways that contribute to an open, welcoming, 13 | diverse, inclusive, and healthy community. 14 | 15 | ## Our Standards 16 | 17 | Examples of behavior that contributes to a positive environment for our 18 | community include: 19 | 20 | - Demonstrating empathy and kindness toward other people 21 | - Being respectful of differing opinions, viewpoints, and experiences 22 | - Giving and gracefully accepting constructive feedback 23 | - Accepting responsibility and apologizing to those affected by our mistakes, 24 | and learning from the experience 25 | - Focusing on what is best not just for us as individuals, but for the overall 26 | community 27 | 28 | Examples of unacceptable behavior include: 29 | 30 | - The use of sexualized language or imagery, and sexual attention or advances of 31 | any kind 32 | - Trolling, insulting or derogatory comments, and personal or political attacks 33 | - Public or private harassment 34 | - Publishing others' private information, such as a physical or email address, 35 | without their explicit permission 36 | - Other conduct which could reasonably be considered inappropriate in a 37 | professional setting 38 | 39 | ## Enforcement Responsibilities 40 | 41 | Community leaders are responsible for clarifying and enforcing our standards of 42 | acceptable behavior and will take appropriate and fair corrective action in 43 | response to any behavior that they deem inappropriate, threatening, offensive, 44 | or harmful. 45 | 46 | Community leaders have the right and responsibility to remove, edit, or reject 47 | comments, commits, code, wiki edits, issues, and other contributions that are 48 | not aligned to this Code of Conduct, and will communicate reasons for moderation 49 | decisions when appropriate. 50 | 51 | ## Scope 52 | 53 | This Code of Conduct applies within all community spaces, and also applies when 54 | an individual is officially representing the community in public spaces. 55 | Examples of representing our community include using an official email address, 56 | posting via an official social media account, or acting as an appointed 57 | representative at an online or offline event. 58 | 59 | ## Enforcement 60 | 61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 62 | reported to the community leaders responsible for enforcement at [@SuperManito](https://github.com/SuperManito). 63 | All complaints will be reviewed and investigated promptly and fairly. 64 | 65 | All community leaders are obligated to respect the privacy and security of the 66 | reporter of any incident. 67 | 68 | ## Enforcement Guidelines 69 | 70 | Community leaders will follow these Community Impact Guidelines in determining 71 | the consequences for any action they deem in violation of this Code of Conduct: 72 | 73 | ### 1. Correction 74 | 75 | **Community Impact**: Use of inappropriate language or other behavior deemed 76 | unprofessional or unwelcome in the community. 77 | 78 | **Consequence**: A private, written warning from community leaders, providing 79 | clarity around the nature of the violation and an explanation of why the 80 | behavior was inappropriate. A public apology may be requested. 81 | 82 | ### 2. Warning 83 | 84 | **Community Impact**: A violation through a single incident or series of 85 | actions. 86 | 87 | **Consequence**: A warning with consequences for continued behavior. No 88 | interaction with the people involved, including unsolicited interaction with 89 | those enforcing the Code of Conduct, for a specified period of time. This 90 | includes avoiding interactions in community spaces as well as external channels 91 | like social media. Violating these terms may lead to a temporary or permanent 92 | ban. 93 | 94 | ### 3. Temporary Ban 95 | 96 | **Community Impact**: A serious violation of community standards, including 97 | sustained inappropriate behavior. 98 | 99 | **Consequence**: A temporary ban from any sort of interaction or public 100 | communication with the community for a specified period of time. No public or 101 | private interaction with the people involved, including unsolicited interaction 102 | with those enforcing the Code of Conduct, is allowed during this period. 103 | Violating these terms may lead to a permanent ban. 104 | 105 | ### 4. Permanent Ban 106 | 107 | **Community Impact**: Demonstrating a pattern of violation of community 108 | standards, including sustained inappropriate behavior, harassment of an 109 | individual, or aggression toward or disparagement of classes of individuals. 110 | 111 | **Consequence**: A permanent ban from any sort of public interaction within the 112 | community. 113 | 114 | ## Attribution 115 | 116 | This Code of Conduct is adapted from the 117 | [Contributor Covenant](https://www.contributor-covenant.org/), version 2.1, 118 | available at 119 | . 120 | 121 | Community Impact Guidelines were inspired by 122 | [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/inclusion). 123 | 124 | For answers to common questions about this code of conduct, see the FAQ at 125 | . Translations are available at 126 | . 127 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 SuperManito 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /docs/assets/css/orama-ui.css: -------------------------------------------------------------------------------- 1 | .orama-ui { 2 | -webkit-font-smoothing: antialiased; 3 | -moz-osx-font-smoothing: grayscale; 4 | font-family: var(--md-text-font); 5 | font-weight: 400; 6 | text-rendering: optimizeLegibility; 7 | vertical-align: baseline; 8 | -webkit-text-size-adjust: none; 9 | -moz-text-size-adjust: none; 10 | text-size-adjust: none; 11 | --orama-base-font-size: 18; 12 | 13 | --font-size-xxs: calc(10rem/var(--orama-base-font-size, 16)); 14 | --font-size-xs: calc(12rem/var(--orama-base-font-size, 16)); 15 | --font-size-sm: calc(14rem/var(--orama-base-font-size, 16)); 16 | --font-size-md: calc(16rem/var(--orama-base-font-size, 16)); 17 | --font-size-lg: calc(20rem/var(--orama-base-font-size, 16)); 18 | --font-weight-normal: 400; 19 | --font-weight-semibold: 600; 20 | --font-line-height-s: 1.25; 21 | --font-line-height-m: 1.5; 22 | --radius-xs: calc(6rem/var(--orama-base-font-size, 16)); 23 | --radius-s: calc(8rem/var(--orama-base-font-size, 16)); 24 | --radius-m: calc(12rem/var(--orama-base-font-size, 16)); 25 | --radius-l: calc(16rem/var(--orama-base-font-size, 16)); 26 | --radius-3xl: calc(40rem/var(--orama-base-font-size, 16)); 27 | --textarea-radius: calc(16rem/var(--orama-base-font-size, 16)); 28 | --spacing-2xs: calc(2rem/var(--orama-base-font-size, 16)); 29 | --spacing-xs: calc(4rem/var(--orama-base-font-size, 16)); 30 | --spacing-s: calc(8rem/var(--orama-base-font-size, 16)); 31 | --spacing-m: calc(12rem/var(--orama-base-font-size, 16)); 32 | --spacing-l: calc(16rem/var(--orama-base-font-size, 16)); 33 | --spacing-xl: calc(24rem/var(--orama-base-font-size, 16)); 34 | --spacing-2xl: calc(32rem/var(--orama-base-font-size, 16)); 35 | --spacing-3xl: calc(40rem/var(--orama-base-font-size, 16)); 36 | --textarea-shadow: var(--md-shadow-z1); 37 | 38 | --text-color-primary: #151515; 39 | --text-color-secondary: #838289; 40 | --text-color-tertiary: #99989d; 41 | --text-color-accent: var(--md-accent-fg-color); 42 | --text-color-inactive: #99989d; 43 | --text-color-reverse: #fff; 44 | --background-color-primary: #fbfbfb; 45 | --background-color-secondary: #fff; 46 | --background-color-tertiary: var(--md-accent-fg-color--transparent); 47 | --background-color-fourth: #efefef; 48 | --background-color-reverse: #000; 49 | --background-color-accent: var(--md-accent-fg-color); 50 | --border-color-primary: #dadada; 51 | --border-color-secondary: #efefef; 52 | --border-color-tertiary: #151515; 53 | --border-color-accent: var(--md-accent-fg-color); 54 | --icon-color-primary: #151515; 55 | --icon-color-secondary: #dadada; 56 | --icon-color-tertiary: #838289; 57 | --icon-color-inactive: #99989d; 58 | --icon-color-reverse: #fbfbfb; 59 | --shadow-color-primary: #fff; 60 | --button-text-color-primary: #fbfbfb; 61 | --button-text-color-secondary: #838289; 62 | --button-background-color-primary: var(--md-accent-fg-color); 63 | --button-background-color-secondary: hsla(240, 9%, 75%, 0.33); 64 | --button-background-color-secondary-hover: var(--md-accent-fg-color--transparent); 65 | --button-border-color-secondary: #dadada; 66 | --backdrop-background-color-primary: hsla(0, 0%, 98%, .7); 67 | --chat-button-border-color-gradientOne: transparent; 68 | --chat-button-border-color-gradientTwo: transparent; 69 | --chat-button-border-color-gradientThree: var(--md-accent-fg-color); 70 | --chat-button-border-color-gradientFour: var(--md-accent-fg-color); 71 | --chat-button-border-color-gradientFive: transparent; 72 | --chat-button-border-color-gradientSix: transparent; 73 | --chat-button-background-color-gradientOne: var(--md-accent-fg-color); 74 | --chat-button-background-color-gradientTwo: transparent; 75 | 76 | } 77 | 78 | .orama-ui *, 79 | .orama-ui:after, 80 | .orama-ui:before { 81 | box-sizing: border-box 82 | } 83 | 84 | [data-md-color-scheme="slate"] .orama-ui { 85 | --text-color-primary: #fbfbfb; 86 | --text-color-secondary: #dadada; 87 | --text-color-tertiary: #838289; 88 | --text-color-accent: var(--md-accent-fg-color); 89 | --text-color-inactive: #99989d; 90 | --text-color-reverse: #000; 91 | --background-color-primary: var(--md-default-bg-color); 92 | --background-color-secondary: #101010; 93 | --background-color-tertiary: var(--md-accent-fg-color--transparent); 94 | --background-color-fourth: #2e2e2e; 95 | --background-color-reverse: #fff; 96 | --background-color-accent: var(--md-accent-fg-color); 97 | --border-color-primary: #2e2e2e; 98 | --border-color-secondary: #151515; 99 | --border-color-tertiary: #afafb1; 100 | --border-color-accent: var(--md-accent-fg-color); 101 | --icon-color-primary: #fbfbfb; 102 | --icon-color-secondary: #dadada; 103 | --icon-color-tertiary: #838289; 104 | --icon-color-inactive: #99989d; 105 | --icon-color-reverse: var(--md-default-bg-color); 106 | --shadow-color-primary: #000; 107 | --button-text-color-primary: #fbfbfb; 108 | --button-text-color-secondary: #99989d; 109 | --button-background-color-primary: var(--md-accent-fg-color); 110 | --button-background-color-secondary: hsla(var(--md-hue), 15%, 9%, 0.33); 111 | --button-background-color-secondary-hover: var(--md-accent-fg-color--transparent); 112 | --button-border-color-secondary: #2e2e2e; 113 | --backdrop-background-color-primary: rgba(5, 5, 5, .7); 114 | --chat-button-border-color-gradientOne: transparent; 115 | --chat-button-border-color-gradientTwo: transparent; 116 | --chat-button-border-color-gradientThree: var(--md-accent-fg-color); 117 | --chat-button-border-color-gradientFour: var(--md-accent-fg-color); 118 | --chat-button-border-color-gradientFive: transparent; 119 | --chat-button-border-color-gradientSix: transparent; 120 | --chat-button-background-color-gradientOne: var(--md-accent-fg-color); 121 | --chat-button-background-color-gradientTwo: transparent; 122 | } 123 | -------------------------------------------------------------------------------- /docs/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/favicon.ico -------------------------------------------------------------------------------- /docs/assets/images/brand/command/docker-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/command/docker-dark.png -------------------------------------------------------------------------------- /docs/assets/images/brand/command/docker-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/command/docker-light.png -------------------------------------------------------------------------------- /docs/assets/images/brand/command/linux-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/command/linux-dark.png -------------------------------------------------------------------------------- /docs/assets/images/brand/command/linux-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/command/linux-light.png -------------------------------------------------------------------------------- /docs/assets/images/brand/dark/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/dark/1.png -------------------------------------------------------------------------------- /docs/assets/images/brand/dark/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/dark/2.png -------------------------------------------------------------------------------- /docs/assets/images/brand/dark/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/dark/3.png -------------------------------------------------------------------------------- /docs/assets/images/brand/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/img/1.jpg -------------------------------------------------------------------------------- /docs/assets/images/brand/img/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/img/2.jpg -------------------------------------------------------------------------------- /docs/assets/images/brand/img/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/img/3.jpg -------------------------------------------------------------------------------- /docs/assets/images/brand/img/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/img/4.jpg -------------------------------------------------------------------------------- /docs/assets/images/brand/img/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/img/5.jpg -------------------------------------------------------------------------------- /docs/assets/images/brand/img/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/img/6.jpg -------------------------------------------------------------------------------- /docs/assets/images/brand/light/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/light/1.png -------------------------------------------------------------------------------- /docs/assets/images/brand/light/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/light/2.png -------------------------------------------------------------------------------- /docs/assets/images/brand/light/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/brand/light/3.png -------------------------------------------------------------------------------- /docs/assets/images/brand/svg/1.svg: -------------------------------------------------------------------------------- 1 | 3 | 5 | 17 | 20 | 23 | 26 | 32 | 37 | 42 | 49 | 54 | 58 | 62 | 63 | 68 | 74 | 77 | 78 | -------------------------------------------------------------------------------- /docs/assets/images/brand/svg/2.svg: -------------------------------------------------------------------------------- 1 | 3 | 5 | 18 | 19 | 21 | 24 | 31 | 36 | 40 | 45 | 50 | 54 | 61 | 64 | 69 | 76 | 78 | 79 | -------------------------------------------------------------------------------- /docs/assets/images/brand/svg/3.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 22 | 23 | -------------------------------------------------------------------------------- /docs/assets/images/brand/svg/logo-dark.svg: -------------------------------------------------------------------------------- 1 | 3 | 5 | 23 | 24 | -------------------------------------------------------------------------------- /docs/assets/images/brand/svg/logo-light.svg: -------------------------------------------------------------------------------- 1 | 3 | 5 | 23 | 24 | -------------------------------------------------------------------------------- /docs/assets/images/icon/almalinux.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/assets/images/icon/alpine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/alpine.png -------------------------------------------------------------------------------- /docs/assets/images/icon/anolis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/anolis.png -------------------------------------------------------------------------------- /docs/assets/images/icon/arch-linux.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/arch-linux.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/armbian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/armbian.png -------------------------------------------------------------------------------- /docs/assets/images/icon/centos.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/AR.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/AU.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/BE.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/BR.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/CA.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/CH.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/CN.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/CZ.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/DE.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/DK.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/EE.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/FR.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/GB.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/GR.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/HK.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/JP.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/KE.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/KR.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/MY.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/NL.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/NZ.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/RU.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/SE.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/SG.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/TH.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/TW.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/US.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/ZA.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/world-map.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/flag/world.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/incompatible.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/linuxmirrors.svg: -------------------------------------------------------------------------------- 1 | 3 | 5 | 23 | 24 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/netlify.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/supported.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/tencent-cloud.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/custom/unsupport.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/debian.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/deepin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/deepin.png -------------------------------------------------------------------------------- /docs/assets/images/icon/fedora.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/fedora.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/gentoo.svg: -------------------------------------------------------------------------------- 1 | Gentoo Logo Vector -------------------------------------------------------------------------------- /docs/assets/images/icon/jetbrains-dark.svg: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/assets/images/icon/jetbrains-light.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/assets/images/icon/kali-linux.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/linux-mint.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/linux-mint.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/manjaro.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/163.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/163.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/alibabacloud.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/cmecloud.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/cqupt.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/cqupt.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/ctyun.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/ctyun.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/huaweicloud.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/huaweicloud.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/iscas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/iscas.png -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/lzu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/lzu.png -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/nju.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/nju.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/pku.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/pku.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/sjtu.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/sjtu.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/tencentcloud.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/tencentcloud.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/tsinghua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/tsinghua.png -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/ustc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/ustc.png -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/volcengine.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/mirrors/zju.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/mirrors/zju.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/netlify-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/netlify-dark.png -------------------------------------------------------------------------------- /docs/assets/images/icon/netlify-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/netlify-light.png -------------------------------------------------------------------------------- /docs/assets/images/icon/netlify.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/assets/images/icon/opencloudos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/opencloudos.png -------------------------------------------------------------------------------- /docs/assets/images/icon/openeuler.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/openeuler.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/openkylin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/openkylin.ico -------------------------------------------------------------------------------- /docs/assets/images/icon/oracle-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/oracle-linux.png -------------------------------------------------------------------------------- /docs/assets/images/icon/raspberry-pi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/raspberry-pi.png -------------------------------------------------------------------------------- /docs/assets/images/icon/red-hat-enterprise-linux.svg: -------------------------------------------------------------------------------- 1 | Logo-Red_Hat-Enterprise_Linux-A-Standard-RGB -------------------------------------------------------------------------------- /docs/assets/images/icon/redhat.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/rocky-linux.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/ubuntu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/images/icon/zorin-os.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/icon/zorin-os.png -------------------------------------------------------------------------------- /docs/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/logo.png -------------------------------------------------------------------------------- /docs/assets/images/other/aaPanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/other/aaPanel.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/1panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/1panel.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/all-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/all-dark.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/all-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/all-light.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/arcadia-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/arcadia-dark.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/arcadia-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/arcadia-light.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/bueryun.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40 | 41 | 43 | 45 | 47 | 49 | 51 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 61 | 62 | -------------------------------------------------------------------------------- /docs/assets/images/sponsor/businiaocdn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/businiaocdn.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/duotuyun-dark.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 17 | 19 | 21 | 22 | -------------------------------------------------------------------------------- /docs/assets/images/sponsor/duotuyun-light.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 17 | 19 | 21 | 22 | -------------------------------------------------------------------------------- /docs/assets/images/sponsor/ifdian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/ifdian.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/laikayun-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/laikayun-dark.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/laikayun-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/laikayun-light.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/langlangyun-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/langlangyun-dark.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/langlangyun-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/langlangyun-light.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/linfengyun-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/linfengyun-dark.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/linfengyun-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/linfengyun-light.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/qingyeyun-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/qingyeyun-dark.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/qingyeyun-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/qingyeyun-light.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/yuluyundun-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/yuluyundun-dark.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/yuluyundun-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/yuluyundun-light.png -------------------------------------------------------------------------------- /docs/assets/images/sponsor/yunyoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/assets/images/sponsor/yunyoo.png -------------------------------------------------------------------------------- /docs/assets/js/common.js: -------------------------------------------------------------------------------- 1 | const __p = typeof window !== 'undefined' && window.location && window.location.pathname ? window.location.pathname : '' 2 | const __isZhHant = __p.includes('/zh-Hant') 3 | const __isEn = __p.includes('/en') 4 | 5 | // 防抖 6 | function debounce(func, wait) { 7 | let timeout 8 | return function () { 9 | const context = this 10 | const args = arguments 11 | clearTimeout(timeout) 12 | timeout = setTimeout(() => func.apply(context, args), wait) 13 | } 14 | } 15 | 16 | // 组件管理系统(每个组件都是一个 Vue 实例) 17 | const ComponentSystem = { 18 | // 组件状态数据 19 | components: {}, 20 | 21 | // 注册组件 22 | register: function (componentId, componentDef) { 23 | // 为每个组件创建自己的状态 24 | this.components[componentId] = { 25 | id: componentId, 26 | instance: null, 27 | isInitializing: false, 28 | lastInitTime: 0, 29 | def: componentDef, 30 | debouncedInit: null, 31 | app: null, 32 | } 33 | // 创建组件初始化函数 34 | const initFunc = function () { 35 | const component = ComponentSystem.components[componentId] 36 | // 如果正在初始化或者距离上次初始化时间太短,则跳过 37 | const now = Date.now() 38 | if (component.isInitializing || now - component.lastInitTime < 1000) { 39 | return 40 | } 41 | // 使用缓存,如果没有则查询 42 | if (!component.instance) { 43 | component.instance = document.getElementById(componentId) 44 | } 45 | // 如果找不到容器,不执行后续操作 46 | if (!component.instance) { 47 | return 48 | } 49 | // 如果组件已经初始化过,且DOM没有变化,则跳过 50 | if (component.instance.hasAttribute('data-initialized')) { 51 | return 52 | } 53 | // console.log(`找到组件 ${componentId} 容器,开始初始化`) 54 | component.isInitializing = true 55 | component.lastInitTime = now 56 | try { 57 | if (component.app && typeof component.app.unmount === 'function') { 58 | try { 59 | component.app.unmount() 60 | } catch (err) { 61 | console.error('组件卸载失败', err) 62 | } 63 | component.app = null 64 | } 65 | // 清空容器内容,防止重复初始化 66 | while (component.instance.firstChild) { 67 | component.instance.removeChild(component.instance.firstChild) 68 | } 69 | // 确保容器有适当的尺寸 70 | if (!component.instance.style.width) { 71 | component.instance.style.width = '100%' 72 | } 73 | // 确保 Vue 和 TDesign 已加载 74 | if (typeof Vue !== 'undefined' && typeof TDesign !== 'undefined') { 75 | // 创建 Vue 应用 76 | const App = Vue.createApp(component.def) 77 | // 注册 TDesign 组件 78 | App.use(TDesign.default) 79 | // 挂载应用 80 | App.mount(component.instance) 81 | // 保存 app 引用以便后续卸载 82 | component.app = App 83 | // console.log(`组件 ${componentId} 初始化成功`) 84 | // 标记组件已初始化 85 | component.instance.setAttribute('data-initialized', 'true') 86 | // 立即更新主题 87 | updateTDesignGlobalTheme() 88 | } else if (typeof Vue !== 'undefined') { 89 | console.error('Vue 未找到') 90 | const errorDiv = document.createElement('div') 91 | errorDiv.innerHTML = `

组件 ${componentId} 加载失败,请检查 Vue 是否存在!

` 92 | component.instance.appendChild(errorDiv) 93 | } else if (typeof TDesign !== 'undefined') { 94 | console.error('TDesign UI 未找到') 95 | const errorDiv = document.createElement('div') 96 | errorDiv.innerHTML = `

组件 ${componentId} 加载失败,请检查 TDesign UI 是否存在!

` 97 | component.instance.appendChild(errorDiv) 98 | } 99 | } catch (error) { 100 | console.error(`组件 ${componentId} 初始化时发生错误:${error}`) 101 | } finally { 102 | component.isInitializing = false 103 | } 104 | } 105 | // 为每个组件创建防抖初始化函数 106 | this.components[componentId].debouncedInit = debounce(initFunc, 300) 107 | return this.components[componentId].debouncedInit 108 | }, 109 | 110 | // 初始化所有组件 111 | initAll: function () { 112 | Object.values(this.components).forEach((component) => { 113 | if (component.debouncedInit) { 114 | component.debouncedInit() 115 | } 116 | }) 117 | }, 118 | 119 | // 重新初始化组件 120 | reinitialize: function (componentId) { 121 | const component = this.components[componentId] 122 | if (component) { 123 | component.instance = document.getElementById(componentId) 124 | if (component.instance) { 125 | if (component.app && typeof component.app.unmount === 'function') { 126 | try { 127 | component.app.unmount() 128 | } catch (err) { 129 | console.error('组件初始化失败', err) 130 | } 131 | component.app = null 132 | } 133 | component.instance.removeAttribute('data-initialized') 134 | setTimeout(component.debouncedInit, 300) 135 | } 136 | } 137 | }, 138 | 139 | // 重新初始化所有组件 140 | reinitializeAll: function () { 141 | Object.keys(this.components).forEach((id) => { 142 | this.reinitialize(id) 143 | }) 144 | }, 145 | } 146 | -------------------------------------------------------------------------------- /docs/assets/js/component.js: -------------------------------------------------------------------------------- 1 | // 使用 mkdocs-material 与第三方 JavaScript 库集成的方法 2 | document$.subscribe(function () { 3 | ComponentSystem.reinitializeAll() 4 | // Orama AI Search 5 | loadOramaWebComponent() 6 | }) 7 | -------------------------------------------------------------------------------- /docs/assets/js/components/orama-ui/index-native.js: -------------------------------------------------------------------------------- 1 | function loadOramaWebComponent() { 2 | const searchBox = document.querySelector('orama-search-box') 3 | if (searchBox) { 4 | Object.assign(searchBox, getOramaSearchBoxConfig()) 5 | } 6 | 7 | // custom entrance button style 8 | const searchButton = document.querySelector('orama-search-button') 9 | if (searchButton) { 10 | searchButton.textContent = '搜索' 11 | const observer = new MutationObserver((_mutations, obs) => { 12 | if (searchButton.shadowRoot) { 13 | const button = searchButton.shadowRoot.querySelector('button') 14 | if (button) { 15 | button.style = 'border-radius: 8px !important;' 16 | button.querySelector('.button__label').style = 'height: 22px; padding: 2px 8px; font-size: 0.75rem;' 17 | button.querySelector('span[slot="adorment-end"], .kyb-shortcut').style = 'display: none;' 18 | // search icon style 19 | const magnifyingGlassShadowRoot = button.querySelector('ph-magnifying-glass').shadowRoot 20 | const styleElement = document.createElement('style') 21 | styleElement.textContent = ` 22 | svg { 23 | font-size: 24px; 24 | }` 25 | if (!magnifyingGlassShadowRoot.querySelector('style[data-custom="icon-style"]')) { 26 | styleElement.setAttribute('data-custom', 'icon-style') 27 | magnifyingGlassShadowRoot.appendChild(styleElement) 28 | } 29 | obs.disconnect() 30 | } 31 | } 32 | }) 33 | observer.observe(searchButton, { 34 | childList: true, 35 | subtree: true, 36 | attributes: true, 37 | characterData: true, 38 | }) 39 | setTimeout(() => observer.disconnect(), 2000) 40 | } 41 | 42 | searchButton.addEventListener('click', function () { 43 | const searchBox = document.querySelector('orama-search-box') 44 | // localization chat box component 45 | localizationOramaSearchBox(searchBox) 46 | }) 47 | } 48 | -------------------------------------------------------------------------------- /docs/assets/js/components/orama-ui/index.js: -------------------------------------------------------------------------------- 1 | function loadOramaWebComponent() { 2 | const searchBox = document.querySelector('orama-search-box') 3 | if (searchBox) { 4 | Object.assign(searchBox, getOramaSearchBoxConfig()) 5 | } 6 | 7 | // define global function 8 | window.openOramaSearch = function (event) { 9 | const element = document.querySelector('orama-search-box') 10 | if (element) { 11 | element.open = true 12 | localizationOramaSearchBox(element) 13 | } 14 | return false 15 | } 16 | // localization chat box component 17 | if (searchBox) { 18 | const openObserver = new MutationObserver((mutations) => { 19 | mutations.forEach((mutation) => { 20 | if (mutation.type === 'attributes' && mutation.attributeName === 'open' && searchBox.hasAttribute('open')) { 21 | localizationOramaSearchBox(searchBox) 22 | } 23 | }) 24 | }) 25 | openObserver.observe(searchBox, { attributes: true }) 26 | if (searchBox.hasAttribute('open')) { 27 | localizationOramaSearchBox(searchBox) 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /docs/assets/js/modules/tdesign-theme.js: -------------------------------------------------------------------------------- 1 | // 更新 TDesign 主题 2 | function updateTDesignGlobalTheme() { 3 | const scheme = document.querySelector('[data-md-color-scheme]')?.getAttribute('data-md-color-scheme') 4 | const isDarkMode = scheme === 'slate' || scheme === 'dark' 5 | if (isDarkMode) { 6 | document.documentElement.setAttribute('theme-mode', 'dark') 7 | } else { 8 | document.documentElement.removeAttribute('theme-mode') 9 | } 10 | } 11 | 12 | // 主题监听器 13 | function setupThemeObserver() { 14 | // 监听主题变化 15 | const observer = new MutationObserver(() => { 16 | updateTDesignGlobalTheme() 17 | }) 18 | const element = document.querySelector('[data-md-color-scheme]') 19 | if (element) { 20 | observer.observe(element, { 21 | attributes: true, 22 | attributeFilter: ['data-md-color-scheme'], 23 | }) 24 | } else { 25 | // 如果元素不存在,等待页面加载完成后重试 26 | setTimeout(setupThemeObserver, 1000) 27 | } 28 | } 29 | 30 | document.addEventListener('DOMContentLoaded', function () { 31 | setupThemeObserver() 32 | }) 33 | -------------------------------------------------------------------------------- /docs/assets/js/useThemeTransition.js: -------------------------------------------------------------------------------- 1 | function useThemeTransition() { 2 | // 更新过渡样式变量 3 | function updateViewTransitionVariables(isDarkTheme) { 4 | document.documentElement.style.setProperty('--view-transition-z-index-foreground', isDarkTheme ? '999' : '1') 5 | document.documentElement.style.setProperty('--view-transition-z-index-background', isDarkTheme ? '1' : '999') 6 | } 7 | // 切换主题按钮点击事件 8 | function handleThemeToggle(e) { 9 | // 阻止默认点击事件 10 | e.preventDefault() 11 | e.stopPropagation() 12 | // 获取目标输入元素 13 | const targetId = this.getAttribute('for') 14 | const targetInput = document.getElementById(targetId) 15 | if (!targetInput) return 16 | // 获取主题状态 17 | const targetTheme = targetInput.getAttribute('data-md-color-scheme') // 目标主题(system、default、slate) 18 | const systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'slate' : 'default' // 系统主题(default、slate) 19 | const currentScheme = document.body.getAttribute('data-md-color-scheme') // 当前主题(default、slate) 20 | // 当目标主题与当前主题相同时不触发动画 21 | if (targetTheme === 'system') { 22 | if (systemTheme === currentScheme) { 23 | targetInput.click() 24 | return 25 | } 26 | } else if (targetTheme === currentScheme) { 27 | targetInput.click() 28 | return 29 | } 30 | // 当前主题状态 31 | const isSystemDarkTheme = systemTheme === 'slate' // 系统是否为深色主题 32 | const isCurrentDarkTheme = currentScheme.includes('slate') // 当前是否为深色主题 33 | const isSwitchToDarkTheme = !isCurrentDarkTheme // 是否将切换到深色主题 34 | // 根据系统主题设置动画样式 35 | updateViewTransitionVariables(isSystemDarkTheme) 36 | // 判断切换方向是否与系统主题一致 37 | // 如果系统是深色,切换到深色是"靠近系统";如果系统是浅色,切换到浅色是"靠近系统" 38 | const isMovingTowardsSystemTheme = (isSwitchToDarkTheme && isSystemDarkTheme) || (!isSwitchToDarkTheme && !isSystemDarkTheme) 39 | // 动画参数 40 | const x = e.clientX 41 | const y = e.clientY 42 | const endRadius = Math.hypot(Math.max(x, window.innerWidth - x), Math.max(y, window.innerHeight - y)) 43 | const clipPath = [`circle(0px at ${x}px ${y}px)`, `circle(${endRadius}px at ${x}px ${y}px)`] 44 | // 启动视图过渡 45 | document 46 | .startViewTransition(async () => { 47 | // 切换主题 48 | targetInput.click() 49 | // 添加CSS类用于动画控制 50 | document.documentElement.classList.remove(isSwitchToDarkTheme ? 'light' : 'dark') 51 | document.documentElement.classList.add(isSwitchToDarkTheme ? 'dark' : 'light') 52 | // 等待主题变化完成 53 | await new Promise((resolve) => setTimeout(resolve, 100)) 54 | }) 55 | .ready.then(() => { 56 | // 当朝向系统主题方向变化时使用使用缩小效果(reversed clipPath),反之放大效果(clipPath) 57 | document.documentElement.animate( 58 | { 59 | clipPath: isMovingTowardsSystemTheme ? [...clipPath].reverse() : clipPath, 60 | transform: 'translateZ(0)', 61 | }, 62 | { 63 | duration: 500, 64 | easing: 'ease-in', 65 | pseudoElement: isMovingTowardsSystemTheme ? '::view-transition-old(root)' : '::view-transition-new(root)', 66 | } 67 | ) 68 | }) 69 | } 70 | 71 | // 不支持此特性 72 | if (typeof document.startViewTransition !== 'function') { 73 | return 74 | } 75 | // 获取主题切换按钮Dom 76 | const themeToggles = document.querySelectorAll('form[data-md-component="palette"] .md-header__button.md-icon') 77 | themeToggles.forEach((toggle) => { 78 | toggle.addEventListener('click', handleThemeToggle, { capture: true }) 79 | }) 80 | // 初始化主题状态类 81 | const currentScheme = document.body.getAttribute('data-md-color-scheme') 82 | const isDark = currentScheme.includes('slate') 83 | document.documentElement.classList.add(isDark ? 'dark' : 'light') 84 | // 初始化过渡样式变量 85 | updateViewTransitionVariables(isDark) 86 | } 87 | 88 | document.addEventListener('DOMContentLoaded', function () { 89 | useThemeTransition() 90 | }) 91 | -------------------------------------------------------------------------------- /docs/changelog/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | hide: 3 | - navigation 4 | - footer 5 | search: 6 | exclude: true 7 | --- 8 | 9 | ### `2025-10-12` 10 | 11 | * Added support for I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c) 12 | 13 | ### `2025-09-28` 14 | 15 | * Adapted for openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317) 16 | 17 | ### `2025-09-26` 18 | 19 | * Added `Specify Docker CE source repository version` command option to docker script [#4c7860d](https://github.com/SuperManito/LinuxMirrors/commit/4c7860d48cfefded15c32f1baa0f544fde18e8ce) 20 | 21 | ### `2025-08-07` 22 | 23 | * Adapted for TencentOS Server & Alibaba Cloud Linux to docker script [#00f3b19](https://github.com/SuperManito/LinuxMirrors/commit/00f3b19edfcb152f22337306e7fc25e135e75c14) 24 | 25 | ### `2025-08-03` 26 | 27 | * Adapted for Huawei Cloud EulerOS to docker script [#b19f748](https://github.com/SuperManito/LinuxMirrors/commit/b19f748154d66fa6a385726ae899db5740499a7e) 28 | 29 | ### `2025-07-18` 30 | 31 | * Added support for Oracle Linux OS [#76b8b08](https://github.com/SuperManito/LinuxMirrors/commit/76b8b0834ae493ed8731c83440c4a8f4dcad17dc) 32 | 33 | ### `2025-06-15` 34 | 35 | * Adapted for Rocky Linux 10 [#dafaa13](https://github.com/SuperManito/LinuxMirrors/commit/dafaa13e44209d719b5b6f06f4cc3c4f2ef24d3b) 36 | 37 | ### `2025-06-03` 38 | 39 | * Added support for Manjaro OS [#a93f23e](https://github.com/SuperManito/LinuxMirrors/commit/a93f23e48d4ffbffb0e04efcf33138fc7218b560) 40 | 41 | ### `2025-05-29` 42 | 43 | * Adapted for Red Hat Enterprise Linux 10 & AlmaLinux 10 [#26f493a](https://github.com/SuperManito/LinuxMirrors/commit/26f493a762221569404d45a6556afd7945ac75f8) 44 | 45 | ### `2025-05-13` 46 | 47 | * Enabled DEB822 format for new versions of Debian and Ubuntu repositories [#c3d0d5f](https://github.com/SuperManito/LinuxMirrors/commit/c3d0d5fa2c0993e104711f55e37fa8ada1031b5e) 48 | 49 | ### `2025-05-12` 50 | 51 | * Added `Only Replace Mirror Accelerator` command option to docker script [#3f13f40](https://github.com/SuperManito/LinuxMirrors/commit/3f13f40111fa3631555ca7104cea21b4bb5adefa) 52 | 53 | ### `2025-05-11` 54 | 55 | * Adapted for Anolis OS 8.10 [#582b1d1](https://github.com/SuperManito/LinuxMirrors/commit/582b1d1fbcc3cab4899d4d400cf9a51023773aad) 56 | 57 | ### `2025-04-05` 58 | 59 | * Added "Clean Mode" command option [#e63dea7](https://github.com/SuperManito/LinuxMirrors/commit/e63dea7e64fa6c31ecee3c02b143924ab12917b4) 60 | 61 | ### `2025-03-16` 62 | 63 | * Adapted for EPEL 10 [#b71c0b9](https://github.com/SuperManito/LinuxMirrors/commit/b71c0b9790cc1dfb431729b817e726d6dd19a555) 64 | 65 | ### `2025-03-15` 66 | 67 | * Added support for Raspberry Pi OS [#c08000c](https://github.com/SuperManito/LinuxMirrors/commit/c08000cb645994d669e5ca2678d429a9d9eb3c90) 68 | 69 | ### `2025-03-14` 70 | 71 | * Adapted for CentOS Stream 10 [#12eb98c](https://github.com/SuperManito/LinuxMirrors/commit/12eb98ce2945294873bfaa7b422fda175d9f8c10) 72 | 73 | ### `2025-02-20` 74 | 75 | * Added support for NixOS [#4d91f7d](https://github.com/SuperManito/LinuxMirrors/commit/4d91f7d1b2ddd58f7794cc7620d0ea7e4f9af02b) 76 | 77 | ...... 78 | -------------------------------------------------------------------------------- /docs/changelog/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | hide: 3 | - navigation 4 | - footer 5 | search: 6 | exclude: true 7 | --- 8 | 9 | ### `2025-10-12` 10 | 11 | * 新增适配 I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c) 12 | 13 | ### `2025-09-28` 14 | 15 | * 适配 openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317) 16 | 17 | ### `2025-09-26` 18 | 19 | * Docker 脚本新增 `指定 Docker CE 软件源仓库版本` 命令选项 [#4c7860d](https://github.com/SuperManito/LinuxMirrors/commit/4c7860d48cfefded15c32f1baa0f544fde18e8ce) 20 | 21 | ### `2025-08-07` 22 | 23 | * Docker 脚本新增适配 TencentOS Server & Alibaba Cloud Linux 操作系统 [#00f3b19](https://github.com/SuperManito/LinuxMirrors/commit/00f3b19edfcb152f22337306e7fc25e135e75c14) 24 | 25 | ### `2025-08-03` 26 | 27 | * Docker 脚本新增适配 Huawei Cloud EulerOS 操作系统 [#b19f748](https://github.com/SuperManito/LinuxMirrors/commit/b19f748154d66fa6a385726ae899db5740499a7e) 28 | 29 | ### `2025-07-18` 30 | 31 | * 新增适配 Oracle Linux 操作系统 [#76b8b08](https://github.com/SuperManito/LinuxMirrors/commit/76b8b0834ae493ed8731c83440c4a8f4dcad17dc) 32 | 33 | ### `2025-06-15` 34 | 35 | * 适配 Rocky Linux 10 [#dafaa13](https://github.com/SuperManito/LinuxMirrors/commit/dafaa13e44209d719b5b6f06f4cc3c4f2ef24d3b) 36 | 37 | ### `2025-06-03` 38 | 39 | * 新增适配 Manjaro 操作系统 [#a93f23e](https://github.com/SuperManito/LinuxMirrors/commit/a93f23e48d4ffbffb0e04efcf33138fc7218b560) 40 | 41 | ### `2025-05-29` 42 | 43 | * 适配 Red Hat Enterprise Linux 10 & AlmaLinux 10 [#26f493a](https://github.com/SuperManito/LinuxMirrors/commit/26f493a762221569404d45a6556afd7945ac75f8) 44 | 45 | ### `2025-05-13` 46 | 47 | * 为 Debian 和 Ubuntu 的新版本软件源启用 DEB822 格式 [#c3d0d5f](https://github.com/SuperManito/LinuxMirrors/commit/c3d0d5fa2c0993e104711f55e37fa8ada1031b5e) 48 | 49 | ### `2025-05-12` 50 | 51 | * Docker 脚本新增 `仅更换镜像加速器` 命令选项 [#3f13f40](https://github.com/SuperManito/LinuxMirrors/commit/3f13f40111fa3631555ca7104cea21b4bb5adefa) 52 | 53 | ### `2025-05-11` 54 | 55 | * 适配 Anolis OS 8.10 [#582b1d1](https://github.com/SuperManito/LinuxMirrors/commit/582b1d1fbcc3cab4899d4d400cf9a51023773aad) 56 | 57 | ### `2025-04-05` 58 | 59 | * 命令选项新增 `纯净模式` [#e63dea7](https://github.com/SuperManito/LinuxMirrors/commit/e63dea7e64fa6c31ecee3c02b143924ab12917b4) 60 | 61 | ### `2025-03-16` 62 | 63 | * 适配 EPEL 10 [#b71c0b9](https://github.com/SuperManito/LinuxMirrors/commit/b71c0b9790cc1dfb431729b817e726d6dd19a555) 64 | 65 | ### `2025-03-15` 66 | 67 | * 新增适配 Raspberry Pi OS 操作系统 [#c08000c](https://github.com/SuperManito/LinuxMirrors/commit/c08000cb645994d669e5ca2678d429a9d9eb3c90) 68 | 69 | ### `2025-03-14` 70 | 71 | * 适配 CentOS Stream 10 [#12eb98c](https://github.com/SuperManito/LinuxMirrors/commit/12eb98ce2945294873bfaa7b422fda175d9f8c10) 72 | 73 | ### `2025-02-20` 74 | 75 | * 新增适配 NixOS 操作系统 [#4d91f7d](https://github.com/SuperManito/LinuxMirrors/commit/4d91f7d1b2ddd58f7794cc7620d0ea7e4f9af02b) 76 | 77 | ...... 78 | -------------------------------------------------------------------------------- /docs/changelog/index.zh-Hant.md: -------------------------------------------------------------------------------- 1 | --- 2 | hide: 3 | - navigation 4 | - footer 5 | search: 6 | exclude: true 7 | --- 8 | 9 | ### `2025-10-12` 10 | 11 | * 新增適配 I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c) 12 | 13 | ### `2025-09-28` 14 | 15 | * 適配 openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317) 16 | 17 | ### `2025-09-26` 18 | 19 | * Docker 腳本新增 `指定 Docker CE 軟體源倉庫版本` 命令選項 [#4c7860d](https://github.com/SuperManito/LinuxMirrors/commit/4c7860d48cfefded15c32f1baa0f544fde18e8ce) 20 | 21 | ### `2025-08-07` 22 | 23 | * Docker 腳本新增適配 TencentOS Server & Alibaba Cloud Linux 作業系統 [#00f3b19](https://github.com/SuperManito/LinuxMirrors/commit/00f3b19edfcb152f22337306e7fc25e135e75c14) 24 | 25 | ### `2025-08-03` 26 | 27 | * Docker 腳本新增適配 Huawei Cloud EulerOS 作業系統 [#b19f748](https://github.com/SuperManito/LinuxMirrors/commit/b19f748154d66fa6a385726ae899db5740499a7e) 28 | 29 | ### `2025-07-18` 30 | 31 | * 新增適配 Oracle Linux 作業系統 [#76b8b08](https://github.com/SuperManito/LinuxMirrors/commit/76b8b0834ae493ed8731c83440c4a8f4dcad17dc) 32 | 33 | ### `2025-06-15` 34 | 35 | * 適配 Rocky Linux 10 [#dafaa13](https://github.com/SuperManito/LinuxMirrors/commit/dafaa13e44209d719b5b6f06f4cc3c4f2ef24d3b) 36 | 37 | ### `2025-06-03` 38 | 39 | * 新增適配 Manjaro 作業系統 [#a93f23e](https://github.com/SuperManito/LinuxMirrors/commit/a93f23e48d4ffbffb0e04efcf33138fc7218b560) 40 | 41 | ### `2025-05-29` 42 | 43 | * 適配 Red Hat Enterprise Linux 10 & AlmaLinux 10 [#26f493a](https://github.com/SuperManito/LinuxMirrors/commit/26f493a762221569404d45a6556afd7945ac75f8) 44 | 45 | ### `2025-05-13` 46 | 47 | * 為 Debian 和 Ubuntu 的新版本軟體源啟用 DEB822 格式 [#c3d0d5f](https://github.com/SuperManito/LinuxMirrors/commit/c3d0d5fa2c0993e104711f55e37fa8ada1031b5e) 48 | 49 | ### `2025-05-12` 50 | 51 | * Docker 腳本新增 `僅更換鏡像加速器` 命令選項 [#3f13f40](https://github.com/SuperManito/LinuxMirrors/commit/3f13f40111fa3631555ca7104cea21b4bb5adefa) 52 | 53 | ### `2025-05-11` 54 | 55 | * 適配 Anolis OS 8.10 [#582b1d1](https://github.com/SuperManito/LinuxMirrors/commit/582b1d1fbcc3cab4899d4d400cf9a51023773aad) 56 | 57 | ### `2025-04-05` 58 | 59 | * 命令選項新增 `純淨模式` [#e63dea7](https://github.com/SuperManito/LinuxMirrors/commit/e63dea7e64fa6c31ecee3c02b143924ab12917b4) 60 | 61 | ### `2025-03-16` 62 | 63 | * 適配 EPEL 10 [#b71c0b9](https://github.com/SuperManito/LinuxMirrors/commit/b71c0b9790cc1dfb431729b817e726d6dd19a555) 64 | 65 | ### `2025-03-15` 66 | 67 | * 新增適配 Raspberry Pi OS 作業系統 [#c08000c](https://github.com/SuperManito/LinuxMirrors/commit/c08000cb645994d669e5ca2678d429a9d9eb3c90) 68 | 69 | ### `2025-03-14` 70 | 71 | * 適配 CentOS Stream 10 [#12eb98c](https://github.com/SuperManito/LinuxMirrors/commit/12eb98ce2945294873bfaa7b422fda175d9f8c10) 72 | 73 | ### `2025-02-20` 74 | 75 | * 新增適配 NixOS 作業系統 [#4d91f7d](https://github.com/SuperManito/LinuxMirrors/commit/4d91f7d1b2ddd58f7794cc7620d0ea7e4f9af02b) 76 | 77 | ...... 78 | -------------------------------------------------------------------------------- /docs/community/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | comments: true 3 | comments_description: Please ensure that the discussion content is relevant to the project and do not publish any illegal content such as advertisements 4 | hide: 5 | - navigation 6 | - toc 7 | - footer 8 | --- 9 | -------------------------------------------------------------------------------- /docs/community/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | comments: true 3 | comments_description: 请确保讨论内容与项目的相关性,不得发布广告等违规内容 4 | hide: 5 | - navigation 6 | - toc 7 | - footer 8 | --- 9 | -------------------------------------------------------------------------------- /docs/community/index.zh-Hant.md: -------------------------------------------------------------------------------- 1 | --- 2 | comments: true 3 | comments_description: 請確保討論內容與專案的相關性,不得發布廣告等違規內容 4 | hide: 5 | - navigation 6 | - toc 7 | - footer 8 | --- 9 | -------------------------------------------------------------------------------- /docs/other/example1.md: -------------------------------------------------------------------------------- 1 | ``` bash 2 | # !/bin/bash 3 | function install_docker() { 4 | if command -v docker &>/dev/null; then 5 | return 6 | fi 7 | 8 | # script options 9 | local script_host="linuxmirrors.cn" # official host (CDN), more host see official site 10 | local script_lang="zh-hans" # script display language: zh-hans / zh-hant / en / auto 11 | local close_firewall="true" # close firewalld service and selinux (redhat systems need) 12 | # mirrors options 13 | local source_docker_ce_address="mirrors.tencent.com/docker-ce" # global high availability address 14 | local source_docker_ce_protocol="https" # https or http 15 | local source_docker_registry_address="registry.hub.docker.com" 16 | 17 | # judge network environment 18 | local region_code="$(curl -s ipinfo.io/country)" 19 | if [[ "${region_code}" == "CN" ]]; then 20 | local source_intranet_address="" 21 | # use intranet source if possible 22 | if [ -s "/sys/class/dmi/id/sys_vendor" ]; then 23 | local sys_vendor="$(cat /sys/class/dmi/id/sys_vendor)" 24 | if [[ "${sys_vendor}" == *"Alibaba"* ]]; then 25 | source_intranet_address="mirrors.cloud.aliyuncs.com/docker-ce" 26 | elif [[ "${sys_vendor}" == *"Huawei"* ]]; then 27 | source_intranet_address="mirrors.myhuaweicloud.com/docker-ce" 28 | elif [[ "${sys_vendor}" == *"Tencent"* ]]; then 29 | source_intranet_address="mirrors.tencentyun.com/docker-ce" 30 | elif [[ "${sys_vendor}" == *"Inspur"* ]]; then 31 | source_intranet_address="mirrors.ivolces.com/docker-ce" 32 | fi 33 | else 34 | cat /etc/motd | grep "Alibaba Cloud " -q 35 | if [ $? -eq 0 ]; then 36 | source_intranet_address="mirrors.cloud.aliyuncs.com/docker-ce" 37 | fi 38 | fi 39 | # check connectivity 40 | if [ -n "${source_intranet_address}" ]; then 41 | if ping -c1 -W1 "${source_intranet_address%%/*}" >/dev/null 2>&1; then 42 | source_docker_ce_address="${source_intranet_address}" 43 | source_docker_ce_protocol="http" 44 | fi 45 | fi 46 | # registry mirror (best choice for Chinese mainland) 47 | source_docker_registry_address="docker.1ms.run" 48 | else 49 | # use official source 50 | source_docker_ce_address="download.docker.com" 51 | source_docker_registry_address="registry.hub.docker.com" 52 | fi 53 | 54 | # install docker engine 55 | bash <(curl -sSL https://${script_host}/docker.sh) \ 56 | --source "${source_docker_ce_address}" \ 57 | --source-registry "${source_docker_registry_address}" \ 58 | --protocol "${source_docker_ce_protocol}" \ 59 | --close-firewall "${close_firewall}" \ 60 | --install-latest true \ 61 | --ignore-backup-tips \ 62 | --lang "${script_lang}" \ 63 | --pure-mode 64 | } 65 | 66 | install_docker 67 | ``` -------------------------------------------------------------------------------- /docs/other/example2.md: -------------------------------------------------------------------------------- 1 | ``` bash 2 | # !/bin/bash 3 | function install_docker() { 4 | if command -v docker &>/dev/null; then 5 | return 6 | fi 7 | 8 | bash <(curl -sSL https://${script_host}/docker.sh) \ 9 | --install-latest true \ 10 | --ignore-backup-tips \ 11 | --lang auto 12 | 13 | if command -v docker &>/dev/null; then 14 | echo -e "\n# Docker installation successful.\n# Please run this script again manually after installation." 15 | exit 0 16 | else 17 | echo -e "\n# Docker installation failed.\n# Please check the error message above." 18 | exit 1 19 | fi 20 | } 21 | 22 | install_docker 23 | ``` -------------------------------------------------------------------------------- /docs/sponsor/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | hide: 3 | - navigation 4 | - toc 5 | - footer 6 | --- 7 | 8 | --8<-- "docs/sponsor/main.html" 9 | 10 | # 11 | 12 |
13 |
Become a Sponsor
14 |
15 | 18 |
19 |

Please go to the author's afdian homepage to view instructions and contact the author

20 |
21 | -------------------------------------------------------------------------------- /docs/sponsor/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | hide: 3 | - navigation 4 | - toc 5 | - footer 6 | --- 7 | 8 | --8<-- "docs/sponsor/main.html" 9 | 10 | # 11 | 12 |
13 |
成为赞助商
14 |
15 | 18 |
19 |

请前往作者爱发电主页查看说明并与作者取得联系

20 |
21 | -------------------------------------------------------------------------------- /docs/sponsor/index.zh-Hant.md: -------------------------------------------------------------------------------- 1 | --- 2 | hide: 3 | - navigation 4 | - toc 5 | - feedback 6 | - footer 7 | --- 8 | 9 | --8<-- "docs/sponsor/main.html" 10 | 11 | # 12 | 13 |
14 |
成為贊助商
15 |
16 | 19 |
20 |

請前往作者愛發電主頁查看說明並與作者取得聯繫

21 |
22 | -------------------------------------------------------------------------------- /docs/sponsor/main.html: -------------------------------------------------------------------------------- 1 | 66 | 67 | 85 | 86 | 99 | -------------------------------------------------------------------------------- /docs/stylesheets/fonts/SF-Mono-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperManito/LinuxMirrors/cbda99f56e8ab15d378102021e9b081702d2d9dd/docs/stylesheets/fonts/SF-Mono-Regular.otf -------------------------------------------------------------------------------- /docs/theme/main.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block scripts %} 4 | 5 | 6 | {{ super() }} 7 | {% endblock %} 8 | 9 | {% block announce %} 10 | {{ 11 | 'If you think this project is good and helpful to you, please click the Star in the upper right corner of the warehouse and share it with more friends.' if i18n_page_locale == 'en' else '如果您覺得這個專案不錯對您有幫助的話,請點擊倉庫右上角的 Star 並分享給更多的朋友' if i18n_page_locale == 'zh-Hant' else '如果觉得这个项目不错对您有所帮助的话,请点击仓库右上角的 Star 并分享给更多的朋友' 12 | }} 13 |    14 | {% endblock %} 15 | -------------------------------------------------------------------------------- /docs/theme/partials/comments.html: -------------------------------------------------------------------------------- 1 | {% if page.meta.comments %} 2 |

{{ lang.t("meta.comments") }}

3 | {% if page.meta.comments_description %} 4 |
{{ page.meta.comments_description }}
5 | {% endif %} 6 | 23 | 24 | 54 | {% endif %} 55 | -------------------------------------------------------------------------------- /docs/theme/partials/content.html: -------------------------------------------------------------------------------- 1 | {% include "partials/tags.html" %} 2 | 3 | {% include "partials/actions.html" %} 4 | 5 | {% if "\u003ch1" not in page.content %} 6 |

{{ page.title | d(config.site_name, true)}}

7 | {% endif %} 8 | 9 | {{ page.content }} 10 | 11 | {% include "partials/source-file.html" %} 12 | 13 | {% include "partials/feedback.html" %} 14 | 15 | {% include "partials/comments.html" %} 16 | 17 | -------------------------------------------------------------------------------- /docs/theme/partials/copyright.html: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /docs/theme/partials/header.html: -------------------------------------------------------------------------------- 1 | {% set class = "md-header" %} 2 | {% if "navigation.tabs.sticky" in features %} 3 | {% set class = class ~ " md-header--shadow md-header--lifted" %} 4 | {% elif "navigation.tabs" not in features %} 5 | {% set class = class ~ " md-header--shadow" %} 6 | {% endif %} 7 | 8 |
9 | 79 | 80 | {% if "navigation.tabs.sticky" in features %} 81 | {% if "navigation.tabs" in features %} 82 | {% include "partials/tabs.html" %} 83 | {% endif %} 84 | {% endif %} 85 |
86 | -------------------------------------------------------------------------------- /docs/theme/partials/palette.html: -------------------------------------------------------------------------------- 1 |
2 | {% for option in config.theme.palette %} 3 | {% set scheme = option.scheme | d("default", true) %} 4 | {% set primary = option.primary | d("indigo", true) %} 5 | {% set accent = option.accent | d("indigo", true) %} 6 | 21 | {% if option.toggle %} 22 | 32 | {% endif %} 33 | {% endfor %} 34 |
-------------------------------------------------------------------------------- /docs/theme/partials/search.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 |
7 |
8 | 9 | 23 | 24 | 58 | 59 | 99 | -------------------------------------------------------------------------------- /giscus.json: -------------------------------------------------------------------------------- 1 | { 2 | "defaultCommentOrder": "newest" 3 | } -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | [[headers]] 2 | for = "/*.js" 3 | [headers.values] 4 | Cache-Control = "public, max-age=31536000, must-revalidate" 5 | 6 | [[headers]] 7 | for = "/*.css" 8 | [headers.values] 9 | Cache-Control = "public, max-age=31536000, must-revalidate" 10 | 11 | [[headers]] 12 | for = "/*.png" 13 | [headers.values] 14 | Cache-Control = "public, max-age=31536000, must-revalidate" 15 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | mkdocs-material==9.6.22 2 | mkdocs-glightbox==0.5.2 3 | mkdocs-exclude-search==0.6.6 4 | # mkdocs-minify-plugin==0.8.0 5 | mkdocs-static-i18n==1.3.0 6 | termynal==0.13.1 --------------------------------------------------------------------------------