Skip to content

romanzy313/fpps

Repository files navigation

fpps (real name TBD)

A peer-to-peer file sharing application. Supports two-way uploads using a concept of "rooms".

Getting Started

  • pnpm dev - Starts a dev server at http://localhost:5173/

  • pnpm build - Builds for production, emitting to dist/. Prerenders all found routes in app to static HTML

  • pnpm preview - Starts a server at http://localhost:4173/ to test production build locally

Self Host

TODO: tutorial here

Technologies

  • 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.

TODOS:

  • Errors dont display as such
  • Abrupt disconnect messes up error handling (stuck at transferring)
  • Currupted file transfers?

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published