# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: ByteStash
spec:
    description: |
        ByteStash is a self-hosted code snippet organizer. Store, search, and share code snippets with syntax highlighting, tagging, and a clean web interface. All data is stored locally with no external database required.
    coverImage: https://avatars.githubusercontent.com/u/78372688
    icon: https://avatars.githubusercontent.com/u/78372688
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access ByteStash
        - key: PASSWORD
          type: PASSWORD
          name: Password
          description: The password for ByteStash authentication
    tags:
        - Tool
        - Developer
    readme: |
        # ByteStash

        A self-hosted code snippet organizer. Store, search, and share code snippets with syntax highlighting and tagging through a clean web interface.

        ## What You Can Do After Deployment

        1. **Visit your domain** — open the web interface and create an account
        2. **Create snippets** — add code snippets with syntax highlighting for any language
        3. **Organize with tags** — tag and categorize your snippets for easy retrieval
        4. **Search** — find snippets by title, content, language, or tags
        5. **Share snippets** — generate shareable links for your code

        ## Key Features

        - Syntax highlighting for 100+ languages
        - Tag-based organization
        - Full-text search
        - Public and private snippets
        - Shareable snippet links
        - Embedded SQLite storage
        - Responsive web interface

        ## License

        MIT — [GitHub](https://github.com/jordan-dalby/ByteStash)
    services:
        - name: bytestash
          icon: https://avatars.githubusercontent.com/u/78372688
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/jordan-dalby/bytestash:1.5.11
            ports:
                - id: web
                  port: 5000
                  type: HTTP
            volumes:
                - id: bytestash-data
                  dir: /data
            env:
                BASE_PATH:
                    default: ""
                JWT_SECRET:
                    default: ${PASSWORD}
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            ByteStash es un organizador de fragmentos de codigo autoalojado. Almacena, busca y comparte fragmentos con resaltado de sintaxis y etiquetas a traves de una interfaz web limpia. Sin base de datos externa.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a ByteStash
            - key: PASSWORD
              type: STRING
              name: Contrasena
              description: La contrasena de autenticacion de ByteStash
        readme: |
            # ByteStash

            Organizador de fragmentos de codigo autoalojado. Almacena, busca y comparte fragmentos con resaltado de sintaxis y etiquetas.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — crea una cuenta en la interfaz web
            2. **Crea fragmentos** — anade fragmentos de codigo en cualquier lenguaje
            3. **Organiza con etiquetas** — clasifica tus fragmentos con etiquetas
            4. **Busca** — encuentra fragmentos por titulo, contenido o etiqueta

            ## Licencia

            MIT — [GitHub](https://github.com/jordan-dalby/ByteStash)
    id-ID:
        description: |
            ByteStash adalah pengelola potongan kode self-hosted. Simpan, cari, dan bagikan potongan kode dengan penyorotan sintaks dan tag melalui antarmuka web yang bersih. Tanpa database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses ByteStash
            - key: PASSWORD
              type: STRING
              name: Kata Sandi
              description: Kata sandi autentikasi ByteStash
        readme: |
            # ByteStash

            Pengelola potongan kode self-hosted. Simpan, cari, dan bagikan potongan kode dengan penyorotan sintaks dan tag.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — buat akun di antarmuka web
            2. **Buat potongan kode** — tambahkan potongan kode dalam bahasa apa pun
            3. **Atur dengan tag** — klasifikasi potongan kode dengan tag
            4. **Cari** — temukan berdasarkan judul, konten, atau tag

            ## Lisensi

            MIT — [GitHub](https://github.com/jordan-dalby/ByteStash)
    ja-JP:
        description: |
            ByteStash はセルフホスト型のコードスニペット管理ツールです。シンタックスハイライトとタグ付けで、コードスニペットを保存・検索・共有できます。外部データベース不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: ByteStash にアクセスするためのドメイン
            - key: PASSWORD
              type: STRING
              name: パスワード
              description: ByteStash の認証パスワード
        readme: |
            # ByteStash

            セルフホスト型のコードスニペット管理ツール。シンタックスハイライトとタグ付けでスニペットを管理。

            ## デプロイ後にできること

            1. **ドメインにアクセス** — Webインターフェースでアカウントを作成
            2. **スニペット作成** — 任意の言語のコードスニペットを追加
            3. **タグで整理** — スニペットにタグを付けて分類
            4. **検索** — タイトル、内容、言語、タグで検索

            ## ライセンス

            MIT — [GitHub](https://github.com/jordan-dalby/ByteStash)
    ko-KR:
        description: |
            ByteStash는 셀프 호스팅 코드 스니펫 관리 도구입니다. 구문 강조와 태그를 지원하는 깔끔한 웹 인터페이스로 코드 스니펫을 저장, 검색, 공유할 수 있습니다. 외부 데이터베이스 불필요.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: ByteStash에 접속할 도메인
            - key: PASSWORD
              type: STRING
              name: 비밀번호
              description: ByteStash 인증 비밀번호
        readme: |
            # ByteStash

            셀프 호스팅 코드 스니펫 관리 도구. 구문 강조와 태그로 스니펫을 관리.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 웹 인터페이스에서 계정 생성
            2. **스니펫 생성** — 모든 언어의 코드 스니펫 추가
            3. **태그로 정리** — 스니펫에 태그를 붙여 분류
            4. **검색** — 제목, 내용, 언어, 태그로 검색

            ## 라이선스

            MIT — [GitHub](https://github.com/jordan-dalby/ByteStash)
    th-TH:
        description: |
            ByteStash เป็นตัวจัดการ code snippet แบบ self-hosted เก็บ ค้นหา และแชร์ code snippet พร้อม syntax highlighting และแท็กผ่านหน้าเว็บที่สะอาด ไม่ต้องใช้ฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง ByteStash
            - key: PASSWORD
              type: STRING
              name: รหัสผ่าน
              description: รหัสผ่านยืนยันตัวตน ByteStash
        readme: |
            # ByteStash

            ตัวจัดการ code snippet แบบ self-hosted เก็บ ค้นหา และแชร์ code snippet พร้อม syntax highlighting และแท็ก

            ## สิ่งที่ทำได้หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** — สร้างบัญชีที่หน้าเว็บ
            2. **สร้าง snippet** — เพิ่ม code snippet ในภาษาใดก็ได้
            3. **จัดระเบียบด้วยแท็ก** — จำแนก snippet ด้วยแท็ก
            4. **ค้นหา** — ค้นหาตามชื่อ เนื้อหา หรือแท็ก

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

            MIT — [GitHub](https://github.com/jordan-dalby/ByteStash)
    zh-CN:
        description: |
            ByteStash 是自托管的代码片段管理器。通过简洁的网页界面存储、搜索和分享代码片段，支持语法高亮和标签分类。所有数据本地存储，无需外部数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 ByteStash 的域名
            - key: PASSWORD
              type: STRING
              name: 密码
              description: ByteStash 认证密码
        readme: |
            # ByteStash

            自托管的代码片段管理器。通过简洁的网页界面存储、搜索和分享代码片段，支持语法高亮和标签。

            ## 部署后可以做什么

            1. **打开域名** — 打开网页界面并创建账号
            2. **创建片段** — 添加任何语言的代码片段
            3. **用标签整理** — 为片段添加标签以便检索
            4. **搜索** — 按标题、内容、语言或标签查找片段
            5. **分享片段** — 生成可分享的链接

            ## 许可证

            MIT — [GitHub](https://github.com/jordan-dalby/ByteStash)
    zh-TW:
        description: |
            ByteStash 是自架的程式碼片段管理器。透過簡潔的網頁介面儲存、搜尋和分享程式碼片段，支援語法高亮和標籤分類。所有資料本地儲存，無需外部資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 ByteStash 的網域
            - key: PASSWORD
              type: STRING
              name: 密碼
              description: ByteStash 認證密碼
        readme: |
            # ByteStash

            自架的程式碼片段管理器。透過簡潔的網頁介面儲存、搜尋和分享程式碼片段，支援語法高亮和標籤。

            ## 部署後可以做什麼

            1. **開啟網域** — 開啟網頁介面並建立帳號
            2. **建立片段** — 新增任何語言的程式碼片段
            3. **用標籤整理** — 為片段加上標籤以便檢索
            4. **搜尋** — 按標題、內容、語言或標籤尋找片段
            5. **分享片段** — 產生可分享的連結

            ## 授權

            MIT — [GitHub](https://github.com/jordan-dalby/ByteStash)
