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
9.96k stars 529 forks source link

[enhancement] Right-click context menu shortcuts for qrcp (Windows) #259

Closed egemenertugrul closed 10 months ago

egemenertugrul commented 1 year ago

I realized that this tool would be much more useful with the added feature of using right-click context menu on selected items/directories to send/receive files.

So I created some helper scripts to add & remove the necessary shortcuts and registry keys & values on Windows machines:

Attached: qrcp_context_menu_helper.zip

I hope it helps!


Installation:

Run ADD.bat to install, REMOVE.bat to uninstall the key/values and shortcuts. That's it.

Usage:

Send:

Single:

To send a single file, right-click on the selected file, and select qrcp send. send_single

Multiple:

To send single or multiple files (zipped), right-click on the selected file(s), Share, and select qrcp Send Multiple. send_multiple

Receive:

To receive files to the selected directory, right-click in an empty spot of the folder, and select qrcp receive. receive_multiple

Note: If config.json has the output field set, it will receive files to that specified path regardless. So make sure to clear it to use this functionality.


The primary problem for me here is that I am unsure how to PR this feature to this repository, as it is 100% Go and non-Windows specific.

In addition, if the .exe file could get an icon, it would be straightforward to add icons to these shortcuts as well.

claudiodangelis commented 1 year ago

This is fantastic, thanks! Will review soon and let you know. Thanks, C

claudiodangelis commented 10 months ago

Hello @egemenertugrul , apologies for the late follow up! It's been almost one year :see_no_evil: What about creating a repository on your own with these scripts and a detailed README with all the information you wrote above? This way people from the community will be able to improve it, suggest new ideas and so on. Once done, I will be happy to put a link to the repository in the README of qrcp.

Thanks again for taking the time to work on this, Claudio

claudiodangelis commented 10 months ago

I will close this issue for now, thanks!