Hasty Briefsbeta

Bilingual

Building current, a browser-based file sharing tool, with Rust and WASM

14 hours ago
  • #Rust Programming
  • #Web Development
  • #File Sharing
  • Current is a file-sharing website (soon an app) for sending files of any size without cloud storage.
  • Built on iroh-blobs, it addresses slow cloud transfers and large file handling issues in DJ work.
  • It includes a Rust core, TypeScript wrapper, and web/Swift UI, with features like progress tracking and cancellation.
  • FFI challenges were overcome using a forked BoltFFI with customizations for WASM and async support.
  • Memory optimization for large files in browsers uses IndexedDB to avoid loading entire files into RAM.
  • Performance testing shows varied speeds, with web-to-web transfers at 75s for 500MB, and native transfers faster.
  • Future plans include monetization for faster relay servers and potential open-sourcing.