Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to "Auto discover devices in the same network (LAN)" #62

Open
webd90kb opened this issue Aug 3, 2024 · 4 comments
Open

How to "Auto discover devices in the same network (LAN)" #62

webd90kb opened this issue Aug 3, 2024 · 4 comments

Comments

@webd90kb
Copy link

webd90kb commented Aug 3, 2024

The https://github.com/subins2000/WebDrop has this feature, but docs didn't mention how to do it.
Thansk.

@kemo-1
Copy link

kemo-1 commented Jan 10, 2025

The https://github.com/subins2000/WebDrop has this feature, but docs didn't mention how to do it. Thansk.

have you discovered how ?

@subins2000
Copy link
Owner

It's a simple trick, all devices call an API to get the public IP, and convert it to a room code. All devices under the same network will have the same public IP :)

https://github.com/subins2000/WebDrop/blob/4d29b4c2f0d9af813ef654114a36c578a57955af/src/App.vue#L64

@kemo-1
Copy link

kemo-1 commented Jan 15, 2025

It's a simple trick, all devices call an API to get the public IP, and convert it to a room code. All devices under the same network will have the same public IP :)

https://github.com/subins2000/WebDrop/blob/4d29b4c2f0d9af813ef654114a36c578a57955af/src/App.vue#L64

i tried using the library and it couldn't work i am glad it still works! i will try again

@kemo-1
Copy link

kemo-1 commented Jan 15, 2025

ohhh now i get it

We couldn't connect to any WebTorrent trackers. Your ISP might be blocking them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants