Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Klingefjord/chatgpt-telegram
A telegram bot for ChatGPT
https://github.com/Klingefjord/chatgpt-telegram
Last synced: 14 days ago
JSON representation
A telegram bot for ChatGPT
- Host: GitHub
- URL: https://github.com/Klingefjord/chatgpt-telegram
- Owner: Klingefjord
- License: mit
- Created: 2022-12-04T20:51:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T12:45:40.000Z (over 1 year ago)
- Last Synced: 2024-07-31T08:18:02.602Z (3 months ago)
- Language: Python
- Size: 57.6 KB
- Stars: 160
- Watchers: 5
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT Telegram Bot
A telegram bot that uses a headless chrome wrapper to communicate with ChatGPT.
see: https://github.com/Klingefjord/ChatGPT-API-Python
## How to Install
### Step 1: Create .venv
`python -m venv ./venv`
`source ./venv/bin/activate`### Step 2: Set up your Telegram bot
1. Set up your Telegram bot token and user ID in the `.env` file. See [these instructions](https://core.telegram.org/bots/tutorial#obtain-your-bot-token) for more information on how to do this.
2. Edit the `.env.example` file, rename it to `.env`, and place your values in the appropriate fields.## To run:
`python main.py`
## Credits
- Based on [@Altryne](https://twitter.com/altryne/status/1598902799625961472) on Twitter (https://github.com/altryne/chatGPT-telegram-bot)