# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: TG-Gemini-Bot
spec:
    description: A telegram bot for using Gemini in telegram.
    variables:
        - key: GEMINI_KEY
          type: STRING
          name: What is your Gemini Pro key?
          description: You can get the key in https://makersuite.google.com/
        - key: BOT_TOKEN
          type: STRING
          name: What is your bot token?
          description: You can create a bot and get the token from BotFather.
    tags:
        - Bot
    readme: |-
        # TG-Gemini-Bot

        A telegram bot for using Gemini in telegram.

        ## Prerequisites
        Get Gemini API keys from Google AI Studio
        Create a telegram bot at BotFather
    services:
        - name: tg-gemini-bot
          template: GIT
          spec:
            source:
                source: GITHUB
                repo: 735832453
                branch: main
            env:
                GOOGLE_GEMINI_KEY:
                    default: ${GEMINI_KEY}
                TELEGRAM_BOT_TOKEN:
                    default: ${BOT_TOKEN}
