Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenxuuu/chouxianghua
🤡🐘🌸抽象话生成器网页/tg版,一键生成抽象话
https://github.com/chenxuuu/chouxianghua
Last synced: 11 days ago
JSON representation
🤡🐘🌸抽象话生成器网页/tg版,一键生成抽象话
- Host: GitHub
- URL: https://github.com/chenxuuu/chouxianghua
- Owner: chenxuuu
- License: gpl-3.0
- Created: 2019-11-16T11:22:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-19T02:15:38.000Z (4 months ago)
- Last Synced: 2024-10-11T14:08:59.362Z (about 1 month ago)
- Language: Lua
- Homepage: https://cxh.papapoi.com/
- Size: 775 KB
- Stars: 300
- Watchers: 3
- Forks: 27
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chouxianghua
[https://cxh.papapoi.com/](https://cxh.papapoi.com/)
抽象话生成器,一键生成抽象话,附带telegram机器人生成抽象话功能
telegram内,@chouxiangbot即可说抽象话
## 网页版
网页版使用纯js实现功能。
## 搭建telegram机器人功能
接口运行环境为openresty,lua脚本在`lua`文件夹中
更改`run.lua`第一行文件位置为你文件夹的路径
按`run.lua`里的注释,更改相应的key和配置
在`openresty`配置里加上你lua文件的指向配置(需要自己改路径):
```nginx
#抽象话
location /chouxiang {
default_type 'text/plain';
content_by_lua_file /www/wwwroot/qq.papapoi.com/chouxiang/run.lua;
}
```在将你的机器人webhook接口改为你配置的接口网址
## 词库
欢迎完善