yass icon indicating copy to clipboard operation
yass copied to clipboard

Feature: generate QR code

Open Chilledheart opened this issue 3 years ago • 0 comments

It should be handy to share configuration to mobile application.

Protocol

You can encode your server configuration to a QR Code.

Put your configuration together like this:

 method:password@hostname:port

Transform it into base64:

 bWV0aG9kOnBhc3N3b3JkQGhvc3RuYW1lOnBvcnQ=

Prepend with ss://

 ss://bWV0aG9kOnBhc3N3b3JkQGhvc3RuYW1lOnBvcnQ=

Generate a QR Code from the url above.

Reference: https://github.com/shadowsocks/shadowsocks/wiki/Generate-QR-Code-for-Android-or-iOS-Clients

Chilledheart avatar Jan 27 '22 12:01 Chilledheart