sz3 / cfc

Demo/test android app for libcimbar. Copy files over the cell phone camera!
https://cimbar.org
MIT License
226 stars 25 forks source link

Is is possible to have a web or iOS client to decode and receive files? #33

Open troilus opened 2 weeks ago

sz3 commented 2 weeks ago

edit: I can't read, bear with me as I edit this into something sensible :laughing:

It should be possible. I've been thinking (quite a lot) about writing a web app for the decoder.

gaowanliang commented 1 week ago

I've been following this project lately and find it interesting, I'll be spending some time writing a client in Flutter that will support Android, iOS, Linux, macOS and Windows platforms (no web support), as well as redesigning the app using Material Design 3, the current app looks a bit spartan.

PS: After my research, the functionality I mentioned above may be difficult to implement via flutter, frame parsing via camera alone is difficult to implement cross-platform, not to mention parsing using the more complex functions in opencv. I might try it, but it might not be possible.

sz3 commented 1 week ago

I wrote up thoughts on the approach I hope to take here: https://github.com/sz3/libcimbar/issues/71#issuecomment-2337147651

But other R&D attempts at frontends are welcome. Ideally the libcimbar component will evolve into something that can act as a native interface accepting a sequence of (e.g.) rgb/bgr buffers and either returning a final byte buffer on completed transfer (this seems more flexible), or writing the file itself. The UI components can then concentrate -- hopefully -- on UI things.

iuvi7 commented 1 day ago

edit: I can't read, bear with me as I edit this into something sensible 😆

It should be possible. I've been thinking (quite a lot) about writing a web app for the decoder.

Yes PLEASE! I found it easy to send files by airgap from my Notebook to my Android, but i can not find any solution to screen-cast QR's as files from Android to Notebook, so it can works both directions. As well as offline version with ,js (maybe integrate scanner into html?

Thanks :)