AI prompts
base on AdySec CF拉平镜像站 | 官方源可信度和稳定性最高,但国内访问速度较慢,通过众生平等Cloudflare,利用全球的边缘节点,将用户请求转发到离用户距离最近的节点,同时缓存静态内容加速,减少网络延迟和下载速度,使用Cloudflare Workers配置反代实现 # AdySec CF拉平镜像站
<a href="https://github.com/adysec/cf-mirror/stargazers"><img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/adysec/cf-mirror?color=yellow&logo=riseup&logoColor=yellow&style=flat-square"></a>
<a href="https://github.com/adysec/cf-mirror/network/members"><img alt="GitHub forks" src="https://img.shields.io/github/forks/adysec/cf-mirror?color=orange&style=flat-square"></a>
<a href="https://github.com/adysec/cf-mirror/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/adysec/cf-mirror?color=red&style=flat-square"></a>
站点地址:<https://mirror.adysec.com/>
项目地址:<https://github.com/adysec/cf-mirror>
官方源可信度和稳定性最高,但众所周知的原因国内访问速度较慢,因此产生了清华源、中科大源、阿里源之类的一系列开源镜像站,有些资源需要换n个源才能把系统和软件更新完成,第三方源相对官方源软件版本更低,维护者也可能会夹带私货,洁癖患者难以忍受。
KaOS,Deepin的官方源就在大陆,对于国内用户较为友好,但境外vps需要更新软件源有网络不稳定的情况,配置该源的目的主要是为了国外ip的服务器更新,更新源的选用应根据自己的地域和实际情况
自建软件源需要TB级的存储,而[mirrorz](https://github.com/mirrorz-org/mirrorz)项目的思路是索引和跳转到校园镜像站,本身并不提供具体内容。由此启发做了Cloudflare拉平镜像站。
众生平等Cloudflare,利用全球的边缘节点,将用户请求转发到离用户距离最近的节点,同时缓存静态内容加速,减少网络延迟和下载速度。Cloudflare Worker拥有极致的Serverless体验,因此使用Workers配置反代,仅做官方源的转发,给官方源加一层cdn。
本站使用Cloudflare Workers Free Plan,免费计划慷慨地给了每日10w个请求,可承受每日1000+正常用户使用,带宽至少10Tbps。
| | Requests | Duration | CPU time |
| -------- | --------------- | ---------------------- | ------------------------------------------ |
| **Free** | 100,000 per day | No charge for duration | 10 milliseconds of CPU time per invocation |
本地自助测速地址:https://speed.cloudflare.com/
## 系统镜像
配置文档可能存在描述有误的情况,请参考官方文档修改替换镜像源地址
| 系统 | 配置文档 | 下载地址 | 同步来源 |
| ------------ | --------------------------------------------- | ---------------------------------------------- | -------------------------------------------- |
| ubuntu | https://mirror.adysec.com/system/ubuntu | https://mirrors.adysec.com/system/ubuntu | http://archive.ubuntu.com/ubuntu |
| centos | https://mirror.adysec.com/system/centos | https://mirrors.adysec.com/system/centos | http://mirror.webhostingghana.com/centos |
| epel | https://mirror.adysec.com/system/epel | https://mirrors.adysec.com/system/epel | http://mirrors.kernel.org/fedora-epel |
| deepin | https://mirror.adysec.com/system/deepin | https://mirrors.adysec.com/system/deepin | https://community-packages.deepin.com/deepin |
| kali | https://mirror.adysec.com/system/kali | https://mirrors.adysec.com/system/kali | http://http.kali.org/kali |
| debian | https://mirror.adysec.com/system/debian | https://mirrors.adysec.com/system/debian | http://ftp.debian.org/debian |
| manjaro | https://mirror.adysec.com/system/manjaro | https://mirrors.adysec.com/system/manjaro | http://ftp.tsukuba.wide.ad.jp/manjaro |
| GNU | https://mirror.adysec.com/system/gnu | https://mirrors.adysec.com/system/gnu | https://lists.gnu.org/archive/html |
| openwrt | https://mirror.adysec.com/system/openwrt | https://mirrors.adysec.com/system/openwrt | https://archive.openwrt.org |
| kaos | https://mirror.adysec.com/system/KaOS | https://mirrors.adysec.com/system/KaOS | https://ca.kaosx.cf |
| arch4edu | https://mirror.adysec.com/system/arch4edu | https://mirrors.adysec.com/system/arch4edu | https://arch4edu.org |
| archlinux | https://mirror.adysec.com/system/archlinux | https://mirrors.adysec.com/system/archlinux | https://mirror.pkgbuild.com |
| bioarchlinux | https://mirror.adysec.com/system/bioarchlinux | https://mirrors.adysec.com/system/bioarchlinux | https://repo.bioarchlinux.org |
| archlinuxcn | https://mirror.adysec.com/system/archlinuxcn | https://mirrors.adysec.com/system/archlinuxcn | https://repo.archlinuxcn.org |
| archlinuxarm | https://mirror.adysec.com/system/archlinuxarm | https://mirrors.adysec.com/system/archlinuxarm | http://dk.mirror.archlinuxarm.org |
| fedora | https://mirror.adysec.com/system/fedora | https://mirrors.adysec.com/system/fedora | https://ap.edge.kernel.org/fedora |
| OpenBSD | https://mirror.adysec.com/system/openbsd | https://mirrors.adysec.com/system/OpenBSD | https://cdn.openbsd.org/pub/OpenBSD |
| opensuse | https://mirror.adysec.com/system/opensuse | https://mirrors.adysec.com/system/opensuse | http://download.opensuse.org |
| freebsd | https://mirror.adysec.com/system/freebsd | https://mirrors.adysec.com/system/freebsd | https://download.freebsd.org |
## 编程语言
配置文档可能存在描述有误的情况,请参考官方文档修改替换镜像源地址
| 语言 | 配置文档 | 下载地址 | 同步来源 |
| ---- | --------------------------------------- | ---------------------------------------- | ----------------------- |
| pypi | https://mirror.adysec.com/language/pypi | https://mirrors.adysec.com/language/pypi | https://pypi.org/simple |
| rust | https://mirror.adysec.com/language/rust | https://mirrors.adysec.com/language/rust | https://static.rust-lang.org |
| npm | https://mirror.adysec.com/language/npm | https://mirrors.adysec.com/language/npm | https://registry.npmjs.org |
## 容器
配置文档可能存在描述有误的情况,请参考官方文档修改替换镜像源地址
| 容器 | 配置文档 | 下载地址 | 同步来源 |
| ---------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------- |
| docker-ce | https://mirror.adysec.com/container/docker-ce | https://mirrors.adysec.com/container/docker-ce | https://download.docker.com/ |
| Docker Hub | https://mirror.adysec.com/container/docker-hub | https://docker.adysec.com | https://registry-1.docker.io |
| Quay | https://mirror.adysec.com/container/docker-hub | https://quay.adysec.com | https://quay.io |
| GCR | https://mirror.adysec.com/container/docker-hub | https://gcr.adysec.com | https://gcr.io |
| k8s GCR | https://mirror.adysec.com/container/docker-hub | https://k8s-gcr.adysec.com | https://k8s.gcr.io |
| k8s | https://mirror.adysec.com/container/docker-hub | https://k8s.adysec.com | https://registry.k8s.io |
| ghcr | https://mirror.adysec.com/container/docker-hub | https://ghcr.adysec.com | https://ghcr.io |
| Cloudsmith | https://mirror.adysec.com/container/docker-hub | https://cloudsmith.adysec.com
", Assign "at most 3 tags" to the expected json: {"id":"10515","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"