# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Conduit
spec:
    description: |
        Conduit is a lightweight Matrix homeserver written in Rust. It uses an embedded RocksDB database — no external database required. Easy to set up with low resource usage, ideal for personal or small-community Matrix deployments.
    coverImage: https://avatars.githubusercontent.com/u/67141781?v=4
    icon: https://avatars.githubusercontent.com/u/67141781?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Conduit
    tags:
        - Tool
    readme: |
        # Conduit

        A lightweight Matrix homeserver written in Rust with an embedded RocksDB database. No external database needed — just deploy and start chatting over the Matrix protocol.

        ## What You Can Do After Deployment

        1. **Visit your domain** — open the deployed URL to confirm the server is running
        2. **Register an account** — use a Matrix client (e.g. Element) to register on your homeserver by pointing it to your domain
        3. **Join rooms** — once registered, join public Matrix rooms or create your own
        4. **Federation** — your server can federate with other Matrix homeservers, allowing you to chat with users on different servers
        5. **Invite friends** — share your homeserver domain so others can register and join

        ## Key Features

        - Written in Rust — fast, memory-safe, and efficient
        - Embedded RocksDB — no PostgreSQL or other external database required
        - Low resource usage — runs comfortably on minimal hardware
        - Matrix protocol compliant — works with Element, FluffyChat, SchildiChat, and other Matrix clients
        - Federation support — communicate across the Matrix network
        - Easy deployment — single binary, minimal configuration

        ## Configuration

        - `CONDUIT_SERVER_NAME` — your server's public domain name (set automatically from your Zeabur domain)
        - `CONDUIT_PORT` — the port the server listens on (default: `6167`)
        - `CONDUIT_DATABASE_BACKEND` — the database backend (`rocksdb`)

        ## License

        Apache-2.0 — [GitHub](https://github.com/girlbossceo/conduwuit)
    services:
        - name: conduit
          icon: https://avatars.githubusercontent.com/u/67141781?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/conduwuit/conduwuit:v0.4.6
            ports:
                - id: web
                  port: 6167
                  type: HTTP
            volumes:
                - id: data
                  dir: /var/lib/conduwuit
            env:
                CONDUIT_DATABASE_BACKEND:
                    default: rocksdb
                CONDUIT_PORT:
                    default: "6167"
                CONDUIT_SERVER_NAME:
                    default: ${ZEABUR_WEB_URL}
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Conduit es un servidor Matrix ligero escrito en Rust con base de datos RocksDB integrada. Sin base de datos externa. Bajo consumo de recursos, ideal para despliegues personales o de pequeñas comunidades.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Conduit
        readme: |
            # Conduit

            Servidor Matrix ligero escrito en Rust con base de datos RocksDB integrada. Sin necesidad de base de datos externa.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — confirma que el servidor funciona
            2. **Registra una cuenta** — usa un cliente Matrix (ej. Element) apuntando a tu dominio
            3. **Únete a salas** — únete a salas públicas o crea las tuyas
            4. **Federación** — comunícate con usuarios de otros servidores Matrix
            5. **Invita amigos** — comparte tu dominio

            ## Características

            - Escrito en Rust — rápido, seguro y eficiente
            - RocksDB integrada — sin PostgreSQL ni base de datos externa
            - Bajo consumo de recursos
            - Compatible con el protocolo Matrix — Element, FluffyChat, etc.
            - Soporte de federación

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/girlbossceo/conduwuit)
    id-ID:
        description: |
            Conduit adalah server Matrix ringan yang ditulis dalam Rust dengan database RocksDB bawaan. Tanpa database eksternal. Penggunaan resource rendah, ideal untuk deployment pribadi atau komunitas kecil.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Conduit
        readme: |
            # Conduit

            Server Matrix ringan yang ditulis dalam Rust dengan database RocksDB bawaan. Tanpa perlu database eksternal.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — pastikan server berjalan
            2. **Daftar akun** — gunakan klien Matrix (misal Element) yang diarahkan ke domain Anda
            3. **Gabung ruang chat** — gabung ruang publik Matrix atau buat sendiri
            4. **Federasi** — berkomunikasi dengan pengguna di server Matrix lain
            5. **Undang teman** — bagikan domain Anda

            ## Fitur

            - Ditulis dalam Rust — cepat, aman, dan efisien
            - RocksDB bawaan — tanpa PostgreSQL atau database eksternal
            - Penggunaan resource rendah
            - Kompatibel protokol Matrix — Element, FluffyChat, dll.
            - Dukungan federasi

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/girlbossceo/conduwuit)
    ja-JP:
        description: |
            ConduitはRustで書かれた軽量なMatrixホームサーバーです。組み込みRocksDBを使用し、外部データベース不要。リソース消費が少なく、個人や小規模コミュニティのMatrix展開に最適。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Conduitにアクセスするためのドメイン
        readme: |
            # Conduit

            Rustで書かれた軽量なMatrixホームサーバー。組み込みRocksDBデータベースを使用し、外部データベース不要。

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

            1. **ドメインにアクセス** — サーバーの動作確認
            2. **アカウント登録** — Matrixクライアント（Elementなど）でドメインを指定して登録
            3. **ルームに参加** — 公開Matrixルームへの参加や独自ルームの作成
            4. **フェデレーション** — 他のMatrixサーバーと連携通信
            5. **友人を招待** — ドメインを共有して登録してもらう

            ## 主な機能

            - Rust製 — 高速・メモリ安全・高効率
            - 組み込みRocksDB — 外部データベース不要
            - 低リソース — 最小限のハードウェアで動作
            - Matrix互換 — Element、FluffyChat等のクライアント対応
            - フェデレーション対応

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/girlbossceo/conduwuit)
    ko-KR:
        description: |
            Conduit는 Rust로 작성된 경량 Matrix 홈서버입니다. 내장 RocksDB를 사용하며 외부 데이터베이스가 필요 없습니다. 리소스 사용량이 적어 개인 또는 소규모 커뮤니티 배포에 적합합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Conduit에 접속할 도메인
        readme: |
            # Conduit

            Rust로 작성된 경량 Matrix 홈서버. 내장 RocksDB 데이터베이스 사용, 외부 데이터베이스 불필요.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 서버 정상 동작 확인
            2. **계정 등록** — Matrix 클라이언트(예: Element)에서 도메인을 지정하여 등록
            3. **방 참여** — 공개 Matrix 방에 참여하거나 직접 생성
            4. **페더레이션** — 다른 Matrix 서버 사용자와 통신
            5. **친구 초대** — 도메인을 공유하여 등록 유도

            ## 주요 기능

            - Rust 작성 — 빠르고 메모리 안전하며 효율적
            - 내장 RocksDB — PostgreSQL 등 외부 DB 불필요
            - 낮은 리소스 사용량
            - Matrix 프로토콜 호환 — Element, FluffyChat 등 클라이언트 지원
            - 페더레이션 지원

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/girlbossceo/conduwuit)
    th-TH:
        description: |
            Conduit คือ Matrix homeserver น้ำหนักเบาที่เขียนด้วย Rust ใช้ฐานข้อมูล RocksDB ในตัว ไม่ต้องการฐานข้อมูลภายนอก ใช้ทรัพยากรน้อย เหมาะสำหรับการใช้งานส่วนตัวหรือชุมชนขนาดเล็ก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Conduit
        readme: |
            # Conduit

            Matrix homeserver น้ำหนักเบาเขียนด้วย Rust ใช้ฐานข้อมูล RocksDB ในตัว ไม่ต้องการฐานข้อมูลภายนอก

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

            1. **เข้าสู่โดเมน** — ตรวจสอบว่าเซิร์ฟเวอร์ทำงานปกติ
            2. **สมัครบัญชี** — ใช้ Matrix client (เช่น Element) ชี้ไปที่โดเมนของคุณ
            3. **เข้าร่วมห้อง** — เข้าร่วมห้อง Matrix สาธารณะหรือสร้างห้องของตัวเอง
            4. **เฟเดอเรชัน** — สื่อสารกับผู้ใช้บนเซิร์ฟเวอร์ Matrix อื่น
            5. **เชิญเพื่อน** — แชร์โดเมนให้ผู้อื่นสมัคร

            ## ฟีเจอร์หลัก

            - เขียนด้วย Rust — เร็ว ปลอดภัย มีประสิทธิภาพ
            - RocksDB ในตัว — ไม่ต้องการ PostgreSQL หรือฐานข้อมูลภายนอก
            - ใช้ทรัพยากรน้อย
            - รองรับ Matrix protocol — ใช้ได้กับ Element, FluffyChat ฯลฯ
            - รองรับเฟเดอเรชัน

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

            Apache-2.0 — [GitHub](https://github.com/girlbossceo/conduwuit)
    zh-CN:
        description: |
            Conduit 是用 Rust 编写的轻量级 Matrix 服务器，使用内嵌 RocksDB 数据库，无需外部数据库。资源占用低，适合个人或小型社区部署。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Conduit 的域名
        readme: |
            # Conduit

            用 Rust 编写的轻量级 Matrix 服务器，内嵌 RocksDB 数据库，无需外部数据库，部署即可通过 Matrix 协议通信。

            ## 部署后可以做什么

            1. **打开域名** — 确认服务器正常运行
            2. **注册账号** — 使用 Matrix 客户端（如 Element）指向你的域名注册
            3. **加入聊天室** — 注册后可加入公开的 Matrix 聊天室或创建自己的
            4. **联邦互通** — 可与其他 Matrix 服务器联邦，跨服务器沟通
            5. **邀请朋友** — 分享域名让其他人注册

            ## 主要功能

            - Rust 编写 — 快速、内存安全、高效
            - 内嵌 RocksDB — 无需 PostgreSQL 等外部数据库
            - 资源占用低 — 低配硬件即可运行
            - 兼容 Matrix 协议 — 支持 Element、FluffyChat 等客户端
            - 支持联邦 — Matrix 网络互通

            ## 许可证

            Apache-2.0 — [GitHub](https://github.com/girlbossceo/conduwuit)
    zh-TW:
        description: |
            Conduit 是以 Rust 撰寫的輕量級 Matrix 伺服器，使用內嵌 RocksDB 資料庫，無需外部資料庫。資源消耗低，適合個人或小型社群的 Matrix 部署。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Conduit 的網域
        readme: |
            # Conduit

            以 Rust 撰寫的輕量級 Matrix 伺服器，使用內嵌 RocksDB 資料庫，無需外部資料庫，部署即可透過 Matrix 協定進行通訊。

            ## 部署後可以做什麼

            1. **開啟網域** — 確認伺服器正常運行
            2. **註冊帳號** — 使用 Matrix 客戶端（如 Element）指向你的網域進行註冊
            3. **加入聊天室** — 註冊後可加入公開的 Matrix 聊天室或建立自己的聊天室
            4. **聯邦互通** — 伺服器可與其他 Matrix 伺服器聯邦，跨伺服器溝通
            5. **邀請朋友** — 分享網域讓其他人註冊加入

            ## 主要功能

            - 以 Rust 撰寫 — 快速、記憶體安全、高效能
            - 內嵌 RocksDB — 無需 PostgreSQL 或其他外部資料庫
            - 資源消耗低 — 在低規格硬體上即可運行
            - 相容 Matrix 協定 — 可搭配 Element、FluffyChat、SchildiChat 等客戶端
            - 支援聯邦 — 在 Matrix 網路中互通

            ## 授權

            Apache-2.0 — [GitHub](https://github.com/girlbossceo/conduwuit)
