Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DailyFortuneCpp

GsCore 今日运势插件。运势生成逻辑由 C++ 实现,Python 负责 GsCore 命令入口和 PIL 卡片渲染。

功能

  • 今日运势今日运气:生成当天固定、次日刷新的个人运势
  • C++ 原生核心生成分数、签文、宜忌和幸运信息
  • 使用 GsCore 内置中文字体和 PIL 渲染卡片
  • 不需要 Playwright 或浏览器

环境要求

  • GsCore
  • Linux C++ 编译器:g++c++

插件首次随 GsCore 启动时,会把 DailyFortuneCpp/native/fortune.cpp 编译到 GsCore 数据目录下的 DailyFortuneCpp/bin/fortune_core。仓库不分发平台相关二进制文件。

安装

将仓库目录放入 gsuid_core/plugins/DailyFortuneCpp,然后按正常方式加载插件。

测试

python -m unittest discover -s tests -v

About

GsCore daily fortune plugin with a C++ core and PIL card renderer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages