Skip to content

Conversation

quicktrick
Copy link

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

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

@ghost ghost left a comment

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...

Copy link
Contributor

@madeye madeye left a comment

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
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
Copy link
Contributor

oakaigh commented Jan 19, 2019

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

@chenjie
Copy link

chenjie commented Jun 5, 2019

@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.

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