A peer-to-peer file sharing application. Supports two-way uploads using a concept of "rooms".
-
pnpm dev- Starts a dev server at http://localhost:5173/ -
pnpm build- Builds for production, emitting todist/. Prerenders all found routes in app to static HTML -
pnpm preview- Starts a server at http://localhost:4173/ to test production build locally
TODO: tutorial here
- WebRPC: peer-to-peer communication
- Preact frontend for a slim SPA experience
- Minimal server infrastructure: encrypted signaling via http/SSE to establish peer to peer connectivity
- Upload/download folders using fflate, for single file download and compression!
- Using StreamSaver.js library to download files as a writable stream.
- Errors dont display as such
- Abrupt disconnect messes up error handling (stuck at transferring)
- Currupted file transfers?