diff --git a/.gitignore b/.gitignore index 5a0ebad..f46c260 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ test.* *.log .vscode/ temp/ -*.css.map \ No newline at end of file +*.css.map +.idea/ \ No newline at end of file diff --git a/README.md b/README.md index 7951afa..5c376db 100644 --- a/README.md +++ b/README.md @@ -1,312 +1,31 @@ -> 如果您觉得我们的项目有帮助,请给我们一个星星(Starred)!您的支持对我们非常重要,将激励我们不断改进和提供更好的内容。谢谢!🙏 +# Yenai-Plugin-safefork -看板娘 +本仓库是[yenai-plugin](https://github.com/yeyang52/yenai-plugin)的一个fork,遵循GPLv3协议。 -
+本仓库移除了源仓库中一些开发者为了保留最终控制权而加入的后门代码(将4位成员的QQ视为机器人主人); +**但是:** 本仓库不保证已经移除了所有后门代码,建议使用者仍需自行审查代码。 -# Yenai-Plugin +注意:使用者应当遵守与源仓库相同使用要求,包括不得用于非法用途、不得在国内平台上宣传本项目等。 -🐑 **_Yenai-Plugin是一个Yunzai-Bot的扩展插件,提供对Bot的一些便捷操作。_** +## 使用方法 -

+使用方法与源仓库相同,仅需: +**Github:** +将`https://github.com/yeyang52/yenai-plugin` 替换为 `https://github.com/shing-yu/yenai-plugin` -[![deploy_docs](https://github.com/yeyang52/yenai-plugin/actions/workflows/deploy-docs.yml/badge.svg)](https://github.com/yeyang52/yenai-plugin/actions/workflows/deploy-docs.yml) -[![Vercel](https://therealsujitk-vercel-badge.vercel.app/?app=yenai-plugin-eta)](https://vercel.com/yeyang52/yenai-plugin) -[![Netlify Status](https://api.netlify.com/api/v1/badges/fbae5073-1b4c-4c62-a818-6cc8e100d336/deploy-status)](https://app.netlify.com/sites/yenai-plugin/deploys) +**Gitee:** +将`https://gitee.com/yeyang52/yenai-plugin` 替换为 `https://gitee.com/xingyv1024/yenai-plugin` -![Nodejs](https://img.shields.io/badge/-Node.js-3C873A?style=flat&logo=Node.js&logoColor=white) -![JavaScript](https://img.shields.io/badge/-JavaScript-eed718?style=flat&logo=javascript&logoColor=ffffff) -[![license](https://img.shields.io/github/license/yeyang52/yenai-plugin.svg?style=flat&logo=gnu)](https://github.com/yeyang52/yenai-plugin/blob/master/LICENSE) -[![Gitmoji](https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square)](https://gitmoji.dev) -[![YunzaiBot](https://img.shields.io/badge/Yunzai-V3.0.0-black?style=flat&logo=dependabot)](https://gitee.com/Le-niao/Yunzai-Bot) +**星隅的私有Git服务器(IPv6 only):** +将`https://github.com/yeyang52/yenai-plugin` 替换为 `https://git.shingyu.cn:60/shingyu/yenai-plugin` -![GitHub last commit](https://img.shields.io/github/last-commit/yeyang52/yenai-plugin) -![GitHub commit activity](https://img.shields.io/github/commit-activity/m/yeyang52/yenai-plugin) -![Lines of code](https://img.shields.io/tokei/lines/github/yeyang52/yenai-plugin) +## 说明 -[![Gitee star](https://gitee.com/yeyang52/yenai-plugin/badge/star.svg?theme=dark)](https://gitee.com/yeyang52/yenai-plugin/stargazers) -[![Gitee fork](https://gitee.com/yeyang52/yenai-plugin/badge/fork.svg?theme=dark)](https://gitee.com/yeyang52/yenai-plugin/members) -[![GitHub stars](https://img.shields.io/github/stars/yeyang52/yenai-plugin)](https://github.com/yeyang52/yenai-plugin/stargazers) -[![GitHub forks](https://img.shields.io/github/forks/yeyang52/yenai-plugin)](https://github.com/yeyang52/yenai-plugin/network) -[![GitHub issues](https://img.shields.io/github/issues/yeyang52/yenai-plugin)](https://github.com/yeyang52/yenai-plugin/issues) -
+我们理解源仓库开发者为了防止插件被滥用而加入了使自己能够控制插件的代码,但是我们认为这种做法是不负责任的。 +或者至少应该在插件的说明文档中明确提醒这一点,而不是在代码中通过各种方式隐藏这一事实。 +我们认为,如果代码中存在任何一个后门代码,那么将导致用户丧失对整个项目乃至其作者的信任,甚至可能导致用户对整个开源社区的产生质疑;我们认为这种做法得不偿失。 +我们承诺,如果源仓库开发者采取 移除后门/明确告知用户后门的存在以及遵守使用条件的约定 ,我们将立即存档本仓库。 -
- -[![Star Trend](https://api.star-history.com/svg?repos=yeyang52/yenai-plugin&type=Timeline)](https://seladb.github.io/StarTrack-js/#/preload?r=yeyang52,yenai-plugin) - -
- ---- - -## 安装教程 💡 - -请将Yenai-Plugin放置在Yunzai-Bot的plugins目录下,重启Yunzai-Bot后即可使用。 - -1. 推荐使用git进行安装,以方便后续升级。在Yunzai目录打开终端,运行 - -- 使用github -```sh -git clone -b master --depth=1 https://github.com/yeyang52/yenai-plugin.git ./plugins/yenai-plugin -``` -- 使用gitee -```sh -git clone -b master --depth=1 https://gitee.com/yeyang52/yenai-plugin.git ./plugins/yenai-plugin -``` - -2. 安装依赖(可选:不安装依赖将无法使用一些功能) - -```sh -pnpm install -``` - -## 功能介绍 📖 - -> Yenai-Plugin为您提供以下功能 -> -> Tip:以下只是简单描述功能具体指令请使用 **#椰奶帮助 #椰奶群管帮助 #椰奶设置**查看 - -
- 事件通知 - -- [x] 撤回监听 - -- [x] 好友申请 - -- [x] 群邀请 - -- [x] 好友|群 列表变动 - -- [x] 好友|群 消息 - -- [x] Bot被禁言 - -Tip:具体可使用 **#椰奶设置** 查看 -
- -
- 助手功能 - -- [x] 发送 群聊|好友 消息 - -- [x] 改头像 | 改昵称 | 改状态 | 改昵称 | 改签名 | 改性别 - -- [x] 删好友 | 退群 - -- [x] 获取 好友|群 列表 - -- [x] 增 删 查 说说 - -- [x] 开启/关闭戳一戳 - -- [x] 增 删 黑/白名单 - - -
-
- 事件处理 - -- [x] 同意|拒绝 好友申请 - -- [x] 同意|拒绝 群邀请 - -- [x] 回复好友消息 - -- [x] 查看现有好友申请/群邀请 - -- [x] 同意/拒绝全部好友申请/群邀请 - -- [x] 查看全部请求 - -- [ ] 查看/回添 单向好友 - - -
-
- 娱乐功能 - -- [x] 随机唱鸭 - -- [x] 赞我(支持陌生人点赞) - -- [x] coser - -- [x] 支付宝到账语音 - -
-
- Pixiv功能 - -- [x] Pixiv排行榜 - -- [x] Tag搜图 - -- [x] Pid搜图 - -- [x] Uid搜图 - -- [x] 查看热门Tag - -- [x] 查看相关作品 - -Tip:详情请参考[此教程](https://docs.qq.com/doc/p/108e5d788607d988ac62e1512552c8bd2d870321) - -
- -
- 群管功能 - -- [x] (全体)?禁言|解禁 - -- [x] 允许|禁止 匿名 - -- [x] 踢@群员 - -- [x] 设置|取消 管理 - -- [x] 增 删 查 公告 - -- [x] 我要自闭 - -- [x] 申请头衔 - -- [x] 修改头衔 - -- [x] 头衔屏蔽词 - -- [x] 查看/清理多久没发言的人 - -- [x] 查看/清理从未发言的人 - -- [x] 查看最近入群情况 - -- [x] 获取禁言列表 - -- [x] 解除全部禁言 - -- [x] 加群申请处理 - -- [x] 白名单 - -- [ ] 黑名单 - -- [x] 哪个叼毛是龙王 - -Tip:具体可使用 **#椰奶群管帮助** 查看 -
- -
- 搜图搜番 - -- [x] [saucenao](https://saucenao.com) -- [x] [whatanime](https://trace.moe) -- [x] [ascii2d](https://ascii2d.net) - -
- -
- 哔咔功能 - -- [x] 哔咔搜索 -- [x] 哔咔看本子 - -
- - -
- 图片状态 - - 状态 - - 状态Pro - -状态 - -
-
- -更多信息请移步[文档](https://yenai.trss.me) - -## 特别鸣谢 ❤️ - -- [Yunzai-Bot](https://gitee.com/Le-niao/Yunzai-Bot) -- [cq-picsearcher-bot](https://github.com/Tsuk1ko/cq-picsearcher-bot) -- [nonebot-plugin-picstatus](https://github.com/lgc2333/nonebot-plugin-picstatus) -- [HibiAPI](https://github.com/mixmoe/HibiAPI) -- [SauceNAO](https://saucenao.com/) -- [Ascii2D](https://ascii2d.net/) -- [trace.moe](https://trace.moe) ([GitHub](https://github.com/soruly/trace.moe)) -- [vilipix](https://www.vilipix.com/) -- [trss.me](https://trss.me) - -### 贡献者 ✨ - - -[![All Contributors](https://img.shields.io/badge/all_contributors-15-orange.svg?style=flat-square)](#contributors-) - -感谢这些了不起的人 ([emoji key](https://allcontributors.org/docs/en/emoji-key)): - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
时雨◎星空
时雨◎星空

💻
花海里的秋刀鱼
花海里的秋刀鱼

💻
Georgebillion
Georgebillion

🤔
小飞
小飞

🤔
liuzj288
liuzj288

💻
OKKOM2020
OKKOM2020

📖
大可鸭
大可鸭

💻
曉k
曉k

💻
ikechan8370
ikechan8370

💻
fsqhn
fsqhn

💻
Lain.
Lain.

💻
等风来
等风来

💻
Sora
Sora

💻
batvbs
batvbs

💻
ifeif
ifeif

💻
- - - - - - -本段遵循 [all-contributors](https://github.com/all-contributors/all-contributors) 规范,欢迎任何形式的贡献! - -## 如何贡献 🤔 - -请查看我们的[贡献指南](CONTRIBUTING.md),了解如何开始贡献 - -## 友情链接 😊 - -- [Yunzai-Bot插件索引](https://gitee.com/Hikari666/Yunzai-Bot-plugins-index) -- [码云镜像库](https://gitee.com/yeyang52/yenai-plugin) -- [Miao-Yunzai](https://gitee.com/yoimiya-kokomi/Miao-Yunzai) -- [TRSS-Yunzai](https://gitee.com/TimeRainStarSky/Yunzai) - -## 免责声明 ❗ - -1. 功能仅限内部交流与小范围使用,请勿将Yunzai-Bot及Yenai-Plugin用于任何以盈利为目的的场景. -2. 图片与其他素材均来自于网络,仅供交流学习使用,如有侵权请联系,会立即删除. - -## 联系方式 - -🐧:746659424 - -💬:914247840 - -❤️:[打赏](https://yenai.trss.me/donate.html) - - -![Alt](https://repobeats.axiom.co/api/embed/42b5a7769074be124bd9ab02456897e37d1581f1.svg "Repobeats analytics image") -[![椰羊/Yenai-Plugin](https://gitee.com/yeyang52/yenai-plugin/widgets/widget_card.svg?colors=4183c4,ffffff,ffffff,e3e9ed,666666,9b9b9b)](https://gitee.com/yeyang52/yenai-plugin) \ No newline at end of file +源仓库后门隐藏方式: +在.github/ISSUE_TEMPLATE/中,存在一个没有文件名的序列化文件,其中包含了源开发者的QQ号MD5值;在代码中对其进行了反序列化并用于判断。