yggdrasil-network / yggdrasil-android

Reference implementation for connecting to the Yggdrasil Network from Android devices
MIT License
107 stars 18 forks source link

[feature] Adding peers from QR code and/or URL handlers #57

Open hatkidchan opened 2 months ago

hatkidchan commented 2 months ago

Would be quite handy to have a way to scan peer addresses from QR codes, especially with long addresses and/or keys in them. QR code itself would just be a normal code with a link, 1:1 to the one you would normally enter in the peers list. Nothing too big, just a little QoL feature that would make adding peers easier.

Another one would be to register a link handler for something like https://yggdrasil-network.github.io/add?addr=tls%3A//1.2.3.4 that will also do the same (could be useful when adding peers from browser) Sure, you can just copy-paste them, but a single-click way is always better