diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0ad4aff --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2025 Zihlu Wang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 102e366..8089044 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,39 @@ -# Tauri + React + Typescript +# 骂人宝典 / 祖安语录桌面版 -This template should help get you started developing with Tauri, React and Typescript in Vite. +![MIT Licence](https://img.shields.io/github/license/zihluwang/zuanbot) -## Recommended IDE Setup +> 本仓库为 [cndiandian/zuanbot](https://github.com/cndiandian/zuanbot) 的客户端版本。 -- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) +## 有什么用 + +可以随机输出一条骂人的句子,有**口吐芬芳**与**火力全开**两个模式。 + +## 词库下载 +[阿里云盘](https://www.aliyundrive.com/s/StTs9ojDAEF)、[蓝揍云](https://shadiao.lanzouw.com/b0116bgub) `密码hck1` 、 [诚通网盘](https://url08.ctfile.com/d/14688008-46477369-3732e0) `密码9919` + +在线文档:[Notion文档](https://dians.notion.site/d865fac077f1430f9510d020f8713c8e)、[口吐芬芳(谷歌文档)](https://docs.google.com/document/d/1SskgYtDpYL6P_4qmX2A1ndBl8MY5NeDcBaYPxS-yxIo/edit?usp=sharing) 、[火力全开(谷歌文档)](https://docs.google.com/document/d/14YG9qaNDZk275av-Iss6B6YY-eDTdkS5w_my3f7349A/edit?usp=sharing) + +## 如何使用 + +下载对应操作系统的安装包,执行安装即可。 + +> 由于作者目前 Rust 水平有限,无法去除打包后的 `en_US` Locale 后缀,但实际语言仍然为中文。 + +## 什么原理 + +收集整理了N条骂人的句子,然后随机读取一条输出即可。 + +核心代码就一行: +```sql +SELECT * FROM `main` ORDER BY RANDOM() limit 1 +``` + +## 词库都是怎么来的 +最初来源于网络收集了一些,后来基本就都是各位用户的投稿了,投稿渠道现已关闭。 + +## 写在最后 +还有其他好玩的生成器,比如彩虹屁生成器、毒鸡汤、朋友圈文案等等,请访问 https://shadiao.app 体验。 + +同时也欢迎交流,可以扫码加微信,请备注 `github`,同时有**粉丝群**与**开发者群**,有兴趣可以私聊告知,会尽快拉你。 + +![](http://qiniu.xshwy.cn/ddd.jpg) \ No newline at end of file