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

URI scheme #7

Open
blackgear opened this issue Aug 9, 2015 · 1 comment
Open

URI scheme #7

blackgear opened this issue Aug 9, 2015 · 1 comment

Comments

@blackgear
Copy link

Add URI scheme like Anyconnect

Here is a draft:

shadowvpn://create/?data=BASE64_DATA
shadowvpn://create/?name=Descript&server=Addr&port=1234&...&onsuccess=URL&onerror=URL
shadowvpn://connect/?name=Description&host=ServerAddress&onsuccess=URL&onerror=URL
shadowvpn://disconnect/?onsuccess=URL&onerror=URL
shadowvpn://close

example:
shadowvpn://create/data=BASE64_DATA?onsuccess=shadowvpn%3A%2F%2Fconnect%2F?name=Tokyo1
Create Tokyo1 and connect to Tokyo1 if success.
shadowvpn://connect/name=Tokyo1?onsuccess=shadowvpn%3A%2F%2Fclose
Connect to Tokyo1 and close the app if success.
shadowvpn://connect/name=Tokyo1?onsuccess=twitter%3A%2F%2F
Connect to Tokyo1 and open Twitter if success.

Then we can combine shadowVPN with many Launcher apps / javascript codes / many interesting thins.

@clowwindy
Copy link
Owner

ShadowVPN will support Shadowsocks like protocol and QRCode #6

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

2 participants