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

二维码直接在终端中显示出来就完美了? #171

Open
60ke opened this issue Nov 30, 2017 · 10 comments
Open

二维码直接在终端中显示出来就完美了? #171

60ke opened this issue Nov 30, 2017 · 10 comments
Labels

Comments

@60ke
Copy link

60ke commented Nov 30, 2017

有个微信终端的聊天能在终端直接显示二维码,如果项目能集成这个功能肯定会很不错

@TYPEmber
Copy link

是啊,二维码又不是一定得以图片显示,黑白的方块拼出来就行了

@hexsum
Copy link
Owner

hexsum commented Dec 1, 2017

本来就有呀 看下ShowQRcodeInTerm插件

@hexsum
Copy link
Owner

hexsum commented Dec 1, 2017

$client->load(“ShowQRcodeInTerm”);

@hexsum hexsum closed this as completed Dec 4, 2017
@hexsum hexsum added the added label Dec 4, 2017
@hexsum
Copy link
Owner

hexsum commented Dec 4, 2017

我好像和Mojo-Weixin搞混了,qq暂时不支持终端二维码显示,这方面我想想办法

@hexsum hexsum reopened this Dec 4, 2017
@hexsum hexsum added feature and removed added labels Dec 4, 2017
@huangzhongzhang
Copy link
Contributor

huangzhongzhang commented Jan 24, 2018

@sjdy521 之前你封装过一个脚本,叫 viewqr,可以直接在终端显示二维码的。可以用 shell 来调用(/root/viewqr /tmp/mojo_webqq_qrcode_default.png),效果如下(我这个是在 docker 里面使用 shell 调用。):
二维码

@hexsum
Copy link
Owner

hexsum commented Jan 24, 2018

viewqr这个是编译好的二进制文件,本身就比较大,兼容性也不太好,很多二维码显示起来都有问题
所以就没去推广了

@bollwarm
Copy link
Collaborator

webqq可以本地扫, webwx本地扫二维码也有问题

@if1y
Copy link

if1y commented Mar 24, 2018

@bollwarm 微信不支持相册扫码

@bestK
Copy link

bestK commented Jun 15, 2018

输出图片的 http 地址不是更好吗?

@zhujin001032
Copy link

写两个脚本简单的实现 一个脚本启动qq 一个脚本根据本地存储的二维码路径打开它就可以了;
将两个脚本语句 写到一个jenkins的job 脚本中,在用一个脚本 自动启动 jenkins job,最终实现的效果是:鼠标双击一个启动Jenkins job 的脚本,qq自动启动成功 并在桌面自动打开了二维码图片, 直接扫描登录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants