How vantezzen/blymp-io works
Project type and purpose
• blymp.io is a full-stack web application (PWA) for peer-to-peer file transfers across devices.
• It uses React/TypeScript on the frontend, Node.js/Express on the backend, WebSockets for signaling, WebRTC DataChannels for file transfer, and zlib for optional compression.
File structure
• Top-level:
• src/client/ — React/TypeScript frontend
• src/server/ — Node/Express signaling server (socket.js)
• Configuration: Dockerfile, fly.toml, webpack.config.js, babel, ESLint, Tailwind, tsconfig.json
• Patterns:
• Client organized into components, pages (Next.js-style routes), and service classes (Connection, UploadService, DownloadService, compression processors)
• Server is a lightweight signaling endpoint using WebSockets (socket.js)
README for additional insights
• Confirms use of WebRTC, WebSockets, PWA, zlib compression, no persistent database.
• Explains build flow: webpack → dist, server serves both API and static assets.