https://github.com/std-microblock/marsbot
Telegram 频道查重 Bot
https://github.com/std-microblock/marsbot
Last synced: 7 months 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 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-13T11:28:06.000Z (about 2 years ago)
- Last Synced: 2025-03-23T00:31:54.703Z (10 months ago)
- Language: TypeScript
- Homepage:
- Size: 148 KB
- Stars: 20
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# MarsBot
## Telegram 频道查重 Bot
For [心惊报 Bot](https://github.com/chr233/XinjingdailyBot/)
#### 纯 phash

#### 视频抽帧 phash

#### OCR + AI 字符串表意匹配

#### OpenCV 特征提取匹配

### 倡导和平有爱共处,反对建政开盒互怼
### 安装
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