Skip to content

Your self-hosted telegram bot for chatting with ChatGPT

License

Notifications You must be signed in to change notification settings

clemsau/telegram-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-gpt

Implementation of a telegram bot to use with the different openai APIs

Deployment

You have multiple options to deploy your bot:

  • Run the application on your own server
  • Run the application on a PaaS

Running the application on a PaaS

Using Render (free)

  1. Login to Render and create a new Web Service using this repository
  2. Use the following options:
    • branch: main
    • runtime: Python 3
    • build command: pip install -r requirements.txt
    • start command: python src/bot.py
  3. Click on the Advanced Option to add the following environment variables:
    • TELEGRAM_TOKEN
    • OPENAI_API_KEY
    • ALLOWED_USERS
    • PYTHON_VERSION use 3.10.10

About

Your self-hosted telegram bot for chatting with ChatGPT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published