I am building a file transfer app purpose built for Linux and Android

a day ago by Im28xwa to c/opensource

An Android/Linux app to share files quickly and conveniently using Wi-Fi Direct - 5wHN28Dg/Direct-Share

This is a personal passion project of mine, it is still in its early infancy (many core features are still missing) and the development is slow but deliberate.

why should I care?

if you care about speed and deep integration with the OS this project might be of interest to you.

why?

Wireless file sharing between my devices is still unnecessarily slow, half-baked, and unintuitive. Direct-Share is my attempt to build a file transfer tool that makes local file transfer more seamless than:

  • Android ↔ Android (Nearby Share / Quick Share)
  • Apple AirDrop
  • LocalSend
  • Blip

…but for Linux desktops and Android phones, using Wi-Fi Direct.

what?

  • Python, GTK4/Libadwaita on Linux
  • Kotlin, jetpack compose on Android

if you want to stay up to date with the project or want to know or read more, you can take a look at the GitHub repo

leadore 19 points a day ago

Try KDEConnect (or GSConnect for gnome). Clients for Linux, BSD, Android, Sailfish, iOS, macOS and Windows.

Another option (maybe better, depending on your distro) is Warpinator. Linux, Windows, and Android.

path: 0 24371314, hotness: undefined, score: 19, children: 3
Redjard 8 points a day ago

Kdeconnect is usually gonna go over regular wifi or ethernet. So that might go phone to ap to laptop, for twice the wifi hops.
Also means the speed is limited by the router, so modern phones would be slowed by an older access point.
Or by being far from the access point yet close together.

path: 0 24371314 24375736, hotness: undefined, score: 8, children: 2
leadore 2 points 12 hours ago

Oh I see, thanks. I didn't understand what OP meant by Wi-fi Direct, I was thinking it just meant going over the LAN via the router. So I guess this means a device making itself into a wi-fi hotspot with is own local IP address that can be connected to directly, right?

path: 0 24371314 24375736 24384703, hotness: undefined, score: 2, children: 0
Matty_r 2 points 20 hours ago

There is a Bluetooth mode available now, says its in beta though

path: 0 24371314 24375736 24377694, hotness: undefined, score: 2, children: 0
freeman 15 points a day ago

not to be a downer, but this makes it look like its not much more than an Idea:

Current status (what works / what doesn't) Connection

Linux → Android (functional in the deprecated version, check deprecated/ directory)
Linux ↔ Linux (not implemented yet)
Android ↔ Android (not implemented yet)

File transfer

Android → Linux
Linux → Android
path: 0 24370011, hotness: undefined, score: 15, children: 1
Im28xwa 10 points a day ago

you are right that it does make it look like nothing more than an idea but honestly that's fine by me and maybe I should mention that p2p peer discovery works right now and yeah that's might not be much but well... we all start somewhere, don't we!

path: 0 24370011 24370119, hotness: undefined, score: 10, children: 0
terabyterex 11 points a day ago

i thought kde connect worked very well

path: 0 24371251, hotness: undefined, score: 11, children: 0
jamin 8 points a day ago

Would be nice if done well, I would suggest you post again if you have a usable version (basically a beta) because I for example will not follow a random github repo from a half-baked project that may be abandoned anytime. Even though I woulf look forward to something you described. So dont let this be a downer but post again if you have the core things implemented.

path: 0 24371146, hotness: undefined, score: 8, children: 1
Im28xwa 1 point a day ago

Sure thing!

path: 0 24371146 24371197, hotness: undefined, score: 1, children: 0
unskilled5117 3 points a day ago path: 0 24375579, hotness: undefined, score: 3, children: 3
Im28xwa 3 points a day ago

Yep I am aware of it but The thing is Linux doesn't support it yet and most android phones still don't support it yet unlike WiFi Direct, so until that day comes WiFi Direct it is

path: 0 24375579 24376088, hotness: undefined, score: 3, children: 2
Katzenmann 1 point 15 hours ago

Linux supports wifi aware. You can already create aware networks using the iw tool. (you need to check the nl80211.h for programmatic usage)

I don't know about android though it should also support it since newer android devices can also share to apple devices (this was forced by the EU using the DMA)

https://en.wikipedia.org/...

path: 0 24375579 24376088 24381890, hotness: undefined, score: 1, children: 1
Im28xwa 4 points 13 hours ago

you are right, linux does support wifi aware although the problem is that afaik Wi-Fi chipset and driver support is still lacking behind so most people can't really create aware networks (I just tried on my machine, I can't)

path: 0 24375579 24376088 24381890 24383504, hotness: undefined, score: 4, children: 0
87Six 2 points 10 hours ago

I don't want to take away your steam, but doesn't LocalSend already do that?

https://github.com/localsend/localsend

I'd love it if you contributed instead, if these projects are really interchangable as I think they are.

Love your work anyway!

path: 0 24386588, hotness: undefined, score: 2, children: 2
Dr_Vindaloo 3 points 9 hours ago

LocalSend doesn't use wifi direct which means your devices have to be on the same network for the transfer. WiFi direct is more like AirDrop -- "direct".

path: 0 24386588 24386840, hotness: undefined, score: 3, children: 0
Im28xwa 2 points 2 hours ago

Unfortunately it doesn't, Localsend relies on a WiFi hotspot or AP to transfer files, what I am trying to build uses WiFi Direct (aka WiFi P2P), these two are not interchangeable nor interoperable.

path: 0 24386588 24391550, hotness: undefined, score: 2, children: 0
opensource
opensource

@lemmy.ml

login for more options
47450
2759
2393

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

go to feed...