title | tagline | theme_color | git |
---|---|---|---|
TeleGPT |
A Telegram Interface to GPT |
#800080 |
Your personal Telegram bot that uses OpenAI's Chat Completion on Deta Space. Built by straightforwardly modifying https://github.com/xeust/telespace.
- Install the TeleGPT app on Deta Space.
- 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. - 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). - Get an API key from Open AI. Input the Open AI API key into the
OPEN_AI
configuration variable on Space. - Visit the "/" route of the Space app (click the App from your Canvas) to setup the Webhook integration with Telegram.
You are now ready to use your Bot.
Add your bot (via the Bot's username from step 1) as a contact in Telegram. Start messaging it to interact with it. Note that chat history is not submitted to the OpenAI API. Thus, each message is answered to in an independent (non-contextual) manner.
Visit https://github.com/vargonis/telegpt for the source.