https://github.com/beardedandnotmuch/gpt-tg-bot
https://github.com/beardedandnotmuch/gpt-tg-bot
bot telegram telegram-bot telegram-bot-api webhook
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/beardedandnotmuch/gpt-tg-bot
- Owner: beardedandnotmuch
- Created: 2023-02-13T05:38:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-22T10:45:00.000Z (over 3 years ago)
- Last Synced: 2026-05-02T10:36:56.249Z (about 2 months ago)
- Topics: bot, telegram, telegram-bot, telegram-bot-api, webhook
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GPT telegram bot
GPT Telegram Bot is a bot written in Golang that corrects your English grammar.
## Installation
- Create your own Telegram bot using BotFather and copy the API key into the .env file.
- Take your GPT API key from your [GPT account](https://platform.openai.com/examples) and put it into the .env file as well.
- Install [ngrock](https://ngrok.com/)
- Register for your webhook using this link https://api.telegram.org/bot{YOUR_TELEGRAM_API_TOKEN}/setWebhook?url=https://{YOUR_WEBHOOK_DOMAIN}/api/v1/update
- run docker-compose
```bash
docker-compose -f ./docker-compose.yaml up -d
```
- Have fun!