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

  • freijon@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    5 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
      0
      ·
      edit-2
      4 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

  • SethW@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

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

  • Silic0n_Alph4@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 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.

  • alessandro@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    5 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
      0
      ·
      5 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
      0
      ·
      5 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!

  • tostane@thelemmy.club
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    you do know that that claude figured way to do this to talk to other llm and what you are doing will give them more routes to talk

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

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

  • SabinStargem@lemmy.today
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    I am thinking that maybe adding color would allow you to condense a lot more information into a QR code. It would be good if we can have entire programs and media reconstructed just from scanning QRs.

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

      For those asking about RGB, there are a few reasons why QR codes work better for now:

      • Black and white still reads fine in bad lighting or on cheap cameras. Phones are very optimized for scanning QRs so it’s more reliable and less error prone.
      • Video compression, colors shifting with white balance, screen type, all of those make it harder to tell colors apart so you need more aggressive error correction. The real gain ends up smaller than it sounds.

      You can already transfer entire (small) programs and media with blastQR btw! Feel free to try and report back. The limit is around 4 GB files but that would take ages.

      That said, there is a project called libcimbar that is improving and does work with colors: https://github.com/sz3/libcimbar

      • AdrianTheFrog@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 days ago

        I feel like better calibration patterns could largely address those issues. Since it’s temporal you could even have a frame that just shows every single color combination, and then have maybe something in the timing pattern for example to correct for deviations after that. Compression might be a large issue though, since chroma is always compressed more than luminance. I feel like multiple bits per pixel might even be possible, depending on how good your camera is.

  • rmuk@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    Seems finicky. Keeping the camera and screen aligned during the transfer. Someone should research if it’s possible for two phones to send data acoustically. Then they don’t need to be kept perfectly aligned. Hell, they could even transfer data over a phone call or something.