Giter Club home page Giter Club logo

landrop's Introduction

Package

Drop any files to any devices on your LAN. No need to use instant messaging for that anymore.

LANDrop is a cross-platform tool that you can use to conveniently transfer photos, videos, and other types of files to other devices on the same local network.

You can download prebuilts of LANDrop from the official website.

Features

  • Cross platform: when we say it, we mean it. iOS, Android, macOS, Windows, Linux, name yours.
  • Ultra fast: uses your local network for transferring. Internet speed is not a limit.
  • Easy to use: intuitive UI. You know how to use it when you see it.
  • Secure: uses state-of-the-art cryptography algorithm. No one else can see your files.
  • No cellular data: outside? No problem. LANDrop can work on your personal hotspot, without consuming cellular data.
  • No compression: doesn't compress your photos and videos when sending.

Building

The AppImage we provide as the prebuilt for Linux might not work on your machine. You can build LANDrop by yourself if the prebuilt doesn't work for you.

To build LANDrop:

  1. Download and install the dependencies: Qt and libsodium
    If you are using a Debian-based distro, such as Ubuntu, you can install libsodium via
    sudo apt install libsodium-dev
    
  2. Clone this repository
    git clone https://github.com/LANDrop/LANDrop
    
  3. Run the following commands
    mkdir -p LANDrop/build
    cd LANDrop/build
    qmake ../LANDrop
    make -j$(nproc)
    sudo make install
    
  4. You can now run LANDrop via
    landrop
    

landrop's People

Contributors

tmacychen avatar yvbbrjdr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

landrop's Issues

Error in Ubuntu (Could not load the Qt platform plugin "xcb")

  • platform: Ubuntu18.04
  • error

When executing the AppImage, I encountered the following error:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted (core dumped)

Thanks for your great work and looking forward to your suggestions!

Any Port (52637, ...) binding error

2021-09-01_183001

Even If I change default port to any other port or starting app with or without admin credentials I get that error.

  • Windows 10
  • LANDrop 0.4.0
  • router port forwarding any other port

About Errno: 13

image
device: Pixelbook 2017
CPU: Intel i5 7y54
program version: 0.1.2
android version: Android 9
Chrome OS version: 90.0.4430.215
可以的话请用中文回复,谢谢

Command line only version

Thank for you a great project.

An enhancement I feel would be popular is a command line only version of the receiver. Such that it could be left running as a background process, maybe with some flags to specify the download directory, accept anonymous connections, etc

Currently it seems as if it requires an X display of some kind, which is unusable for headless systems or systems that don't have a display environment.

Don't store file on mobile app

When transferring file on the mobile app, files are copied into whatever photos/videos app is there. It seems than LANDrop keeps a copy.
I could understand the want for such a feature but it would be better if it was a setting so it's more visible, and also a "select all" or "delete all" button would be nice.

I just found out that LANDrop was using 5GB on my device and was very surprised as to why.

Running the AppImage on Linux doesn't display any UI window

I downloaded the latest AppImage (as of 06/12/2021) to ~/.local/bin, provided executable permission, and then added the desktop entry in ~/.local/share/applications.

When I try to open the application using the icon from launcher, nothing happens. I just get a notification saying "LANDrop is launched here".
When I try to open it once again, I get an error message saying port 52637 is already in use.

Checked running process and killed both instances of AppRun.wrapped.

Tried starting the application using the AppImage directly. Same result.

OS: Ubuntu 20.04.2 LTS (Focal Fossa)

Extra attributes

Transferred files losing their extra attributes (like +x flag on executables).
This is much more painful on Haiku, where the files can have tons of extra attributes. Any way to support to transfer them too?

New feature suggestion: chat

Is it possible to add the feature of sending text directly between devices? Otherwise you have to create a text file to share text. It is especially inconvenient on iOS devices.

Cant find location of files received on app running on android 11.

I transferred some files from a linux pc to an android 11 smartphone. File transfer seemed to complete normally.
Now I cannot locate the received files on the smartphone device.
What's the damn use of such an stateless app. Calling it stateless since it does not even retain the name of transferred files nor the chosen client name. Pretty major issues IMO.

iOS to iOS no devices show

Hi,
I like to use LANDrop from iPhone 5 (12.5.4) to SE (iOS 14.6).
But did not see any Devices, both enabled : discoverable

iPhone5:

IMG_0037

iPhone SE:

IMG_0035

IMG_0036

IMG_0038

How to fix ?

Deepin 15.11 can not launch

./LANDrop.AppImage
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

已放弃

Android 的默认文件保存路径

这软件收取文件似乎很特殊 (是否临时文件?),因为接受之后找不到文件的路径的,必须「Share」之后选择文件管理器再去保存。

是否可以像 Mac 一样,设置文件的默认接收路径,直接保存到指定的目录?

Software listening port setting error

Where is the configuration file of the LANDrop software under the windows platform? I set a wrong listening port, and now the software cannot be started, how to delete the configuration information

I can't send files to the PC on my Android phone.

The following text has been translated by translation software:
I can't send files to the PC on my Android phone. I added a file by clicking in the upper right corner, and then clicked on the computer logo. Nothing happened. I'm sure the two machines are under the same local area network, because at the same time, the PC can transmit files to the mobile phone.

原文:
我无法在安卓手机上向 PC 发送文件。我通过点击右上角添加了文件,再点击电脑的标识,什么都没有发生。我确定两台机器在同一局域网下,因为与此同时 PC 可以给手机传输文件。

Debian packages

Could you please consider to provide Debian package? If you are interested, I already made a packaging.

3个小建议

1、添加快捷键弹出发送页面
2、在文件右键菜单栏添加直接发送文件
3、禁止软件运行多个实例

PC cannot be connected by iphone

LANDrop whitch is Iphone's app can find my PC,but can not connect my PC.What's it worry?
Everything is ok,only this is problem.

Error handling

I tried a lot to share files between an iPhone and a Linux PC but without success 😞
In the issue tracker there are very similar problems like (#34, #35, #40, #14, etc.).
To solve these issues it would really help to be able to access error/debug logs & messages.

So my questions:

  1. Is it possible to enable a debug mode in the Mobile app?
  2. Is it possible to enable a debug mode in the Desktop app?

Cannot send files while PC is lan connecting and Phone is under Wi-Fi

Firstly, LanDrop is the best sending files app I ever used under internal network. Highly appreciated

But I found a bug while I use phone to send files to PC via LanDrop. App in phone can find PC but cannot send files. On the contact, PC send any files successfully to phones. I had test Android and iOS phone, this bug occurs in this two platform. I didnt have any MacOS so cannot provide proof if there were in MacOS
Plus, this bug occur whilePC is lan connecting. After PC switched to WiFi, everything is OK.

Hope it will be fixed and thanks 4 ur contribution

求助:当内网是由tailscale vpn建立时,设备之间无法互相发现

求助:当内网是由tailscale vpn建立时,设备之间无法互相发现。
然后手机APP上也没有手动填IP的位置,我也没第二台电脑,所以我也无法测试在这种情况下,手动填IP端口,landrop是否能用。但是内网肯定是建立起来了,因为我的SMB和RDP都是能正常使用的。VPN配置自身也没对端口出入做限制。都是全部放开。
(哦,如果是用路由器建立的192.168.1.x这种网段,landrop我这是能使用的,速度也能跑满,所以我本地客户端应该都没问题)

然后tailscale分配的IP是这样的

  • 100.88.192.114
  • 100.119.187.102
  • 100.82.1.83
  • 100.101.163.101

VPN官网:https://tailscale.com/
综上,谢谢:D

Is LANDrop browser or App-based (on sending side)?

I am unsure whether LANDrop is (at least on the sending side) is browser or app-based.

So if someone (e.g. on an iPhone or Android Smartphone) wants to send me a file: Is it required to install LANDrop on his device?
Or can he just drop it on his browser?

Installing LANdrop App on MY local Smartphone would be acceptable.

Failed in sending massive files from Android to MacOS

It's successful when I trying to sending 35 files from Android to MacOS, but failed when sending massive files.

I have the scenario for syncing massive photos from phone to Mac. Sometime one directory may contains massive files, which makes selecting files one by one almost impossible . So I use 'SELECT ALL' function for adding files, and the error comes with "the receiving device closed the connection". I confirmed this error only comes when I am trying to sending massive files.

If LANDrop supports sending directory feature also can fix this problem for this scenario.

Screenshot_20211011-023603

好用

好用,希望继续开发

The remote host closed the connection

There is no problem when I transfer files from Windows to macOS, but when I transfer files from macOS to Windows, I got: the remote host closed the connection

What should I do in this case?

Debian 10.10 error when I try to launch AppImage

Hello team

When I try to launch for the first time Landrop 0.4 on my debian 10.10, I receive in terminal output this message 👍

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

First, libsodium is installed and I even try with installation of full qt platform, anyway Landrop don't start ...

could someone help me?

I saw that it works well on debian 11, but for the moment debian 11 is too new for some things I use.

Best Regard,

Mtxrider.

Feature suggestion: add to share sheet on iOS

As a user, I would like to be able to send files by using the standard iOS share sheet. For example, if I am in the photos app:

  1. Select photo
  2. Click the share icon
  3. Select LANDrop app
  4. A window would appear allowing me to select the destination device

The next time I do this, the last device selected would be default.

Please see example from Discord

image

Encryption seems to be unsound

  • The encryption layer seems to be packet-based, with no sequencing at all
  • The protocol exchanges a list of files with sizes first (Handshake2), then enters a send/receive loop:
    • Sender sends TRANSFER_QUANTA (64K) of data in an encrypted packet
    • Receiver writes that data into the first file of the file list
    • If that file is full (file size reached), it goes to the next file

But because there is no sequencing, it would seem rather trivial for packets to be swapped around (especially for small files), which would then change the contents of files.

AppImage could not be start

version: 0.4.0

$ ./LANDrop-latest-linux.AppImage 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted

os version:

$ cat /etc/os-release 
NAME="elementary OS"
VERSION="5.1.7 Hera"
ID=elementary
ID_LIKE=ubuntu
PRETTY_NAME="elementary OS 5.1.7 Hera"
LOGO=distributor-logo
VERSION_ID="5.1.7"
HOME_URL="https://elementary.io/"
SUPPORT_URL="https://elementary.io/support"
BUG_REPORT_URL="https://github.com/elementary/os/issues/new"
PRIVACY_POLICY_URL="https://elementary.io/privacy-policy"
VERSION_CODENAME=hera
UBUNTU_CODENAME=bionic

kernel

$ uname -a
Linux element 5.4.0-75-generic #84~18.04.1-Ubuntu SMP Fri Jun 4 01:43:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

LANDrop on F-Droid

I sent the app for proposal on F-Droid so that it can be compiled and unstable from this repository.

If you don't want it I can delete the proposal!

Thanks for reading 😊

Bluetooth?

I know this is called 'LANdrop' but what if your phones are not on the same LAN, but are close to each other. Could you add the ability to use bluetooth to do the filetransfer?

My use case is ... I'm at a b-day party or other group event, and everyone has been taking photos/videos. Would love to have an easy way to share (full-size) photos/videos which each other. Whatsapp/Messenger etc all reduce quality of the photos when they sent them.

Bonus if you could somehow create a p2p bucket --where everyone can dump their files into, and everyone sync's to each other, as long as one client has a copy of all the files. Almost like an instant torrent, but whose contents can change dynamically.

Just my crazy ideas....

[Android] Error: out of memory if receiving big file

Usecase: Sending 5 GB from Windows to Android
=> after 40% transfer I get on Android app the msg. "Error: out of memory" .
fyi: I've 18 GB free flash memory, but only 1.6 GB free main memory, so it seems you're writing first into main memory, instead of directly writing to disk...
Maybe you can change this behavior?

PS: Sending only 1 GB is working without problems.

Connection timed out couldn't be fixed

Couldn't fix the "Connection timed out" error. On the same web in school intranet (not secured network)...
Only succeed once in file transfer when the iPadOS client also showed some error (didn't screenshot :-( )
image

Open source iOS & Android Apps?

I saw this in the README:

Cross platform: when we say it, we mean it. iOS, Android, macOS, Windows, Linux, name yours.

I was looking to contribute to this since I have some ideas I would like to see in LANDrop, (great project btw), so I had a look in the repo but I don't see iOS and Android in there, but I do see them in the app stores.

Are there any plans to open source the iOS & Android apps?

[Linux] Landrop's main window stays on top of any other

As mentioned in the title, landrop's main window stays on top all the time. And not on top of the other app windows, e.g. the file selection one, but on top of ANY window.

In the image, the currently active window is the one below the main one, yet the main one blocks it and prevents the user from selecting stuff.

2021-06-15-090545_570x412_scrot

Tested with the appimage provided from here, on debian testing/unstable + xorg + openbox and mint 20.1 + xorg + cinnamon, producing the same results.

arm64 support

Hello,

from what I can see, this doesn't yet support arm64. Would you be willing to take a look at it?

Thanks

使用了一下很好用,以下是几个建议

  1. 电脑端加入右键发送功能。
  2. 加入局域网剪贴板同步功能。类似mfiles那样。
  3. 传输状态百分比显示,因为现在手机端只能看到下载了多少,没有一个状态显示下载了百分之几。
  4. iOS手机端可适当收费。
  5. 针对后台长时间不用会出现闪退这个问题我倒是有一个想法。就是通过可以用音频播放器让app在后台保活。就是假装软件后台在放音乐,这样iOS就不会把它杀掉了。

Sent from PPHub

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.