r/androiddev • • 3d ago

Open Source Working on file sharing application between desktop and mobile regardless of network or distance or OS

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,

  1. File transfer between devices irregardless of network (i did 267mb files in attached video).

  2. Backup/Restore entire folders from mobile to desktop (i showed the backedup folder in attached media).

  3. 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.

  4. Also, no desktop user can access your backedup folders without your permission(demonstrated in attached media).

  5. File synchronization

  6. File deduplication (i.e. same file cannot exist twice).

  7. End-to-End encryption.

  8. No server in between(except one fallback, case wait ill explain in a sec).

  9. 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😭

28 Upvotes

8 comments sorted by

4

u/battlepi 3d ago

This is just Tailscale lite.

4

u/Sea-Flow-4812 3d ago

there is a significant overlap

however

  1. my solution doesnt require any account
  2. for features like automatic phone-folder or whatsapp syncronization it requires additional tooling and setup
  3. also deduplication which i feel is very important for preserving space

mostly im trying to abstract away all the complexeties so that even my parents(non tech-savvy) can use it comfortably

4

u/Ok-Scheme-913 3d ago

Why not use iroh? That's literally meant to solve this.

Really cool nonetheless!

1

u/Fine_Salamander_8691 3d ago

I run a public iroh node actually! I dedicated 2 gigs of my bandwidth to it

1

u/nomodinomo 23h ago edited 23h ago

Good initiative. Check out tailcat for inspiration.

Please do share your repo url, when you're comfortable showing it.

Edit: More inspiration - https://github.com/n0-computer/awesome-iroh#file-sharing

1

u/Sea-Flow-4812 18h ago

https://github.com/saqibsiddiq/QurbSpace

thank you sm, if uve any ideas or suggestion

pls do let me know

0

u/sedj601 3d ago

Don't get discouraged by the comments. I am also trying to come up with things to take on big tech. Keep up the good work!

3

u/Sea-Flow-4812 3d ago

yes, its honestly v discouraging when people dont even take a moment to read the entire post or checkout github repo before passing a judgement. like ive been building it for months ofcourse ik what are the similar products in the domain.

thank you sm tho, i would love to know more about your work