spacedriveapp / spacedrive

Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
https://spacedrive.com
GNU Affero General Public License v3.0
29.33k stars 835 forks source link

Serve files over p2p #2523

Closed oscartbeaumont closed 3 weeks ago

oscartbeaumont commented 3 weeks ago

This PR implements the ability to serve the contents of files over P2P. This is used within the app for quick preview.

It's worth noting that files and thumbnails are handled differently and this PR does not cover thumbnails (refer to #2524 for it).

Not for merge: Although the P2P code in this PR works an issue with sync is breaking it in the real world. Will fix in a follow up PR.

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
relay_test ❌ Failed (Inspect) May 30, 2024 1:56pm
spacedrive-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 1:56pm
spacedrive-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 1:56pm