Skip to content

Rust implementation of NearbyShare/QuickShare from Android for Linux.

License

Notifications You must be signed in to change notification settings

polnico/rquickshare

 
 

Repository files navigation

rquickshare

NearbyShare/QuickShare for Linux

CI CI

demo image

Installation

You simply have to download the latest release. At the moment, only Deb, Rpm and AppImage are generated and supported.

Debian

sudo dpkg -i r-quick-share_${VERSION}_amd64.deb

RPM

sudo rpm -i r-quick-share-${VERSION}-1.x86_64.rpm

AppImage (no root required)

AppImage is a little different. There's no installation needed, you simply have to give it the executable permission (+x on a chmod) to run it.

chmod +x r-quick-share_${VERSION}_amd64.AppImage

You can then either double click on it, or run it from the cmd line:

./r-quick-share_${VERSION}_amd64.AppImage

Snap

The snap is not yet on the store, but you can install it with the following (you may need sudo).

snap install --dangerous r-quick-share_${VERSION}_amd64.snap

Unofficial Installation

AUR (Arch)

For Arch Linux, you can install it from the AUR by using an AUR helper like yay.

yay -S r-quick-share

Nix

Available here: NixOS:

A nix-shell will temporarily modify your $PATH environment variable. This can be used to try a piece of software before deciding to permanently install it.

$ nix-shell -p rquickshare

Limitations

  • Wi-Fi LAN only. Your devices needs to be on the same network for this app to work.

FAQ

My Android device doesn't see my laptop

Make sure both your devices are on the same WiFi network. mDNS communication should be allowed on the network; it may not be the case if you're on a public network (coffee shops, airports, ...).

My laptop doesn't see my Android device

For some reason, Android doesn't broadcast it's mDNS service all the time; even when in "Everyone" mode.

As a workaround, you can use the "Files" app on your android device and go to "Nearby Share" tab (if it's not present, continue reading).

A second workaround, you can download a Shortcut maker (see here) to create a shortcut to the particular intent:

  • Method A:

    • Activity: com.google.android.gms.nearby.sharing.ReceiveSurfaceActivity
  • Method B:

    • Action: com.google.android.gms.RECEIVE_NEARBY
    • Mime type: */*

Note: there's a current WIP to add a BLE advertisment in RQuickShare to overcome this. Note2: Samsung did something shady with Quick Share, so the above workaround may not work. Unfortunately, there's no alternative at the moment. Sorry.

Once I close the app, it won't reopen

Make sure the app is really closed by running:

ps aux | grep r-quick-share

If you see that the process is still running, it's because the app is not closed. This may be an intended behavior: when closing the window, the app won't stop and instead is still running and accessible via the system tray icon. But if your distribution doesn't support/don't have enabled them, it may be an issue for you.

If you want to really close the app when clicking on the close button, you can change that inside the app by clicking on the three dots and then "Stop app on close".

My firewall is blocking the connection

In this case, you may want to configure a static port to allow it in your firewall. You can do so by modifying the config file as follow:

rtin :: ~ » vim ./.local/share/dev.mandre.rquickshare/.settings.json

{
	...existing_config...,
	"port": 12345
}

By default the port is random (the OS will decide).

WIP Notes

rquickshare is still in development (WIP) and currently only supports Linux even tho it should be compatible with macOS too. Keep in mind that the design may change between versions, so flexibility is key.

Got feedback or suggestions? We'd love to hear them! Feel free to open an issue and share your thoughts.

Credits

This project wouldn't exist without those amazing open-source project:

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Rust implementation of NearbyShare/QuickShare from Android for Linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 79.4%
  • Vue 13.1%
  • TypeScript 2.5%
  • CSS 2.4%
  • JavaScript 2.2%
  • Shell 0.2%
  • HTML 0.2%