Skip to content

Commit

Permalink
to-shadowsocks command is now to-ss
Browse files Browse the repository at this point in the history
  • Loading branch information
NotStatilko committed Aug 10, 2022
1 parent 53ede30 commit 121bcf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pyoutline client -k "ss://YWVzLTI1Ni1nY206Y2RCSURWNDJEQ3duZklO@ak1344.free.www.o
```
If you want to transform Outline Key into the ShadowSocks:
```
pyoutline to-shadowsocks -k "ss://YWVzLTI1Ni1nY206Y2RCSURWNDJEQ3duZklO@ak1344.free.www.outline.network:8118"
pyoutline to-ss -k "ss://YWVzLTI1Ni1nY206Y2RCSURWNDJEQ3duZklO@ak1344.free.www.outline.network:8118"
# ^ ss-local -s "ak1344.free.www.outline.network" -p 8118 -k "cdBIDV42DCwnfIN" -m "aes-256-gcm" -l 53735
```
Set your own port or ask system to set the free one
Expand Down
4 changes: 2 additions & 2 deletions pyoutline.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def safe_cli():
'--port', '-p', type=click.IntRange(49152,65535),
help='Listener proxy port'
)
def to_shadowsocks(outline_key, random_port, port):
def to_ss(outline_key, random_port, port):
"""Will transform Outline Proxy Key/file with Keys to ShadowSocks"""

keys = Path(outline_key)
Expand All @@ -62,7 +62,7 @@ def to_shadowsocks(outline_key, random_port, port):
try:
ok = OutlineKey(key)
ss = ok.shadowsocks(random_port=random_port, port=port)
click.echo(bright_black(ss + '\n'))
click.echo(bright_black(ss))
except ValueError:
click.echo(red('Invalid Key specified!'))

Expand Down

0 comments on commit 121bcf5

Please sign in to comment.