This is an application designed to make it easier for one to construct their personal Telegram bot utilizing OpenAI's GPT API. This bot is written and runs with Typescript.
- Build your custom Telegram bot through the plugins
- Have each Telegram session's chat memory stored on your local disk
- Each Telegram session's configuration (GPT Model, System Role) saved on the local disk
Make sure you have the following environment variables (.env) set up:
TELEGRAM_BOT_TOKEN
: Your Telegram Bot TokenOPENAI_API_KEY
: Your OpenAI API Key
These environment variables are essential to authorize your bot to interact with Telegram API and OpenAI GPT.
npm run dev
If you wish to contribute to this project, kindly fork this repository, make your features or bug fixes, and issue a Pull Request.
Please feel free to submit issues if you encounter bugs or have feature ideas.