https://codeberg.org/blast/blastqr

Hello! I’ve been working on blastQR for a couple of years now and I thought this community might find it useful. Feel free to try it and ask me anything!

blastQR is a fully open-source file transfer app and protocol that works completely offline. You can even use it in airplane mode. Data is transferred through sequences of QR codes displayed on a sender device and scanned by a receiver device’s camera. It uses RaptorQ codes so the receiver can recover the file from any sufficiently large subset of frames.

Note that although I have made use of AI as a coding assistant I do not consider this to be a vibe-coded app and I do plan to continue improving it and supporting it in the future.

See video of blastQR in action: https://github.com/user-attachments/assets/038a2567-70c8-47c8-b165-dea858d1aef3

Here are some of the key features:

  • Works fully offline: No internet, Wi-Fi, Bluetooth or servers. Your data stays offline.
  • One-to-many distribution: Share the same file with multiple devices simultaneously using a single blastQR broadcast.
  • Cross-platform: Android, iOS, macOS, Linux and Windows, plus a command-line tool that can send from a terminal, even over SSH.
  • Password encryption: You can optionally encrypt files with an auto-generated password or a custom one.
  • Media compression: The app supports lossy image compression and video transcoding for quicker transfers.
  • Multiple codes on screen: Shows multiple QR codes at once for higher speed. With 8 codes at 60 fps, transfers peak at around 1.4 MB/s.
  • Send multiple files in one go: They’re zipped into one transfer and unpacked into separate files on the receiver.
  • Sound feedback: The receiver plays a short tone when it has the whole file, and the sender stops automatically when it hears it.
  • Start scanning at any point: No need to catch every code, just keep the camera on the screen until it’s done. Blurry or missed codes don’t matter.
  • Regular QR scanner: You can also scan normal QR codes and save them.
  • Open protocol that other apps can implement
  • Built-in file manager

I’m trying to build a small community around the project so it can be improved and maintained and so it can reach more people in the future.

Downloads for all platforms can be found here: https://codeberg.org/blast/blastqr/releases/latest

  • alessandro@lemmy.ca
    link
    fedilink
    arrow-up
    13
    ·
    6 days ago

    I wonder if this can be arranged with two bidirectional telescopes (or maybe two telescope and 2 projectors on walls:how many qr-codes you can stuff on a square meter to be seen in long distance?) for some sort of wifi; not for a good ping but some sort of cheap/quick wireless connectivity

    • milk@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      6 days ago

      Visible light communication over free air is something that has been studied for decades but usually it’s 1D (i.e. tranmit a single signal instead of a 2D QR code) because cameras are slow. You can theoretically get absurdly high data rates, potentially TbPS. I actually did that for my engineering capstone project🙂

    • blast@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      5
      ·
      6 days ago

      that sounds like a really fun experiment! the protocol would need some tweaking to be able to continuously stream data. other than that it would probably work fine if the image is clear enough!

  • phtheven@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    7 days ago

    Does this mean an IP cam pointing to a monitor can compromise an air gap? I guess it always could, just at 1.4mbps now

    • captcha@lemmy.frozeninferno.xyz
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 days ago

      I believe IP cameras usually can’t reach fidelity and frame rate needed for 1.4 mb/s

      And yes, programs like this existed, so it always could

  • SethW@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    6 days ago

    This seems like re-inventing the IR Blasters we had on our laptops and phones in 2005 (think some game handhelds also)

  • freijon@lemmy.zip
    link
    fedilink
    arrow-up
    5
    ·
    6 days ago

    This is a great idea! I’ll be using this to transfer files between my work computer and my phone, which today is very cumbersome due to the enterprise firewall. What I do today is upload a file to an email draft and open the draft on the phone. Maybe instead of pure files there could be a clipboard mode as well? I’ll create a Gentoo package for the CLI.

    • blast@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      6 days ago

      Thank you! That is actually a very good use case and it should work well for it. Let me know if you run into any problems. The clipboard mode idea sounds interesting too. How do you imagine it would work?

      In the cli you can already do something like this to send the clipboard contents:

      wl-paste | blastqr

      the command might be something different for your system though. wl-paste is the wayland version

  • Julrob@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    7 days ago

    Whats the advantage over bluetooth, local ftp serverr/hotspot and other wifi sharing methods?

      • Julrob@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        Yeah this is kind of obvious. I am still wondering in which scenario this becomes relevant that there is no blutooth available or some other wifi hotspot connection.

        or is this some hypothetical prepper scenario? you are in a war trench and dont want to activate wifi or bluetooth so the enemy can spot you?😂

        Dont take me wrong, this is a serious question. If somebody invest time to develop an app, there is probably a found reason behind it. But I have not fully understood the use case of it.

    • datendefekt@feddit.org
      cake
      link
      fedilink
      arrow-up
      2
      ·
      6 days ago

      Doesn’t require pairing or authentication, just any video medium. Think signage: at concerts, billboards, tv or other video feeds. Can transmit data over long distances, doesn’t require any energy. It’s a low barrier method to broadcast data.

  • Silic0n_Alph4@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    6 days ago

    That’s a very clever idea - good job! I am aware of Luby Transform and Raptor codes but not RaptorQ codes - that’ll make for some interesting reading later.

    I particularly like the idea of visual filesharing with no network transmission that could be intercepted - although a determined nation-state actor would just compromise hardware & OSes instead. For ultra-private comms there’s also Van Eck phreaking to consider, but we’re going a bit too deep down the rabbit hole here!

    Very cool project. If you’re going to patent it or publish a paper on the subject, don’t wait too long.