Skip to content

Create ss-qr.sh#2266

Open
quicktrick wants to merge 1 commit into
shadowsocks:masterfrom
quicktrick:patch-1
Open

Create ss-qr.sh#2266
quicktrick wants to merge 1 commit into
shadowsocks:masterfrom
quicktrick:patch-1

Conversation

@quicktrick

Copy link
Copy Markdown

Bash script to generate QR code on shadowsocks-libev server.

Bash script to generate QR code on shadowsocks-libev server.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want something like this. https://github.com/studentmain/ss-share

But I have no time to finish that...

@madeye madeye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two problems:

  1. It depends on qrencode.
  2. The path of config is hardcoded.

@quicktrick

Copy link
Copy Markdown
Author

@madeye, I took this script mostly from teddysun's installation script. I didn't intend to rewrite it completely, it doesn't worth it, because you use it only once. You may take this script as is, or decline it, or change it yourself -- it's your decision. It works fine on my servers, and it suits me. Anyone can install qrencode to use this script, after all. BTW, it depends on python3 too, not only on qrencode. I can add some words about that in the comments to the script.

@oakaigh

oakaigh commented Jan 19, 2019

Copy link
Copy Markdown
Contributor

@madeye I wrote another one (not tested)
https://github.com/PantherJohn/shadowsocks-libev-qrcode
and the path of config is no longer hardcoded.

@chenjie

chenjie commented Jun 5, 2019

Copy link
Copy Markdown

@madeye, I took this script mostly from teddysun's installation script. I didn't intend to rewrite it completely, it doesn't worth it, because you use it only once. You may take this script as is, or decline it, or change it yourself -- it's your decision. It works fine on my servers, and it suits me. Anyone can install qrencode to use this script, after all. BTW, it depends on python3 too, not only on qrencode. I can add some words about that in the comments to the script.

@madeye 's suggestion is reasonable for such a large project like this. If your main purpose is to share the script written by yourself, you can just post it as a GitHub Gist publicly. A pull request should be easily maintainable by community developers.

@madeye

madeye commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Thanks for the QR helper script. Keeping open — if you still use it, a quick rebase plus a short note in the docs would help it land.

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

Successfully merging this pull request may close these issues.

4 participants