Activity, over time
Daily GitHub activity and social mentions.
Mentions
Daily posts linking to this repository
Attention
Daily stars & forks
Star accumulation
Cumulative stars
Pull requests
Daily opens & merges
Conversations
Daily issues & comments
Community
Daily accounts & reviews
Trending history
Daily top 10 · last 90 days · UTC
Mentions
Stars
Forks
Contributors
Latest stargazers
The last 10 distinct accounts we observed this year.
Most active participants
PR, issue, comment & review events in the past year.
Packages
| Package | Version | Downloads · 30d | Trend · 30d |
|---|---|---|---|
| — | — | — |
Live mentions badge
Show how many posts mention your project in the last 30 days.
Live mentions · last 30 days
Mentions
写诗的应用不用自己爬数据了。 40万首古诗词被做成了现成API,唐诗宋词元曲诗经楚辞全覆盖,清洗建库那步直接跳过。 用法就一条:起服务后调接口拿诗。 我唯一嘀咕的是诗词鉴赏那块还得自己补。仓库:xxx/chinese-poetry-api 仓库:palemoky/chinese-poetry-api t.co
#文化传承 #中国古诗词 相当不错的开源项目,搜索诗词非常舒服,推荐一下! poetry.db的标签略乱,导致统计有误,不过瑕不掩瑜; 本小白借助AI编译server.exe实现本地脱机版备忘(不需要 Git,也不需要 Docker): 项目仓库: palemoky/chinese-poetry-api 0⃣相关准备: 1.下整个项目: github.com/palemoky/chinese-poetry-api/archive/re… 解压包里的chinese-poetry-api-main整个目录到C盘 2.下载 poetry.db.gz,解压得到 poetry.db: github.com/palemoky/chinese-poetry-api/releases 3.下载Go并安装(go1.27.2.windows-amd64.msi): go.dev 4.下载C 编译器mingw64: github.com/brechtsanders/winlibs_mingw/releases/d… 解压mingw64整个目录到C盘 1⃣编译server.exe: 运行Powershell,执行以下命令: cd C:\chinese-poetry-api-main $env:Path = "C:\mingw64\bin;" + $env:Path $env:CGO_ENABLED = "1" $env:GOPROXY = "goproxy.cn,direct" $env:GOSUMDB = "sum.golang.google.cn" New-Item -ItemType Directory -Force build, data | Out-Null go build -tags sqlite_fts5 -o build\server.exe .\cmd\server * goproxy.cn 不通时改成 goproxy.io,direct.xn--8tty9ao84i -tags sqlite_fts5,否则没有全文搜索。编译成功后得到 build\server.exe。 *窗口保持不关闭; 2⃣验证有效性: 1.复制poetry.db到C:\chinese-poetry-api-main\data 2.刚才的窗口执行命令: .\build\server.exe 另开一个CMD窗口,执行: curl "localhost" *返回相关信息即表明API有效正常 3⃣实际应用(项目并无网页浏览页面) 1.API的调用,需要加载server.exe的窗口一直开着。关掉就是停服务。为了使用方便,可用以下命令创建一个批处理: cd C:\chinese-poetry-api-main .\build\server.exe 2.让AI参照项目在线版仿制了一个同风格页面,简单实现搜索、简繁切换、字体更换、字体大小; 此index.html放置于C:\chinese-poetry-api-main\web,默认加载logo为C:\chinese-poetry-api-main\docs\seal-negative.png 已共享,感兴趣的请自取: drive.google.com