Total Pageviews

Friday, 24 October 2025

基于go的导航网站生成器gena

 

gena

导航网站生成器 | English Document

Test Lint Go Report Card goproxy.cn

安装

一键生成(推荐

gena-template 自动生成并自动部署到 GitHub Pages

源码安装:

go1.16 required

go get -u github.com/x1ah/gena/cmd/gena
> gena --help
Usage of ./gena:
  -c string
    	Config file (default "config.yml")

可执行文件下载

Release page 下载对应平台文件

生成网站

参照 config.yml 填入自己的网站列表

gena -c your/path/to/config.yaml 1> index.html

可选的模板

效果预览

浏览器打开生成的 index.html

使用案例

from https://github.com/x1ah/gena 

No comments:

Post a Comment