Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhelper-org/tgbot
zhelper tgbot
https://github.com/zhelper-org/tgbot
Last synced: 4 days ago
JSON representation
zhelper tgbot
- Host: GitHub
- URL: https://github.com/zhelper-org/tgbot
- Owner: zhelper-org
- Created: 2022-12-15T14:57:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-17T13:40:40.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T20:47:37.786Z (3 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 48
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - zhelper-org/tgbot - zhelper tgbot (Python)
README
# zhelper TG BOT
能够对接 zhelper 标准接口的 Telegram bot。
## 使用方式
1. 建立webhook的ssl证书,方式如下:
```shell
openssl genrsa -out webhook_pkey.pem 2048
openssl req -new -x509 -days 3650 -key webhook_pkey.pem -out webhook_cert.pem
```
**其中common name填写webhook域名或ip**2. `cp .env.example .env`填写环境变量参数
3. `pip3 install -r requirements.txt`安装所需的包
4. `python3 run.py`启动