Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
leafduo committed Mar 4, 2023
1 parent f0e0c5f commit 220a9d1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,28 @@ Run your own ChatGPT Telegram bot!

## Setup

1. Get your OpenAI API key:
1. Get your OpenAI API key

You can create an account on the OpenAI website and [generate your API key](https://platform.openai.com/account/api-keys).

2. Get your telegram bot token:
2. Get your telegram bot token

Create a bot from Telegram [@BotFather](https://t.me/BotFather) and obtain an access token.

3. Install using `go install`

If you have a Go environment, you can install it with the following command:

```bash
go install github.com/leafduo/chatgpt-telegram-bot@latest
```

4. Install using binary

You can get prebuilt binaries from Github Releases and put it in `$PATH`

5. Install using Docker-compose

Check out [docker-compose.yml](docker-compose.yml) for sample config

6. Set the environment variables and run
Expand Down

0 comments on commit 220a9d1

Please sign in to comment.