GeoTree,生成domain-list-community分类层级

25 年 7 月 20 日 星期日 (已编辑)
185 字
1 分钟

众所周知,domain-list-community 中维护了大量网站分类,仓库通过 include 引入了其他集合,但是仓库中所有的集合都是平铺的,找起来不是很方便 为了方便找到可用的分类,整了这个一个网站,展示了所有可用分类的层级关系。这些分类都可以用 geosite:<名称> 直接作为规则集使用,非常方便

项目地址:https://geotree.violet.vin/

Pasted image 20250719220354.png

下面简单写写具体实现

通过 data 生成多叉树结构

具体代码请参考 https://github.com/lnbiuc/geotree-generate/blob/main/main.go

Github Action 将生成的 HTML 上传到仓库

具体流程请参考 https://github.com/lnbiuc/geotree-generate/blob/main/.github/workflows/generate.yml

Cloudflare Pages 发布

通过 Pages 发布,因为只有一个单文件项目,发布很简单

Title: GeoTree,生成domain-list-community分类层级

Author: violet

Link: https://www.vio.vin/posts/geotree-sheng-cheng-domain-list-community-fen-lei-ceng-ji

Last updated: 2025 年 11 月 16 日 22:32


Commercial reuse requires permission from the site owner. For non-commercial reuse, keep the source and article link. Derivatives should stay under the same license.
This article is licensed under CC BY-NC-SA 4.0 .