Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/std-microblock/marsbot
Telegram 频道查重 Bot
https://github.com/std-microblock/marsbot
Last synced: 7 days ago
JSON representation
Telegram 频道查重 Bot
- Host: GitHub
- URL: https://github.com/std-microblock/marsbot
- Owner: std-microblock
- Created: 2023-06-08T08:57:12.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-13T11:28:06.000Z (10 months ago)
- Last Synced: 2024-09-22T18:02:41.709Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 148 KB
- Stars: 19
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# MarsBot
## Telegram 频道查重 BotFor [心惊报 Bot](https://github.com/chr233/XinjingdailyBot/)
#### 纯 phash
![image](https://github.com/MicroCBer/MarsBot/assets/66859419/dc0e6fbb-7706-4e8b-b90f-0a078501eb26)
#### 视频抽帧 phash
![image](https://github.com/MicroCBer/MarsBot/assets/66859419/b07f1859-81ab-4ff0-8e5f-b577ca4474f8)
#### OCR + AI 字符串表意匹配
![image](https://github.com/MicroCBer/MarsBot/assets/66859419/9424e3c8-c3d2-485b-9811-c9e947503a3c)
#### OpenCV 特征提取匹配
![image](https://github.com/MicroCBer/MarsBot/assets/66859419/3793c6d0-290b-40a9-a827-bd0793019f68)
### 倡导和平有爱共处,反对建政开盒互怼
### 安装
1. Clone 仓库
2. 安装 Node.js
3. 安装 Yarn:`npm i -g yarn`
4. 安装库文件(在项目文件夹内):`yarn`AI/OpenCV:
1. cd ./ai
2. pip install -r requirements.txt视频抽帧:
1. 安装 FFmpeg 并放入 Path 中
### 配置
1. 登录 SelfBot:打开命令行,输入 `yarn start`,按提示登录### 运行(保活)
打开命令行,输入 `yarn run keep`
AI/OpenCV:
1. cd ./ai
2. python api.py