# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Snippet Box
spec:
    description: A simple self-hosted app for organizing your code snippets.
    coverImage: https://github.com/pawelmalak/snippet-box/raw/master/.github/img/snippets.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain you want to bind to Snippet Box.
    tags:
        - Tool
        - Code
        - Snippets
    readme: "# Snippet Box \U0001F4E6\n\n[Snippet Box](https://github.com/pawelmalak/snippet-box) is a simple self-hosted app for organizing your code snippets. It allows you to easily create, edit, browse and manage your snippets in various languages.\n\n## Features\n\n- Search your snippets with built-in tags and language filters\n- Pin your favorite snippets to home screen\n- Built-in syntax highlighting\n- Markdown support for documentation\n- Simple and easy to use editor"
    services:
        - name: snippet-box
          icon: https://avatars.githubusercontent.com/u/9919?s=48&v=4
          template: GIT
          spec:
            source:
                source: GITHUB
                repo: 407871357
                branch: master
            ports:
                - id: web
                  port: 5000
                  type: HTTP
            volumes:
                - id: data
                  dir: /app/data
          domainKey: PUBLIC_DOMAIN
localization:
    zh-TW:
        description: 簡單的自架程式碼片段管理工具，讓你輕鬆組織、編輯和管理各種語言的程式碼片段。
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: 網域
              description: 你想將 Snippet Box 綁在哪個網域上？
        readme: "# Snippet Box \U0001F4E6\n\n[Snippet Box](https://github.com/pawelmalak/snippet-box) 是一個簡單的自架應用程式，用於組織你的程式碼片段。讓你能輕鬆建立、編輯、瀏覽和管理各種語言的程式碼片段。\n\n## 功能特色\n\n- 使用內建的標籤和語言篩選器搜尋你的片段\n- 將喜愛的片段釘選到首頁以便快速存取\n- 內建語法高亮顯示\n- 支援 Markdown 格式的文件說明\n- 簡單易用的編輯器"
