Skip to content
forked from xeust/telemage

Minimal Telegram Bot for Deta Space

License

Notifications You must be signed in to change notification settings

vargonis/telegpt

 
 

Repository files navigation

Your personal Telegram bot that uses ChatGPT on Deta Space. Trivial modification of https://github.com/xeust/telemage. Send a prompt via Telegram, and TeleGPT will use OpenAI's Chat Completion to generate a response.

Setup

  1. Install the TeleGPT app on Deta Space.
  2. In Telegram, open search, search for Botfather and add it as a contact. Talk to BotFather and create a Telegram bot (using the /newbot command). BotFather will ask for a bot name and username, then it will give you a bot key.
  3. Paste the bot key from BotFather into the TELEGRAM configuration variable on Space (to get to Configuration, click the ..., then 'Settings' then 'Configuration' from the App's Tile on your Canvas).
  4. Get an API key from Open AI. Input the Open AI API key into the OPEN_AI configuration variable on Space.
  5. Open the TeleGPT App from your Canvas to setup the Webhook integration with Telegram.

You are now ready to use your Bot.

Use

Add your bot (via the Bot's username from step 1) as a contact in Telegram. Start messaging it to interact with it.

Visit https://github.com/vargonis/telegpt for the source.

About

Minimal Telegram Bot for Deta Space

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 33.7%
  • JavaScript 31.7%
  • HTML 22.0%
  • CSS 12.6%