Personal Telegram bot with a wide range of capabilities:
- Access to most OpenAi models, such as GPT, DALL-E, Whisper, TTS
- Access to Anthropic GPT models: Claude 3 / 3.5
- Access to replicate models, such as Stable diffusion, Kandinsky, Blip, Llama, and others
- Ability to download videos from various video hosting platforms
- Ability to schedule the execution of programs in a meta-language either by schedule or manually
- Clone the repository onto the server
- Copy the config.json.example file to config.json
- Register a Telegram bot
- Send the command /newbot to the @BotFather bot
- Enter the bot's name
- Save the received token in config.json -> TELEGRAM_TOKEN
- Add the usernames of users who will have access to the bot to config.json -> ALLOWED_USER_NAMES
- Get the key from OpenAi:
- Register at https://platform.openai.com/signup
- Create a key at https://platform.openai.com/api-keys
- Save the received key in config.json -> OPENAI_API_KEY
-
Get the key from replicate:
- Register at https://replicate.com/signin
- Create a key at https://replicate.com/account/api-tokens
- Save the received key in config.json -> REPLICATE_API_KEY
-
Install dependencies, and start the bot by running the command:
run.sh