claudiodangelis / qrcp

:zap: Transfer files over wifi from your computer to your mobile device by scanning a QR code without leaving the terminal.
https://qrcp.sh
MIT License
10k stars 529 forks source link

Implement as drag-and-drop desktop app #35

Closed claudiodangelis closed 3 years ago

claudiodangelis commented 6 years ago

Not all users are tech-savvy enough to use command-line tools, what about bringing the concept of "scan & transfer" to regular desktop apps?

There might be a couple of usages, for example:

  1. User launches the app, the main window is just a panel through which they can drag and drop the file(s) onto, or click a good old "Select file(s)" button
  2. User drags the file(s) onto the app icon itself (I think many mac apps work this way)

Afterwards, a QR code is displayed and users can scan & download.

What do you think? Please share your ideas on this, thank you!

FrontMage commented 6 years ago

I think if the user is on Mac or Windows, there are many im clients have this file transporter which allows them simply transfer files or other stuff to your phone. Which skips the scan part, because users have native apps installed both on pc and phone.


However, I suppose there is a need for transferring files from remote server to local, I'm preparing to fork and make a version works on a remote server.

evilsocket commented 6 years ago

Q: what's your plan for implementing cross platform d&d support? if you found a framework or something that makes that "easy", then i definitely think this is a great feature to add, otherwise it might be quite complicated to implement (and support across os updates) from scratch. In this second case, the question is: is it worth it? m2c

aust-n commented 6 years ago

I think a drag and drop functionality should be implemented simply as it adds to the app experience. You hit the nail on the head when you said that command-line execution of the app can be tedious for the non-tech-savvy. The functionality adds accessibility and ease of use to the app however, it might be fairly difficult to implement,

claudiodangelis commented 6 years ago

I'm bookmarking this QML frontend + Golang backend project (a popular clone of Sublime Text), it looks like a good approach: https://github.com/limetext/lime

Edit:

claudiodangelis commented 6 years ago

I'm bookmarking this library as well: zserge/webview

Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and MSHTML (Windows) https://github.com/zserge/webview

evilsocket commented 6 years ago

yeah i was looking at this webview and looks simple and promising :D

hellozee commented 6 years ago

What about using andlabs/ui , we do need to package the c library but we can avoid webview this way.

claudiodangelis commented 5 years ago

Another GUI library I just came across: https://github.com/fyne-io/fyne

CheatCoder commented 4 years ago

What about using andlabs/ui , we do need to package the c library but we can avoid webview this way.

The only Problem is this has no image Support(only in tables), how would you Show the qr-code in this libary?

When we need Image then i prefere fyne as a Desktop app.

pearl2201 commented 4 years ago

I just clone to c# and add simple graphic ui.

https://github.com/pearl2201/qrcp

Naheel-Azawy commented 2 years ago

In case anyone lands here in the future, here's my wrapper https://github.com/Naheel-Azawy/qrcp-win-ui

faveoled commented 8 months ago

Here's my take in Flutter: https://github.com/faveoled/qrshare