Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)