# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Enclosed
spec:
    description: |
        Enclosed is a minimalist web application for sending private notes securely. It uses end-to-end encryption with zero knowledge on the server side, meaning only the recipient with the link can decrypt the content. Notes can be set to expire after a specific time or after being read.
    coverImage: https://raw.githubusercontent.com/CorentinTh/enclosed/main/.github/enclosed-mockup.png
    icon: https://raw.githubusercontent.com/CorentinTh/enclosed/main/.github/icon-dark.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Enclosed
    tags:
        - Security
        - Privacy
        - Notes
    readme: |
        # Enclosed

        Enclosed is a minimalist platform for sending private, end-to-end encrypted notes with zero server-side knowledge.

        ## What You Can Do After Deployment

        1. **Visit your domain** — Open the Enclosed web interface to start creating secure notes
        2. **Create a note** — Write your private content and generate an encrypted sharing link
        3. **Set expiration** — Configure notes to self-destruct after a set time or after being read
        4. **Share securely** — Send the generated link to the intended recipient
        5. **Verify encryption** — All encryption happens client-side; the server never sees plaintext content

        ## Key Features

        - End-to-end encryption with zero knowledge architecture
        - Notes self-destruct after viewing or expiration
        - Password protection for additional security
        - Configurable expiration times
        - No accounts or registration required
        - Minimalist and intuitive interface
        - Fully open-source and self-hostable
        - Lightweight and fast

        ## License

        Apache-2.0 — [GitHub](https://github.com/CorentinTh/enclosed)
    services:
        - name: enclosed
          icon: https://raw.githubusercontent.com/CorentinTh/enclosed/main/.github/icon-dark.png
          template: PREBUILT_V2
          spec:
            source:
                image: corentinth/enclosed:1.16.0
            ports:
                - id: web
                  port: 8787
                  type: HTTP
            volumes:
                - id: data
                  dir: /app/.data
            env: {}
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Enclosed es una aplicación web minimalista para enviar notas privadas de forma segura. Utiliza cifrado de extremo a extremo con conocimiento cero en el servidor, lo que significa que solo el destinatario con el enlace puede descifrar el contenido.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Enclosed
        readme: |
            # Enclosed

            Enclosed es una plataforma minimalista para compartir notas privadas con cifrado de extremo a extremo y conocimiento cero en el servidor.

            ## Qué puedes hacer después del despliegue

            1. **Visitar tu dominio** — Abre la interfaz web de Enclosed para crear notas seguras
            2. **Crear una nota** — Escribe tu contenido privado y genera un enlace de compartición cifrado
            3. **Establecer expiración** — Configura la autodestrucción después de un tiempo o después de ser leída
            4. **Compartir de forma segura** — Envía el enlace generado al destinatario
            5. **Verificar el cifrado** — Todo el cifrado se realiza en el cliente; el servidor nunca ve el contenido en texto plano

            ## Características principales

            - Cifrado de extremo a extremo con arquitectura de conocimiento cero
            - Las notas se autodestruyen después de ser vistas o expirar
            - Protección con contraseña para seguridad adicional
            - Tiempos de expiración configurables
            - Sin necesidad de cuentas ni registro
            - Interfaz minimalista e intuitiva
            - Completamente de código abierto y auto-hospedable
            - Ligero y rápido

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/CorentinTh/enclosed)
    id-ID:
        description: |
            Enclosed adalah aplikasi web minimalis untuk mengirim catatan pribadi secara aman. Menggunakan enkripsi end-to-end dengan zero knowledge di sisi server, artinya hanya penerima yang memiliki tautan yang dapat mendekripsi konten.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Enclosed
        readme: |
            # Enclosed

            Enclosed adalah platform minimalis untuk berbagi catatan pribadi dengan enkripsi end-to-end dan zero knowledge di sisi server.

            ## Yang Dapat Dilakukan Setelah Deploy

            1. **Kunjungi domain Anda** — Buka antarmuka web Enclosed untuk mulai membuat catatan aman
            2. **Buat catatan** — Tulis konten pribadi dan buat tautan berbagi terenkripsi
            3. **Atur kedaluwarsa** — Konfigurasikan penghancuran otomatis setelah waktu tertentu atau setelah dibaca
            4. **Bagikan dengan aman** — Kirim tautan yang dihasilkan kepada penerima
            5. **Verifikasi enkripsi** — Semua enkripsi dilakukan di sisi klien; server tidak pernah melihat konten teks biasa

            ## Fitur Utama

            - Enkripsi end-to-end dengan arsitektur zero knowledge
            - Catatan otomatis hancur setelah dilihat atau kedaluwarsa
            - Perlindungan kata sandi untuk keamanan tambahan
            - Waktu kedaluwarsa yang dapat dikonfigurasi
            - Tidak perlu akun atau pendaftaran
            - Antarmuka minimalis dan intuitif
            - Sepenuhnya open-source dan dapat di-hosting sendiri
            - Ringan dan cepat

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/CorentinTh/enclosed)
    ja-JP:
        description: |
            Enclosed はプライベートノートを安全に送信するためのミニマリストな Web アプリケーションです。サーバー側ゼロナレッジのエンドツーエンド暗号化を使用し、リンクを持つ受信者のみがコンテンツを復号できます。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Enclosed にアクセスするためのドメイン
        readme: |
            # Enclosed

            Enclosed はサーバー側ゼロナレッジのエンドツーエンド暗号化を使用した、ミニマリストなプライベートノート共有プラットフォームです。

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

            1. **ドメインにアクセス** — Enclosed のウェブインターフェースでセキュアなノートの作成を開始
            2. **ノートを作成** — プライベートなコンテンツを記入し、暗号化された共有リンクを生成
            3. **有効期限を設定** — ノートが指定時間後または閲覧後に自動破棄されるよう設定
            4. **安全に共有** — 生成されたリンクを受信者に送信
            5. **暗号化を確認** — すべての暗号化はクライアント側で行われ、サーバーは平文を見ることはありません

            ## 主な機能

            - ゼロナレッジアーキテクチャによるエンドツーエンド暗号化
            - ノートは閲覧後または期限切れ後に自動破棄
            - パスワード保護による追加セキュリティ
            - 有効期限のカスタマイズが可能
            - アカウント登録不要
            - ミニマルで直感的なインターフェース
            - 完全オープンソースでセルフホスト可能
            - 軽量で高速

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/CorentinTh/enclosed)
    ko-KR:
        description: |
            Enclosed는 프라이빗 노트를 안전하게 전송하기 위한 미니멀한 웹 애플리케이션입니다. 서버 측 제로 지식의 엔드투엔드 암호화를 사용하며 링크를 가진 수신자만 콘텐츠를 복호화할 수 있습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Enclosed에 접속할 도메인
        readme: |
            # Enclosed

            Enclosed는 서버 측 제로 지식의 엔드투엔드 암호화를 사용하는 미니멀한 프라이빗 노트 공유 플랫폼입니다.

            ## 배포 후 할 수 있는 것

            1. **도메인 방문** — Enclosed 웹 인터페이스에서 보안 노트 작성 시작
            2. **노트 작성** — 프라이빗 콘텐츠를 작성하고 암호화된 공유 링크 생성
            3. **만료 설정** — 지정 시간 후 또는 열람 후 자동 삭제되도록 설정
            4. **안전하게 공유** — 생성된 링크를 수신자에게 전송
            5. **암호화 확인** — 모든 암호화는 클라이언트 측에서 수행되며 서버는 평문을 볼 수 없음

            ## 주요 기능

            - 제로 지식 아키텍처의 엔드투엔드 암호화
            - 노트는 열람 후 또는 만료 후 자동 삭제
            - 추가 보안을 위한 비밀번호 보호
            - 만료 시간 커스터마이즈 가능
            - 계정 등록 불필요
            - 미니멀하고 직관적인 인터페이스
            - 완전 오픈소스 및 셀프 호스팅 가능
            - 가볍고 빠름

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/CorentinTh/enclosed)
    th-TH:
        description: |
            Enclosed เป็นเว็บแอปพลิเคชันเรียบง่ายสำหรับส่งโน้ตส่วนตัวอย่างปลอดภัย ใช้การเข้ารหัสแบบ end-to-end พร้อม zero knowledge ฝั่งเซิร์ฟเวอร์ หมายความว่าเฉพาะผู้รับที่มีลิงก์เท่านั้นที่สามารถถอดรหัสเนื้อหาได้
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Enclosed
        readme: |
            # Enclosed

            Enclosed เป็นแพลตฟอร์มเรียบง่ายสำหรับแชร์โน้ตส่วนตัวด้วยการเข้ารหัส end-to-end และ zero knowledge ฝั่งเซิร์ฟเวอร์

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

            1. **เข้าสู่โดเมน** — เปิดหน้าเว็บ Enclosed เพื่อเริ่มสร้างโน้ตที่ปลอดภัย
            2. **สร้างโน้ต** — เขียนเนื้อหาส่วนตัวและสร้างลิงก์แชร์ที่เข้ารหัส
            3. **ตั้งเวลาหมดอายุ** — กำหนดให้โน้ตทำลายตัวเองหลังเวลาที่กำหนดหรือหลังถูกอ่าน
            4. **แชร์อย่างปลอดภัย** — ส่งลิงก์ที่สร้างขึ้นให้ผู้รับ
            5. **ตรวจสอบการเข้ารหัส** — การเข้ารหัสทั้งหมดทำฝั่งไคลเอนต์ เซิร์ฟเวอร์ไม่เคยเห็นเนื้อหาข้อความธรรมดา

            ## คุณสมบัติหลัก

            - การเข้ารหัส end-to-end พร้อมสถาปัตยกรรม zero knowledge
            - โน้ตทำลายตัวเองอัตโนมัติหลังถูกดูหรือหมดอายุ
            - การป้องกันด้วยรหัสผ่านเพื่อความปลอดภัยเพิ่มเติม
            - ตั้งเวลาหมดอายุได้
            - ไม่ต้องลงทะเบียนบัญชี
            - อินเทอร์เฟซเรียบง่ายและใช้งานง่าย
            - โอเพนซอร์สเต็มรูปแบบและโฮสต์เองได้
            - เบาและเร็ว

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

            Apache-2.0 — [GitHub](https://github.com/CorentinTh/enclosed)
    zh-CN:
        description: |
            Enclosed 是一个极简的安全笔记共享平台。使用端到端加密技术，服务器端零知识架构，只有拥有链接的收件人才能解密内容。笔记可设置在特定时间后或被阅读后过期。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Enclosed 的域名
        readme: |
            # Enclosed

            Enclosed 是一个极简的私密笔记共享平台，使用端到端加密且服务器端零知识架构。

            ## 部署后可以做什么

            1. **打开域名** — 进入 Enclosed 网页界面开始创建安全笔记
            2. **创建笔记** — 撰写私密内容并生成加密共享链接
            3. **设置过期** — 设置笔记在指定时间后或被阅读后自动销毁
            4. **安全共享** — 将生成的链接发送给指定的收件人
            5. **验证加密** — 所有加密在客户端完成，服务器永远看不到明文内容

            ## 主要功能

            - 端到端加密与零知识架构
            - 笔记在查看或过期后自动销毁
            - 可设置密码保护增加安全性
            - 可自定义过期时间
            - 无需注册账号
            - 极简直观的界面
            - 完全开源且可自行部署
            - 轻量且快速

            ## 授权

            Apache-2.0 — [GitHub](https://github.com/CorentinTh/enclosed)
    zh-TW:
        description: |
            Enclosed 是一個極簡的安全筆記分享平台。使用端對端加密技術，伺服器端零知識架構，只有擁有連結的收件人才能解密內容。筆記可設定在特定時間後或被閱讀後過期。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Enclosed 的網域
        readme: |
            # Enclosed

            Enclosed 是一個極簡的私密筆記分享平台，使用端對端加密且伺服器端零知識架構。

            ## 部署後可以做什麼

            1. **開啟網域** — 進入 Enclosed 網頁介面開始建立安全筆記
            2. **建立筆記** — 撰寫私密內容並產生加密分享連結
            3. **設定過期** — 設定筆記在指定時間後或被閱讀後自動銷毀
            4. **安全分享** — 將產生的連結傳送給指定的收件人
            5. **驗證加密** — 所有加密在客戶端完成，伺服器永遠看不到明文內容

            ## 主要功能

            - 端對端加密與零知識架構
            - 筆記在查看或過期後自動銷毀
            - 可設定密碼保護增加安全性
            - 可自訂過期時間
            - 無需註冊帳號
            - 極簡直覺的介面
            - 完全開源且可自行架設
            - 輕量且快速

            ## 授權

            Apache-2.0 — [GitHub](https://github.com/CorentinTh/enclosed)
