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

把微信聊天框作为路由器的终端使用,实现各种奇奇怪怪的功能。 #47

Open
luckyyyyy opened this issue Feb 13, 2020 · 2 comments

Comments

@luckyyyyy
Copy link
Owner

luckyyyyy commented Feb 13, 2020

直接上图,原理也比较简单,因为微信需要80端口,所以需要用到Frp内网穿透和一台外网服务器,这个还是比较容易的。

现在还是半成品,本来打算用hotplug来监听事件的,接口已经写好了,发现有个问题,国内PPPOE断网是强制断开的,其实应该不是接口开启和关闭的事件,所以可能无法监听到,只能一直获取然后缓存,这个方案还需要在思考。

新玩具是把公众号作为终端使用,因为以前做过公众号开发,所以开发起来非常快,一分钟好几个接口,代码非常可扩展易于维护,具体可以看我的GitHub中的项目。

配合 OpenWRT 获取家里的wan口IP

ubus call network.interface.wan status | jsonfilter -e '@["ipv4-address"][0].address'

image
image
image

@luckyyyyy luckyyyyy changed the title 微信上的新玩意折腾 把微信聊天框作为路由器的终端使用,实现各种奇奇怪怪的功能。 Feb 13, 2020
@931122
Copy link

931122 commented May 25, 2022

你好,这个项目仓库已经删除了吗

@luckyyyyy
Copy link
Owner Author

你好,这个项目仓库已经删除了吗

这个项目不开源,但实现也比较简单的。

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

No branches or pull requests

2 participants