由于上个仓库主线和分支差距过大且主线不再使用所以新建此仓库
This commit is contained in:
67
config.json
Normal file
67
config.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"mirror": {
|
||||
"name": "Linux 镜像源",
|
||||
"description": "快速、稳定的 Linux 发行版镜像服务",
|
||||
"baseUrl": "http://127.0.0.1:3000",
|
||||
"logo": "/logo.svg"
|
||||
},
|
||||
"directories": [
|
||||
{
|
||||
"name": "ubuntu",
|
||||
"path": "/Users/hokori/code/html/mirrors/f/ubuntu",
|
||||
"description": "Ubuntu Linux 发行版",
|
||||
"icon": "fab fa-ubuntu",
|
||||
"color": "#E95420"
|
||||
},
|
||||
{
|
||||
"name": "centos",
|
||||
"path": "/Users/hokori/code/html/mirrors/f/centos",
|
||||
"description": "CentOS Linux 发行版",
|
||||
"icon": "fab fa-centos",
|
||||
"color": "#932279"
|
||||
},
|
||||
{
|
||||
"name": "debian",
|
||||
"path": "/Users/hokori/code/html/mirrors/f/debian",
|
||||
"description": "Debian Linux 发行版",
|
||||
"icon": "fab fa-debian",
|
||||
"color": "#A80030"
|
||||
},
|
||||
{
|
||||
"name": "archlinux",
|
||||
"path": "/Users/hokori/code/html/mirrors/f/archlinux",
|
||||
"description": "Arch Linux 发行版",
|
||||
"icon": "fab fa-linux",
|
||||
"color": "#1793D1"
|
||||
},
|
||||
{
|
||||
"name": "fedora",
|
||||
"path": "/Users/hokori/code/html/mirrors/f/fedora",
|
||||
"description": "Fedora Linux 发行版",
|
||||
"icon": "fab fa-fedora",
|
||||
"color": "#294172"
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"enableSearch": true,
|
||||
"enableDarkMode": true,
|
||||
"enableStats": true,
|
||||
"enableDownload": true,
|
||||
"enableCopyLink": true,
|
||||
"maxFileSize": "50GB",
|
||||
"supportedFormats": [".iso", ".tar.gz", ".tar.bz2", ".deb", ".rpm", ".zip"]
|
||||
},
|
||||
"ui": {
|
||||
"itemsPerPage": 50,
|
||||
"defaultView": "list",
|
||||
"showHiddenFiles": false,
|
||||
"refreshInterval": 300
|
||||
},
|
||||
"linuxCommands": {
|
||||
"ubuntu": "echo 'deb https://mirror.example.com/ubuntu/ $(lsb_release -cs) main restricted universe multiverse' | sudo tee /etc/apt/sources.list.d/mirror.list",
|
||||
"centos": "sudo yum-config-manager --add-repo=https://mirror.example.com/centos/$(rpm -E %rhel)/BaseOS/x86_64/os/",
|
||||
"debian": "echo 'deb https://mirror.example.com/debian $(lsb_release -cs) main' | sudo tee /etc/apt/sources.list.d/mirror.list",
|
||||
"archlinux": "sudo pacman-mirrors -i -c China -m rank",
|
||||
"fedora": "sudo dnf config-manager --add-repo=https://mirror.example.com/fedora/releases/$(rpm -E %fedora)/Everything/x86_64/os/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user