# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Snapdrop
spec:
    description: |
        Snapdrop is a self-hosted local file sharing solution inspired by Apple AirDrop. Built with Node.js and WebRTC, it enables peer-to-peer file transfers between devices on the same network through a clean web interface. No database or account required.
    coverImage: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/snapdrop-logo.png
    icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/snapdrop-logo.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Snapdrop
    tags:
        - Tool
        - File Sharing
    readme: |
        # Snapdrop

        A self-hosted, browser-based file sharing tool inspired by Apple AirDrop. Transfer files between devices on the same network using WebRTC peer-to-peer connections.

        ## What You Can Do After Deployment

        Visit your domain from any device. All devices connected to the same Snapdrop instance appear automatically.

        **Peer-to-peer transfer:** Files are sent directly between devices using WebRTC — they never pass through the server, ensuring privacy and speed.

        **No registration:** No accounts, no sign-ups. Open the URL on two devices and start sharing immediately.

        **Cross-platform:** Works on any device with a modern web browser — phones, tablets, laptops, desktops.

        **Text sharing:** Send short text messages and links between devices in addition to files.

        **Auto-discovery:** Devices on the same network are automatically discovered and displayed with recognizable device names.

        **Progressive Web App:** Install Snapdrop as a PWA on mobile devices for a native-like experience.

        ## How It Works

        Snapdrop uses WebRTC for direct device-to-device communication. The server only handles signaling (helping devices find each other) — actual file data flows directly between peers.

        ## License

        GPL-3.0 — [GitHub](https://github.com/RobinLinus/snapdrop)
    services:
        - name: snapdrop
          icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/snapdrop-logo.png
          template: PREBUILT_V2
          spec:
            source:
                image: linuxserver/snapdrop:version-b8b78cc2
            ports:
                - id: web
                  port: 80
                  type: HTTP
            env:
                PGID:
                    default: "1000"
                PUID:
                    default: "1000"
                TZ:
                    default: Etc/UTC
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Snapdrop es una solución de compartición de archivos local autoalojada inspirada en Apple AirDrop. Construida con Node.js y WebRTC, permite transferencias de archivos peer-to-peer entre dispositivos en la misma red. Sin base de datos ni cuenta requerida.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Snapdrop
        readme: |
            # Snapdrop

            Herramienta de compartición de archivos basada en navegador inspirada en Apple AirDrop.

            ## Qué puedes hacer después del despliegue

            Visita tu dominio desde cualquier dispositivo. Todos los dispositivos conectados aparecen automáticamente.

            **Transferencia P2P:** Los archivos se envían directamente entre dispositivos via WebRTC.

            **Sin registro:** Sin cuentas necesarias. Abre la URL y comparte al instante.

            **Multiplataforma:** Funciona en cualquier dispositivo con un navegador moderno.

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/RobinLinus/snapdrop)
    id-ID:
        description: |
            Snapdrop adalah solusi berbagi file lokal self-hosted yang terinspirasi Apple AirDrop. Dibangun dengan Node.js dan WebRTC, memungkinkan transfer file peer-to-peer antar perangkat di jaringan yang sama. Tanpa database atau akun.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Snapdrop
        readme: |
            # Snapdrop

            Alat berbagi file berbasis browser terinspirasi Apple AirDrop.

            ## Apa yang bisa dilakukan setelah deploy

            Buka domain dari perangkat apa saja. Semua perangkat yang terhubung muncul otomatis.

            **Transfer P2P:** File dikirim langsung antar perangkat via WebRTC.

            **Tanpa registrasi:** Tidak perlu akun. Buka URL dan langsung berbagi.

            **Lintas platform:** Bekerja di perangkat apa saja dengan browser modern.

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/RobinLinus/snapdrop)
    ja-JP:
        description: |
            Snapdrop は Apple AirDrop にインスパイアされたセルフホスト型ローカルファイル共有ソリューションです。Node.js と WebRTC で構築され、同一ネットワーク上のデバイス間でピアツーピアのファイル転送を実現。データベースやアカウント不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Snapdrop にアクセスするためのドメイン
        readme: |
            # Snapdrop

            Apple AirDrop にインスパイアされたブラウザベースのファイル共有ツール。

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

            任意のデバイスからドメインにアクセス。同じインスタンスのデバイスが自動的に表示されます。

            **P2P 転送：** WebRTC でデバイス間を直接転送。サーバーを経由しません。

            **登録不要：** アカウント不要、URL を開くだけで共有開始。

            **クロスプラットフォーム：** モダンブラウザがあればどのデバイスでも利用可能。

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/RobinLinus/snapdrop)
    ko-KR:
        description: |
            Snapdrop은 Apple AirDrop에서 영감을 받은 셀프호스팅 로컬 파일 공유 솔루션입니다. Node.js와 WebRTC로 구축되어 같은 네트워크의 기기 간 피어투피어 파일 전송을 지원합니다. 데이터베이스나 계정 불필요.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Snapdrop에 접속할 도메인
        readme: |
            # Snapdrop

            Apple AirDrop에서 영감을 받은 브라우저 기반 파일 공유 도구.

            ## 배포 후 할 수 있는 것

            아무 기기에서 도메인에 접속. 같은 인스턴스의 모든 기기가 자동으로 표시됩니다.

            **P2P 전송:** WebRTC로 기기 간 직접 전송. 서버를 거치지 않습니다.

            **등록 불필요:** 계정 없이 URL만 열면 공유 시작.

            **크로스플랫폼:** 모던 브라우저가 있는 모든 기기에서 사용 가능.

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/RobinLinus/snapdrop)
    th-TH:
        description: |
            Snapdrop เป็นโซลูชันแชร์ไฟล์ภายในเครือข่ายแบบ self-hosted ที่ได้แรงบันดาลใจจาก Apple AirDrop สร้างด้วย Node.js และ WebRTC ช่วยให้ถ่ายโอนไฟล์แบบ peer-to-peer ระหว่างอุปกรณ์ในเครือข่ายเดียวกัน ไม่ต้องใช้ฐานข้อมูลหรือบัญชี
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Snapdrop
        readme: |
            # Snapdrop

            เครื่องมือแชร์ไฟล์ผ่านเบราว์เซอร์ที่ได้แรงบันดาลใจจาก Apple AirDrop

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

            เปิดโดเมนจากอุปกรณ์ใดก็ได้ อุปกรณ์ทั้งหมดที่เชื่อมต่อจะปรากฏอัตโนมัติ

            **ถ่ายโอน P2P:** ไฟล์ส่งตรงระหว่างอุปกรณ์ผ่าน WebRTC

            **ไม่ต้องลงทะเบียน:** ไม่ต้องมีบัญชี เปิด URL แล้วแชร์ได้ทันที

            **ข้ามแพลตฟอร์ม:** ใช้งานได้บนอุปกรณ์ใดก็ได้ที่มีเบราว์เซอร์ที่ทันสมัย

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

            GPL-3.0 — [GitHub](https://github.com/RobinLinus/snapdrop)
    zh-CN:
        description: |
            Snapdrop 是受 Apple AirDrop 启发的自托管局域网文件共享方案。使用 Node.js 和 WebRTC 构建，通过简洁的 Web 界面在同一网络的设备间进行点对点文件传输。不需要数据库或账号。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Snapdrop 的域名
        readme: |
            # Snapdrop

            受 Apple AirDrop 启发的浏览器式文件共享工具。

            ## 部署后可以做什么

            从任何设备打开域名，同一实例的所有设备会自动出现。

            **点对点传输：** 文件通过 WebRTC 直接在设备间传送。

            **无需注册：** 不需要账号，打开网址即可分享。

            **跨平台：** 任何现代浏览器都可使用。

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/RobinLinus/snapdrop)
    zh-TW:
        description: |
            Snapdrop 是受 Apple AirDrop 啟發的自架區域網路檔案分享方案。使用 Node.js 和 WebRTC 建構，透過簡潔的 Web 介面在同一網路的裝置間進行點對點檔案傳輸。不需要資料庫或帳號。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Snapdrop 的網域
        readme: |
            # Snapdrop

            受 Apple AirDrop 啟發的瀏覽器式檔案分享工具。透過 WebRTC 點對點連線在裝置間傳輸檔案。

            ## 部署後可以做什麼

            從任何裝置開啟網域，同一 Snapdrop 實例的所有裝置會自動出現。

            **點對點傳輸：** 檔案透過 WebRTC 直接在裝置間傳送，不經過伺服器。

            **無需註冊：** 不需要帳號，開啟網址即可開始分享。

            **跨平台：** 任何具有現代瀏覽器的裝置都可使用。

            **文字分享：** 除了檔案，還可在裝置間傳送文字訊息和連結。

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/RobinLinus/snapdrop)
