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

Please support scanning two-dimensional code:) #34

Closed
stonedreamforest opened this issue Jun 9, 2017 · 4 comments
Closed

Please support scanning two-dimensional code:) #34

stonedreamforest opened this issue Jun 9, 2017 · 4 comments

Comments

@stonedreamforest
Copy link

No description provided.

@stonedreamforest
Copy link
Author

operating system: ios 10

@txthinking
Copy link
Owner

This is a good idea, and it does make things easier.

@txthinking
Copy link
Owner

Let me try to draft QR data format:

Brook:

brook://urlencode(SERVER PASSWORD)
brook://urlencode(SERVER PASSWORD MUSIC)

urlencode is a virtual RFC3986 function that means encoding string which in the parentheses

e.g.:
server: 1.2.3.4:443
password: password
music: No music

QR data is:
brook://1.2.3.4%3A443%20password

e.g.:
server: 1.2.3.4:443
password: password
music: http://domain.com/uri

QR data is:
brook://1.2.3.4%3A443%20password%20http%3A%2F%2Fdomain.com%2Furi
  1. Brook Mobile App will support scanning QR code.
  2. Brook cli tool will support the generation of QR code.

Support Original Shadowsocks QR too.

txthinking added a commit that referenced this issue Jul 22, 2017
@txthinking
Copy link
Owner

Release: v20170723
Wiki: https://github.com/txthinking/brook/wiki/QR-Code

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

No branches or pull requests

2 participants