← @bgSponge

GitHub - andunieee/flipflop: filesharing for the meatspace era

Summary

andunieee shows flipflop is a Rust P2P filesharing app using iroh and BLE that works offline without internet.

  1. Flipflop uses Rust for P2P networking.

    The core is the flipflop crate written in Rust. It connects peers via iroh over IP, relay, or Bluetooth LE.

    Rust peer-to-peer app (desktop and Android) with a Freya UI. Peers connect with iroh.

  2. Discovery works via LAN, QR, and BLE.

    Devices announce over mDNS or scan BLE GATT services. QR codes share tickets for adding peers manually.

    LAN: devices announce over mDNS (service _flipflop._udp) with their name; they appear under Nearby.

  3. Groups sync via Automerge documents.

    Each group holds one Automerge document syncing member lists, file offers, texts, and scratchpad data over iroh.

  4. Guest links allow browser access.

    Anyone joins a group via a secret token link. The page syncs the document over WebSocket or iroh stream.

  5. Music plays without downloading files.

    Songs live in the group document but play as ranges from the offerer. The player runs on 127.0.0.1.

Highlights

  • Establish a trusted tunnel between two or more devices: from that point on one can send files to the other anytime.

  • It works through bluetooth, LAN or even through the wild internet.

  • Because Apple hates the world even more, I can't publish it for iOS.

Read the original ↗Save to Sponge

Summarized with Sponge. Quotes are the author’s own words.

More from @bg

All readings →