# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Telegram Groq
spec:
    description: Chat with Groq in Telegram
    variables:
        - key: BOT_TOKEN
          type: STRING
          name: What is your bot token?
          description: You need a bot token for the telegram bot.
        - key: API_KEY
          type: STRING
          name: What is your Groq api key?
          description: You need an api key to use Groq.
    tags:
        - Bot
    readme: |-
        ## Description

        Telegram-Groq is a telegram bot for chatting with Groq within Telegram.

        ## Prerequisites

        - Get a Groq API key in [their developer panel](https://console.groq.com/keys).
        - Create a bot with BotFather.

        ## How to use

        After the deployment, just go find your bot and start chatting with the bot.

        ## Contribute

        This template is based on [a public repo on GitHub](https://github.com/MichaelYuhe/telegram-groq), feel free to open issues or pull requests.
    services:
        - name: Groq
          template: GIT
          spec:
            source:
                source: GITHUB
                repo: 766833750
                branch: main
            env:
                GROQ_API_KEY:
                    default: ${API_KEY}
                TELEGRAM_BOT_TOKEN:
                    default: ${BOT_TOKEN}
