thevindu-w / clip_share_server

Share Clipboard across devices. Share copied files and screenshots securely. Free and open-source tool that works on Windows, Linux, macOS, and Android.
GNU General Public License v3.0
67 stars 6 forks source link

Enable the module in Homebrew services #29

Open UsamaKarim opened 3 days ago

UsamaKarim commented 3 days ago

Thanks. Your solution looks good.

  1. Can you please make the server as homebrew services?
  2. Please let it able to install and update with homebrew
thevindu-w commented 3 days ago

Is the requirement of making the app available in homebrew is to make it auto-update? If so, will it be sufficient to create an auto-update script that can automatically check for updates periodically and install them? If an auto-update script is not sufficient and homebrew is really necessary, I will try to make it available with homebrew (it may require some time).

UsamaKarim commented 2 days ago

Is the requirement of making the app available in homebrew is to make it auto-update? If so, will it be sufficient to create an auto-update script that can automatically check for updates periodically and install them? If an auto-update script is not sufficient and homebrew is really necessary, I will try to make it available with homebrew (it may require some time).

homebrew provides ease of access for installing/updating/uninstalling the scripts and apps. Currently the clip share server is automatically being stopped by OS and I have to manually start it again. There are few homebrew services I am currently using like ollama and spoofdpi and these are never automatically stopped and starts again on the system reboot.

thevindu-w commented 2 days ago

Currently the clip share server is automatically being stopped by OS and I have to manually start it again.

Did you install ClipShare using the installer script or did you manually run the executable? If it's installed using the installer script, it should automatically start once you log in. If it stops automatically, that may be a bug. Did you notice when it stops automatically (ex: it doesn't auto-start on boot/login, or it works for some time and stops while you are logged in)? Also, does it just stop accepting connections or does it stop all the clip_share processes? (You can check this by pgrep clip_share command. It should have at least 2 processes, but usually there should be 3 processes running)

Btw., I started to create a brew tap for ClipShare, but it might take some time to complete. It would be better if the current issue with ClipShare (being stopped by OS) could be fixed before getting it in Homebrew, as if this gets stopped automatically by OS, this issue can still affect even if you use a brew service for ClipShare.

UsamaKarim commented 2 days ago

I installed it with installer. Currently I have no clue when the connection was stopped. I'll try to debug the issue and let you know if found anything.

Thanks for taking into consideration.