# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: SerpBear
spec:
    description: |
        SerpBear is an open-source search engine position tracking app. Monitor your website keyword rankings on Google, get notifications on position changes, and research keywords — all self-hosted with SQLite.
    coverImage: https://serpbear.b-cdn.net/serpbear_readme_v2.gif
    icon: https://avatars.githubusercontent.com/u/1926614?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access SerpBear
        - key: USER_NAME
          type: STRING
          name: Username
          description: The admin username for SerpBear
        - key: USER_PASSWORD
          type: PASSWORD
          name: Password
          description: The admin password for SerpBear
        - key: SECRET_KEY
          type: PASSWORD
          name: Secret Key
          description: Secret key for session encryption
        - key: APIKEY
          type: PASSWORD
          name: API Key
          description: API key for external integrations
    tags:
        - Analytics
        - Tool
    readme: |
        # SerpBear

        An open-source search engine position tracking and keyword research app. Monitor your Google keyword rankings and get notified of position changes.

        ## First-Time Setup

        1. **Visit your domain** — log in with the username and password you set during deployment
        2. **Add a domain** — enter the website you want to track
        3. **Add keywords** — specify the search terms you want to monitor
        4. **View rankings** — SerpBear will start tracking positions automatically

        ## Key Features

        - Google keyword position tracking
        - Position change notifications (email, Slack)
        - Keyword research and discovery
        - Search volume data
        - Mobile and desktop ranking tracking
        - Export data as CSV
        - Google Search Console integration (optional)
        - REST API for automation

        ## License

        MIT — [GitHub](https://github.com/towfiqi/serpbear)
    services:
        - name: serpbear
          icon: https://avatars.githubusercontent.com/u/1926614?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: towfiqi/serpbear:3.1.0
            ports:
                - id: web
                  port: 3000
                  type: HTTP
            volumes:
                - id: data
                  dir: /app/data
            env:
                APIKEY:
                    default: ${APIKEY}
                NEXT_PUBLIC_APP_URL:
                    default: ${ZEABUR_WEB_URL}
                PASSWORD:
                    default: ${USER_PASSWORD}
                SECRET:
                    default: ${SECRET_KEY}
                SESSION_DURATION:
                    default: "24"
                USER:
                    default: ${USER_NAME}
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            SerpBear es una app de seguimiento de posiciones en buscadores. Monitorea el ranking de keywords en Google, recibe notificaciones de cambios e investiga palabras clave — autoalojado con SQLite.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a SerpBear
            - key: USER_NAME
              type: STRING
              name: Nombre de usuario
              description: El nombre de usuario del administrador de SerpBear
            - key: USER_PASSWORD
              type: STRING
              name: Contraseña
              description: La contraseña del administrador de SerpBear
            - key: SECRET_KEY
              type: STRING
              name: Clave secreta
              description: Clave secreta para cifrado de sesión
            - key: APIKEY
              type: STRING
              name: Clave API
              description: Clave API para integraciones externas
        readme: |
            # SerpBear

            App de seguimiento de posiciones en buscadores y búsqueda de palabras clave. Monitorea rankings en Google y recibe notificaciones de cambios.

            ## Configuración inicial

            1. **Visita tu dominio** — inicia sesión con el usuario y contraseña del despliegue
            2. **Añade un dominio** — introduce el sitio web a rastrear
            3. **Añade keywords** — especifica los términos de búsqueda a monitorear
            4. **Ver rankings** — SerpBear comenzará a rastrear automáticamente

            ## Licencia

            MIT — [GitHub](https://github.com/towfiqi/serpbear)
    id-ID:
        description: |
            SerpBear adalah aplikasi pelacakan posisi mesin pencari open-source. Pantau peringkat kata kunci di Google, dapatkan notifikasi perubahan posisi, dan riset kata kunci — self-hosted dengan SQLite.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses SerpBear
            - key: USER_NAME
              type: STRING
              name: Username
              description: Username admin SerpBear
            - key: USER_PASSWORD
              type: STRING
              name: Password
              description: Password admin SerpBear
            - key: SECRET_KEY
              type: STRING
              name: Kunci Rahasia
              description: Kunci rahasia untuk enkripsi sesi
            - key: APIKEY
              type: STRING
              name: Kunci API
              description: Kunci API untuk integrasi eksternal
        readme: |
            # SerpBear

            Aplikasi pelacakan posisi mesin pencari dan riset kata kunci open-source. Pantau peringkat kata kunci Google dan dapatkan notifikasi perubahan posisi.

            ## Pengaturan Awal

            1. **Buka domain** — login dengan username dan password yang diatur saat deploy
            2. **Tambahkan domain** — masukkan website yang ingin dilacak
            3. **Tambahkan kata kunci** — tentukan istilah pencarian yang ingin dipantau
            4. **Lihat peringkat** — SerpBear akan mulai melacak otomatis

            ## Lisensi

            MIT — [GitHub](https://github.com/towfiqi/serpbear)
    ja-JP:
        description: |
            SerpBear はオープンソースの検索エンジン順位トラッキングアプリです。Google でのキーワードランキングを監視し、順位変動の通知を受け取り、キーワード調査が可能 — SQLite でセルフホスト。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: SerpBear にアクセスするためのドメイン
            - key: USER_NAME
              type: STRING
              name: ユーザー名
              description: SerpBear の管理者ユーザー名
            - key: USER_PASSWORD
              type: STRING
              name: パスワード
              description: SerpBear の管理者パスワード
            - key: SECRET_KEY
              type: STRING
              name: シークレットキー
              description: セッション暗号化用のシークレットキー
            - key: APIKEY
              type: STRING
              name: API キー
              description: 外部連携用の API キー
        readme: |
            # SerpBear

            オープンソースの検索エンジン順位トラッキング＆キーワードリサーチアプリ。Google のキーワードランキングを監視し、順位変動の通知を受信。

            ## 初回セットアップ

            1. **ドメインにアクセス** — デプロイ時に設定したユーザー名とパスワードでログイン
            2. **ドメインを追加** — トラッキングしたいウェブサイトを入力
            3. **キーワードを追加** — 監視する検索語を指定
            4. **ランキングを確認** — SerpBear が自動的にトラッキングを開始

            ## ライセンス

            MIT — [GitHub](https://github.com/towfiqi/serpbear)
    ko-KR:
        description: |
            SerpBear는 오픈소스 검색 엔진 순위 추적 앱입니다. Google에서 키워드 순위를 모니터링하고, 순위 변동 알림을 받고, 키워드를 조사할 수 있습니다 — SQLite로 셀프 호스팅.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: SerpBear에 접속할 도메인
            - key: USER_NAME
              type: STRING
              name: 사용자명
              description: SerpBear 관리자 사용자명
            - key: USER_PASSWORD
              type: STRING
              name: 비밀번호
              description: SerpBear 관리자 비밀번호
            - key: SECRET_KEY
              type: STRING
              name: 시크릿 키
              description: 세션 암호화용 시크릿 키
            - key: APIKEY
              type: STRING
              name: API 키
              description: 외부 통합용 API 키
        readme: |
            # SerpBear

            오픈소스 검색 엔진 순위 추적 및 키워드 조사 앱. Google 키워드 순위를 모니터링하고 순위 변동 알림을 받습니다.

            ## 첫 설정

            1. **도메인 접속** — 배포 시 설정한 사용자명과 비밀번호로 로그인
            2. **도메인 추가** — 추적할 웹사이트 입력
            3. **키워드 추가** — 모니터링할 검색어 지정
            4. **순위 확인** — SerpBear가 자동으로 추적 시작

            ## 라이선스

            MIT — [GitHub](https://github.com/towfiqi/serpbear)
    th-TH:
        description: |
            SerpBear เป็นแอปติดตามอันดับเครื่องมือค้นหาแบบโอเพนซอร์ส ติดตามอันดับคำค้นหาบน Google รับการแจ้งเตือนเมื่ออันดับเปลี่ยน และวิจัยคำค้นหา — self-hosted ด้วย SQLite
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง SerpBear
            - key: USER_NAME
              type: STRING
              name: ชื่อผู้ใช้
              description: ชื่อผู้ใช้แอดมินของ SerpBear
            - key: USER_PASSWORD
              type: STRING
              name: รหัสผ่าน
              description: รหัสผ่านแอดมินของ SerpBear
            - key: SECRET_KEY
              type: STRING
              name: คีย์ลับ
              description: คีย์ลับสำหรับเข้ารหัส session
            - key: APIKEY
              type: STRING
              name: คีย์ API
              description: คีย์ API สำหรับการเชื่อมต่อภายนอก
        readme: |
            # SerpBear

            แอปติดตามอันดับเครื่องมือค้นหาและวิจัยคำค้นหาแบบโอเพนซอร์ส ติดตามอันดับคำค้นหา Google และรับการแจ้งเตือนเมื่ออันดับเปลี่ยน

            ## การตั้งค่าครั้งแรก

            1. **เข้าสู่โดเมน** — เข้าสู่ระบบด้วย username และ password ที่ตั้งไว้ตอน deploy
            2. **เพิ่มโดเมน** — ป้อนเว็บไซต์ที่ต้องการติดตาม
            3. **เพิ่มคำค้นหา** — ระบุคำค้นหาที่ต้องการติดตาม
            4. **ดูอันดับ** — SerpBear จะเริ่มติดตามอัตโนมัติ

            ## สัญญาอนุญาต

            MIT — [GitHub](https://github.com/towfiqi/serpbear)
    zh-CN:
        description: |
            SerpBear 是开源的搜索引擎排名追踪应用。监控你的网站在 Google 上的关键词排名，获取排名变动通知，进行关键词研究 — 全部自托管，使用 SQLite。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 SerpBear 的域名
            - key: USER_NAME
              type: STRING
              name: 用户名
              description: SerpBear 的管理员用户名
            - key: USER_PASSWORD
              type: STRING
              name: 密码
              description: SerpBear 的管理员密码
            - key: SECRET_KEY
              type: STRING
              name: 密钥
              description: 用于 session 加密的密钥
            - key: APIKEY
              type: STRING
              name: API 密钥
              description: 外部集成用的 API 密钥
        readme: |
            # SerpBear

            开源的搜索引擎排名追踪和关键词研究应用。监控你的 Google 关键词排名并获取排名变动通知。

            ## 首次设置

            1. **打开域名** — 使用部署时设置的账号密码登录
            2. **添加域名** — 输入要追踪的网站
            3. **添加关键词** — 指定要监控的搜索词
            4. **查看排名** — SerpBear 会自动开始追踪排名

            ## 授权

            MIT — [GitHub](https://github.com/towfiqi/serpbear)
    zh-TW:
        description: |
            SerpBear 是開源的搜尋引擎排名追蹤應用。監控你的網站在 Google 上的關鍵字排名，獲取排名變動通知，進行關鍵字研究 — 全部自架，使用 SQLite。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 SerpBear 的網域
            - key: USER_NAME
              type: STRING
              name: 使用者名稱
              description: SerpBear 的管理員使用者名稱
            - key: USER_PASSWORD
              type: STRING
              name: 密碼
              description: SerpBear 的管理員密碼
            - key: SECRET_KEY
              type: STRING
              name: 密鑰
              description: 用於 session 加密的密鑰
            - key: APIKEY
              type: STRING
              name: API 金鑰
              description: 外部整合用的 API 金鑰
        readme: |
            # SerpBear

            開源的搜尋引擎排名追蹤和關鍵字研究應用。監控你的 Google 關鍵字排名並獲取排名變動通知。

            ## 首次設定

            1. **開啟網域** — 使用部署時設定的帳號密碼登入
            2. **新增網域** — 輸入要追蹤的網站
            3. **新增關鍵字** — 指定要監控的搜尋詞
            4. **查看排名** — SerpBear 會自動開始追蹤排名

            ## 授權

            MIT — [GitHub](https://github.com/towfiqi/serpbear)
