• 1 Post
  • 12 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2025

help-circle
  • You bring up great points!

    Here are some benchmarks including videos (Note that these are best case conditions): https://codeberg.org/blast/blastqr#real-world-benchmarks

    Most of the testing I did with my now 7 years old Galaxy S10e. It only scans at 30FPS but it can handle 6 codes at once which is a pretty decent 420 kB/s. During testing on the iPhone 17 which can scan at 60 or 120fps I think the CPU did not become the bottleneck until around 8 codes at more than 90fps. That is something I still need to test and document more thoroughly though.

    I do use standard QR codes. By default Version 40 which can store almost 3 KB. It is configurable in the app’s settings.

    Regarding color, libcimbar (https://github.com/sz3/libcimbar) is a project that does exactly that although the speeds are not quite as high yet. Additionally, one of the cpu optimizations in blastQR (and qr scanners in general) is to drop color so that each frame that gets copied in memory is smaller. It makes a difference when you’re processing at high fps.



  • Some of the use cases I thought about:

    • Regular file transfers: It works well as long as the files are not too big. I use it often between my phone and laptop.
    • Sensitive information: You can transfer files without relying on cloud services or network infrastructure. There’s a password encryption feature for that. If you don’t enable that someone could decode the information from the QR codes.
    • Broadcast on a large screen so multiple devices can receive data without requiring an internet connection during internet outage/government internet crackdown.
    • Air-gapped systems: Transfer files to and from devices that are not connected to a network.

    Hopefully people will find new and interesting use cases for it too.




  • 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.




  • 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.



  • 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