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

  • Domi@lemmy.secnd.me
    link
    fedilink
    arrow-up
    2
    ·
    13 days ago

    Is this the future version of holding two phones together to transmit files via infrared?

  • phtheven@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    13 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
      2
      ·
      12 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

  • Fmstrat@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    13 days ago

    So a fun use case you may not have considered is back country GPX sharing. A plugin for Osmand (a very popular FOSS mapping app for back country use) would be neat. Sharing when airplane mode between devices is always needed.

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

      That is a fenomenal idea! I hadn’t thought about it and these are the exact kind of situations it could solve well. I’ll definitely add it to the roadmap. Thank you

  • TerHu@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    13 days ago

    Since you advertise it for Obtainium, would you mind adding the key for verification with AppVerifier? I didn’t find it in the readme and release.

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

      Thank you for the suggestion!

      dev.blastapps.blastqr 60:E3:A6:C0:63:1D:C3:A0:0C:78:E4:C9:E4:89:B3:03:4F:A9:7D:49:D0:B9:3E:CF:56:B2:33:A8:C3:DD:F6:83

      it’s been added to the readme as well.

  • taco_shale032@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    13 days ago

    Note that although I have made use of AI as a coding assistant this is not a vibe-coded app

    Can you elaborate more on how AI was used?

    • blast@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      3
      ·
      13 days ago

      For context, I’m a software developer with around 15 years of experience. Most of it writing Android and iOS apps in Java, Kotlin, Swift and lately Dart (Flutter) + Rust which is what this project is written in.

      Although I did start the project from scratch I have lately been using Claude Code as a coding assistant. I write code myself but I also let it write or refactor parts of it. The CLI tool is the part that Claude has mostly written from scratch because it’s not something I had experience in writing before. That being said I also review all the code that Claude writes.

      Thanks for asking! there’s also some disclosure about this in the readme file

      • taco_shale032@lemmy.ml
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        13 days ago

        The CLI tool is the part that Claude has mostly written from scratch because it’s not something I had experience in writing before.

        This seems like the perfect opportunity to learn something new in my opinion, CLIs aren’t difficult to make. And you may want to consider moving to GitHub because of Codeberg’s ToS.

        • blast@lemmy.dbzer0.comOP
          link
          fedilink
          arrow-up
          3
          ·
          13 days ago

          I totally agree and I’m very open to welcome anyone who wants to rewrite that part or I might go for it myself in the future. The reason I went for it is that I really wanted to be able to use the CLI tool right away and the AI produced a good result so I left it in the project for now.

          About Codeberg I did read their blog post and I didn’t think my project falls into any of the cases they mention:

          spoiler

          Projects that are created by LLM “agents” in autonomous ways Projects written and maintained with heavy use of LLMs Projects where the amount of resources (e.g. storage, CI/CD) is significantly larger than what the involved amount of people could have created by hand Projects heavily tied to the LLM ecosystem, e.g. LLM-written tools to ease LLM usage Users sending LLM contributions in violation of project’s custom policies

          If they ever consider it infringing their ToS I could move it to GitHub where there’s already a mirror of the repo.

  • neon_nova@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    13 days ago

    I started working on something like this years ago, but I didn’t have the coding skills to pull it off. This is really awesome.

  • Guiorgy@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    13 days ago

    Interesting, though what if the receiver fails to scan the codes quicly enough?

    • blast@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      1
      ·
      13 days ago

      The cool part is that codes are generated indefinitely so basically you can keep scanning until you receive the data. You don’t need to capture every frame or scan in any particular order.

      This is made possible by raptorQ (https://github.com/cberner/raptorq) the fountain code encoding used by blastqr.

      Feel free to try it out!

      • deadalus@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        13 days ago

        How many pictures does it show per second? And do I understand that right, it cycles through the data until it hears the sound? I assume that makes sending large files difficult, since it has to wrap around all the data, right?

        • blast@lemmy.dbzer0.comOP
          link
          fedilink
          arrow-up
          1
          ·
          13 days ago

          You can tweak the FPS from the send page UI. it’s set to 25 fps by default for broader compatibility (most devices capture at 30fps) but if you have a more powerful device they can capture at 60 or 120fps and you can adjust the sender accordingly. Each frame carries around 3kB of data per frame (with the default settings) so at 25fps that’s 75kB/s. You can multiply the speed by showing more than one code. So two codes would give you 150kB/s

          The completion tone is optional. It basically just tells the sender that it can stop and t’s more for convenience. I want to expand it in the future so the receiver tells the sender what FPS to send at through sound tones.

          Regarding large files it can take a long time yes! The app includes lossy compression turned on by default when you send pictures or videos (similar to what all chat apps do) so it can send those quite fast. With default settings and showing 2 codes it can send 5 pictures in around 10 seconds for example or a 2MB video in the same time.

  • LeftReddit2@lemmy.world
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    13 days ago

    Note that although I have made use of AI as a coding assistant I do not consider this to be a vibe-coded app

    1. What KIND of AI did you use? Was it a local model or a cloud sourced one?

    2. Where exactly and what exactly was the AI used on?