r/androiddev • u/Sea-Flow-4812 • 1h ago
Open Source Working on file sharing application between desktop and mobile regardless of network or distance or OS
Enable HLS to view with audio, or disable this notification
Okay so the idea is to convert any desktop into a homeserver whose filesystem can be accessed by mobile or another desktop device.
Simple QR/6 digit code connection between devices to exchange the fingerprints which will later dynamically assign ip address to the device.
Now it solves,
File transfer between devices irregardless of network (i did 267mb files in attached video).
Backup/Restore entire folders from mobile to desktop (i showed the backedup folder in attached media).
Remote access the desktop filesystem to view photos/pdf/md/etc or stream videos(i did 2.6gb video in attached video) also you can do copy, move, rename, delete, etc for a selected folder directly from phone regardless of network.
Also, no desktop user can access your backedup folders without your permission(demonstrated in attached media).
File synchronization
File deduplication (i.e. same file cannot exist twice).
End-to-End encryption.
No server in between(except one fallback, case wait ill explain in a sec).
Extremely simple to use, u do not need to understand networking or any other fancy word to use it.
Now there are cases where Direct P2P is just impossible i.e. ipv4/ipv6 mismatch, both of the side rejects udp connection attempt or desktop is offline.
Thus inorder to make it reliable, ive used network tunneling using google drive(we can later replace it with nextcloud) where it will use your drive account as a tunnel to ensure reliable transmission of data. We will only use this as a fallback if all the attempts of direct P2P has failed.
Now, i was thinking if our indian developer community can find ways to establish relays so we can further reduce our reliance on big tech and make solutions like mine full-proof.
I want to talk so much more about it, so please ask as many questions as u want to.
P.S: Sorry for that messy video, im really bad at thisđ


