Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Lhcfl/Q2TG-mini
短小简洁的qq->tg转发bot
https://github.com/Lhcfl/Q2TG-mini
Last synced: 14 days ago
JSON representation
短小简洁的qq->tg转发bot
- Host: GitHub
- URL: https://github.com/Lhcfl/Q2TG-mini
- Owner: Lhcfl
- Created: 2022-08-21T14:54:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-01T09:24:31.000Z (about 2 years ago)
- Last Synced: 2024-08-01T19:33:52.971Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Q2TG-small
----一个非常短小的Q2TG核心。
只支持qq -> tg图片、文字、戳一戳的单向转发。tg端的文字回复会被发送到qq。适宜用途:挂在自己的台式机上。
## 极简启动
```
node app.js
```## 极简配置
settings.yml
```yml
TG_token: 1123124234:XXXXXXXXXXYYYYYYYYSSSSSSSSZZZZZZZZZ
# tg bot tokenQQ_account: 1145141919
# bot qq号uin: your_bot_name_Bot
# tg的bot名password: qqpassword
# qq密码
QRCode: true# 密码登录还是扫码登陆
bot_owner: Lhc_fl
# 拥有者的tgidproxy: "http://127.0.0.1:10809"
# 用于TG,代理服务器地址
```rules.json
```json
{
"QQ": {
"qq群号": "tg对应的chat.id"
},
"user": {
"qq号": "对应的tg用户名",
"qq号2": "tg用户名2"
}
}
```## TG端命令:
/boton:接受qq端转发
/botoff:关闭转发注意,下载后建立rules.json和settings.json。格式见对应的example.json