Menu
Libraries |
Category

zero-share

  • A client-side secure P2P file sharing solution using WebRTC technology

  • Key Features:

    • Enables parallel transfer of multiple files
    • Generates SDP connections for WebRTC data channels
    • Serverless architecture (only uses public STUN servers for ICE candidates)
    • Implements PGP encryption for additional security
    • Responsive UI with QR code scanning and clipboard paste functionality
    • Uses [sdp-compact](https://github.com/ntsd/sdp-compact fa-solid fa-up-right-from-square) for shortened SDP
  • How It Works:

    • Uses ICE protocol to establish direct peer connections through NAT
    • Secures transfers with DTLS and adds PGP encryption (RSA-OAEP-1024, AES-128) as a second layer
    • Example workflow:
      1. Offer generates link → sends to answer
      2. Answer opens link → sends response
      3. Offer accepts → secure file transfer begins
  • Target Audience:

    • Users needing secure, direct file transfers without server intermediaries
    • Developers interested in WebRTC implementations
  • Known Limitations:

    • Potential firewall blocking during transfers
    • Performance may vary depending on STUN server availability
  • Open Source:

    • MIT Licensed
    • Accepts community contributions following Conventional Commits

Note: While built with Svelte, framework implementation details are secondary to the core WebRTC functionality.

file-sharingsveltewebrtcp2pdata-sharingdata-transferfile-transferhacktoberfestastro

Comments