Skip to content

transferfintech/shadowsocks-url-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shadowsocks URL Generator Release Python GithubActions License

Python script that parses Shadowsocks server configuration file and generates a client configuration URI.

Usage

Simply copy and paste the following in a terminal:

python <(curl -s https://raw.githubusercontent.com/amayatsky/shadowsocks-url-generator/master/ss-genuri.py) \
-c /etc/shadowsocks-libev/config.json

Change /etc/shadowsocks-libev/config.json path if needed. Alternatively, you can provide a different config file path

Example

Input:

{
    "remarks": "ShadowSocks Server",
    "server":"github.com",
    "server_port":8388,
    "password":"fake_pwd",
    "method":"chacha20-ietf-poly1305"
}

Output:

ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTpmYWtlX3B3ZEBnaXRodWIuY29tOjgzODg=#ShadowSocks%20Server

Requirements

Python 3.9+

Contribution

Feel free to send your PRs and report any issues.

Where to get the shadowsocks itself?

https://github.com/shadowsocks/shadowsocks-libev
https://www.shadowsocks.org/en/index.html

About

Python script that parses Shadowsocks server configuration file and generates a client configuration URI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%