Skip to content

antonyho/go-openai-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-openai-telegram-bot

A Telegram bot with integration with OpenAI

Purpose

This project is supposed to provide you a Telegram bot

Project Initialisation

I initialise the project with these commands, but you don't need to.

go mod init
go get -u github.com/sashabaranov/go-openai
go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5
go get -u github.com/spf13/cobra@latest
go get -u github.com/stretchr/testify

If you clone this project and to build it, you only have to perform:

go mod verify
go mod tidy

It will pull the dependencies which are used in this project.

Building the Bot

go build -o tg-gpt-bot

Starting the Bot

TODO

  • Webhook with TLS support

About

A Telegram bot with integration with OpenAI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages