Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/overflowcat/pychirpagebot
https://github.com/overflowcat/pychirpagebot
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/overflowcat/pychirpagebot
- Owner: OverflowCat
- Created: 2020-07-21T03:10:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-16T19:18:59.000Z (11 months ago)
- Last Synced: 2023-12-17T09:56:14.137Z (11 months ago)
- Language: Python
- Size: 2.37 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chirpage Bot
## Instance
[`@pychirpagebot`](https://t.me/pychirpagebot)
## Development
Recommended Python virsion: `3.10`+
### Install dependencies
```py
poetry install
```### Add tokens
```dotenv
T1=Twitter OAuth token
T2=Twitter OAuth token
T3=Twitter access token
T4=Twitter access token
CHIRPAGE1=bot token 1
POETOKEN=see poe-api repo
OPENAI2=OpenAI SDK
CHIRPAGE_BOT_ADMIN_ID=405582582# Optional
CHIRPAGE2=bot token 2 # Run different bot instances using args 1, 2, 3...
CHSHDB=https://sheetdb.io/api/v1/[数据删除]
PYCMYSQLHOST=[example].com
PYCMYSQLUSER=
PYCMYSQLPWD=```
### Run
```py
poetry run python main.py 1
```