基于原Wordle网页版的云崽Bot改版,参考的 https://wordle.org
由于当时是真的闲得慌,所以就用AI写了这个插件,第一次写大插件如有不足之处还请多多包涵哈
如果插件使用有问题请反馈!渲染使用云崽自带的 Puppeteer(Chromium),遇到渲染问题请看常见问题
这个仓库我也不知道为什么搬到 Gitee 会被封库,有知道的可以提 issue
git clone --depth=1 https://github.com/Pimeng/wordle-plugin.git ./plugins/wordle-plugingit clone --depth=1 https://gh-proxy.com/https://github.com/Pimeng/wordle-plugin.git ./plugins/wordle-plugingit clone --depth=1 https://gitcode.com/Mirror-Yunzai/wordle-plugin.git ./plugins/wordle-plugin本插件使用云崽自带的 Puppeteer(Chromium)截图渲染,不再依赖 canvas:
cd plugins/wordle-plugin
pnpm i若云崽未安装 Chromium,可在云崽根目录执行:
node node_modules/puppeteer/install.jsLinux 下如缺少 Chromium 运行库(如 libnss3、libatk-bridge2.0-0、libx11-xcb1、libxcomposite1、libxdamage1、libxrandr2、libgbm1、libasound2 等),请按发行版自行安装。
如果渲染报错,请先确认云崽的 Chromium/Puppeteer 可用,可在云崽根目录执行安装命令:
node node_modules/puppeteer/install.js- 日志出现
Could not find Chromium:Chromium 未安装或安装不完整 - 日志出现
cannot open shared object file:缺少系统运行库,请补装对应的 Chromium 依赖 - 浏览器连接异常时可尝试删除
data/puppeteer后重启云崽
#wordle # 开始常规游戏
#wordle 7 # 开始7字母游戏
#apple # 使用前缀猜测
!apple # 通过前缀猜词
#wordle 答案 # 结束游戏
#wordle 帮助 # 查看帮助图片(样式由配置决定)
#wordle 词典 # 循环切换词典
#wordle 词典 列表 # 查看当前词库与全部可用词库
#wordle 词典 4 # 按序号切换词库
#wordle 词典 四级 # 按名称切换词库
#wordle 词典 全部 # 使用全部词库(随机范围最大)
#wordle 排行榜 # 查看群排行榜(可选:胜场/参与/胜率)
#wordle 总排行榜 # 查看全局排行榜(可选:胜场/参与/胜率)
#释义 access # 查询单词释义
首次运行会自动生成 config/config.yaml(默认值见 config/default.yaml),修改后热重载、无需重启:
render:
# 帮助图样式:
# white = 白底立绘(内置 https://t.alcy.cc/bd)
# blur = 竖图模糊羽化(内置 https://t.alcy.cc/moemp)
preset: blur
# 自定义背景图地址;留空时使用预置的内置地址
background: ""
# 背景模糊度(px),仅模糊相关版式生效
backgroundBlur: 16
# 背景图缓存时间(秒),避免频繁请求随机图接口;为 0 表示不缓存
backgroundCache: 60
# 版式模式;留空时跟随预置,也可填写 white / photo / portrait
backgroundMode: ""帮助图使用云崽根目录
resources/font下的 Google Sans / MiSans 字体;blur样式需要联网获取背景图,获取失败时会自动回退为纯白底。
全部词库、小学、中考、高考、四级、六级、考研、专四、专八、BEC(商务英语)、托福、雅思、GRE、GMAT、SAT
词库数据整理自 kajweb/dict,可用
#wordle 词典 列表查看各词库单词数。
- 云露露 官方群
- 依涵
具体更新日志请查看 Commits
欢迎提交Issue和Pull Request来改进这个插件!
本项目基于GPL-3.0许可证开源,您可以在遵守许可证条款的前提下自由使用、修改和分发本项目的代码。
https://github.com/Pimeng#%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F
本插件大量代码均由 Kimi-K2 & Gemini 3 Pro & GPT-5 & Claude 4.5 编写

