

I think you’re right and it might be worth experimenting. For now I’ve created a wiki page to list techniques and research and write down ideas for performance improvements: https://codeberg.org/blast/blastqr/wiki/Performance-improvement-ideas


I think you’re right and it might be worth experimenting. For now I’ve created a wiki page to list techniques and research and write down ideas for performance improvements: https://codeberg.org/blast/blastqr/wiki/Performance-improvement-ideas


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


this paper (by us military 🤮) actually talks about something very similar: https://www.sciencedirect.com/science/article/abs/pii/S0030401826004906


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!


For those asking about RGB, there are a few reasons why QR codes work better for now:
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


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


The app is limited to 6 right now but I’ll work on increasing it! The CLI tool does allows up to 12. Make sure you use Ghostty or Kitty for high frame rates if you do decide to try it.
A lot of phones cap the camera preview at 30fps actually so 60fps is quite good already. From the devices I tested only the iPhone let me select 60,120,240. You can see some benchmarks here: https://codeberg.org/blast/blastqr#real-world-benchmarks I don’t think you are missing out on performance if you can scan at 60fps. I recall at 120 the cpu was starting to be the bottleneck but I’ll have to do some more testing to confirm.


Some of the use cases I thought about:
Hopefully people will find new and interesting use cases for it too.
EDIT: I’m adding use cases mentioned by users in this wiki page: https://codeberg.org/blast/blastqr/wiki/Interesting-use-cases


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.


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


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!


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
Thank you very much! just made an update and the desktop version can show up to 15 codes now.