Compare commits

...

10 Commits

Author SHA1 Message Date
eric
8d846b819d update 2024-06-13 02:03:19 +08:00
eric
409633d890 update 2024-06-02 12:55:44 +08:00
eric
b2c61a1b6b upate 2024-05-29 09:48:25 +08:00
eric
339616a40c update 2024-05-28 21:31:11 +08:00
eric
18b3367e3e update 2024-05-27 18:15:19 +08:00
eric
025e00c170 update 2024-05-23 21:52:50 +08:00
eric
ce01b688aa update 2024-03-04 21:09:34 +08:00
eric
9ad87c432b 微信机器人 2023-12-01 09:36:34 +08:00
eric
5fb49b44a3 update 2023-10-28 21:36:14 +08:00
eric
77f40e8154 feat: 微信协议# 2023-08-05 19:48:32 +08:00
160 changed files with 4007 additions and 27 deletions

0
AI/.md Normal file
View File

43
AI/config配置.md Normal file
View File

@@ -0,0 +1,43 @@
dsx 2016, [Jul 29, 2023 at 20:09:50]:
宝塔面板
https://btsm.smallzhiyuns.com/smallzhiyuns
账户 smallzhiyuns
密码 Xiao4669805
备注:宝塔的终端因为未知原因不可用,要用的只能ssh另开
使用npm的使用用sudo npm ,没有sudo单使用npm会报错
...
ssh
mac登录方式
ssh -oPort=7022 smallzhiyuns@149.28.70.41
密码 4669805
ubuntu账户
账户 smallzhiyuns
密码 4669805
账户 root
密码 4669805
szzy4041002
77778888
```
curl -X POST "http://chatglm.yidooplanet.com/img" \
-H 'Content-Type: application/json' \
-d '{"prompt": "你好", "history": []}'
```

35
AI/frp配置.md Normal file
View File

@@ -0,0 +1,35 @@
frpc配置
```
common]
server_addr = 108.61.216.163
server_port = 9000
tls_enable = true
protocol = kcp
auth_token = Xiao4669805
vhost_http_port = 9001
[ai]
type = http
local_ip = 127.0.0.1
local_port = 8000
custom_domains = chatglm.yidooplanet.com
```
frps配置
```
[common]
kcp_bind_port = 9000
bind_port = 9000
vhost_http_port = 9001
tls_enable = true
[ai]
type = http
custom_domains=chatglm.yidooplanet.com
auth_token = Xiao4669805
```

75
AI/微信机器人.md Normal file
View File

@@ -0,0 +1,75 @@
群聊邀请
#chatroom 群聊d
名片
#fc wxid_xxx
---
本地文件
#file /storage/....
本地图片
#pic /data/user
---
网络文本
#web_text http://xxx
网络图片
#web_img [[http://xxx]
----
网络语音
XXXXXX 待测试
#tts 中文转成语音
#tts e 英文转语音
网络视频
#web_vid [http://xxx](http://xxx)
网络文件
#web_file [[http://xxx
---
`收藏-`文章链接
#fav 1675780537729
收到金额#A#
----
#N#对方昵称
#N2#对方备注
#T 群聊签到时间
---
#公众号:异度世界
#小程序:citynew(带参数)
#视频号
#小商店
#天气
#日期

1
AI/选题4.md Normal file
View File

@@ -0,0 +1 @@

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 975 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@@ -1,5 +1,3 @@
keep
youtube [action3/ android-Cam]

View File

@@ -0,0 +1,25 @@
## 如何成为数字游民?
我正在为了实现这个目标努力,以下是我做的事情
- [x] 创建`[博客](https://nomadvps.com),基于开源的wordpress (不开通adsense)
- [x] 创建[youtube]([nomadvps - YouTube](https://www.youtube.com/channel/UCtVfMFdLTN4ap__8g7MFtVw))频道,开通ypp获利
- [x] 创建[twitter ]([x.com](https://x.com/nomadvps))(现在叫X),社交媒体
- [x] 通过amazon `kdp`出版kindle电子书
- [x] 开通`amazon affiliate`
- [x] 开通云服务器[vultr](https://www.vultr.com/?ref=8985003)的affiliate (AWS太复杂)
继续要做的事情
- [ ] 写一个`导航`网站
- [ ] 写一个`electron工具软件`
---
## 旅行,赚钱和社交

View File

@@ -0,0 +1,37 @@
## 我为什么创建`nomadvps`
> 独立博客wordpress
nomadvps是`nomad`和`vps`的合体,因为想要成为数字游民,但是又想分享技术
很多域名都被注册了,比如nomadpi,nomadvpn
而vps代表虚拟专用服务器,正好对应了技术
***
## 个人简介
> 不是英文母语者
我并不会英语,获取英语信息,依赖翻译软件,不能够做到自由表达
尤其是说话
所以wordpress写完后,我需要通过翻译软件处理后,最好才能发布
> 有学习英语的打算吗?
目前没有,翻译软件和AI能解决很多问题
如果我能依靠youtube的`ypp`以及google `adsense`广告盈利
我会考虑学习英语
在没有盈利之前,学习的成本比较高
****
## 如何盈利
主要是youtube自媒体,拍摄户外的风景

7
openwrt/nanopi.md Normal file
View File

@@ -0,0 +1,7 @@
nanopi 带壳 R4S
阿里巴巴 一键铺货
`opernwrt``软路由`装`docker安装[NAS/ homeasstant/wordpress ]

3
pve/install img.md Normal file
View File

@@ -0,0 +1,3 @@
```
qm importdisk 100 /var/lib/vz/template/iso/xx.img local
```

35
wordpress/涨粉秘籍.md Normal file
View File

@@ -0,0 +1,35 @@
## 涨粉秘籍
> 在万能的某宝购买了推广服务
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202306252324087.png" title="" alt="" width="300">
了解到推广的服务价格`1k粉丝`是:
- 抖音150元
- 视频号500元
- 小红书1000元
因为所有的媒体基础门槛都是1000个粉丝
---
## 抖音引流解密
> 好奇商家引流的秘诀是啥
结果发现是色流
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202306252325929.jpg" title="" alt="" width="226">
---
## 小红书引流解密
> 使用`串门`
串门的意思就是互粉,目前涨了100粉,官方没有限流
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202306252325353.png" title="" alt="" width="302">

0
公众号/c.md Normal file
View File

View File

@@ -0,0 +1,51 @@
## chrome插件:图书搜索
> 注意:并不是比价软件(目前还没做)
以前喜欢看书,以及买书,所有在互联网平台筛选后,然后去书城浏览一下值不值得买,就是一个惯性的操作
但是操作起来,比较繁琐,通常要
- 复制书名
- 打开书城网站,粘贴=>搜索
- 在一堆结果中查找
为什么是一堆结果,因为只有`ISBN`是唯一的出版号,如果搜索中文,就会匹配N多关键词
> 用了插件后,打开页面就会自动显示[`位置/书架/库存/价格`]
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202308142059153.png)
在移动互联网时代,书城机构也紧跟步伐,取消了PC和H5,只引流到微信小程序:`书城查书`
这样用户的草错便利性就更差了
---
## 图书比价与下载,以及图书馆
> todolist,自用
用plasmo框架挺快的,pupop的弹窗页面,完全基于react开发
没有content注入影子DOM那种复杂
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202308142059813.png" title="" alt="" width="280">
后续会追加
- 城市图书馆/学校图书馆
- 特色书店
- 互联网平台:微信读书/京东/豆瓣 (确定电子书价格)
- 该图书分类/领域,有新书时,消息通知

View File

@@ -0,0 +1,45 @@
## 折腾二三事:AI主机/低成本云手机/机器视觉
> AI server
由于要本地部署开源AI方案/模型,
12G的显存不够,于是又攒了一台16G 4060TI显卡的主机,用来炼丹
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202310212232575.jpg" alt="" width="274">
在狗东上买了各种配件:CPU/GPU/机箱/风扇/内存/硬盘,结果自营物流的机箱风扇,硬是第三天才到,虽然履约部门注明[运营失误],但用户体验越来越差了
英伟达的禁令,让4090系高端暴涨, 目前还没有波及到消费级显卡,后续也不好说
---
> 低成本云手机
前篇<打造云手机>里提到了一个方案:
- 是在ARM芯片的开发板上装linux
- 以docker容器运行android虚拟机(redroid)
以开发板为例,目前实操比较`低成本`,可以挂机运行的是`香橙派3B:2G内存/32emmc`
- 二百五软妹币左右
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202310212245303.png" alt="" width="298">
这个价格,可以同时体验linux系统,以及安卓系统,比较合适,但是RK3566的芯片,导致了安卓的流畅度不佳(挂机可以,不建议高频操作使用)
> 机器视觉
香橙派5系列,内嵌的`NPU`支持INT4/INT8/INT16/FP16混合运算,算力高达6Tops,可以满足绝大多数终端设备的`边缘计算`需求
外置uvc协议的usb摄像头,除了可以用来24h直播(live),也可以用它进行机器视觉
比如用`yolov5`进行目标检测
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202310212245453.jpg)

View File

@@ -0,0 +1,59 @@
## 云手机"环境配置"
> 外挂环境
本来是想配置magisk和lsposed, 但是由于安卓是容器docker
在X86主机和arm主板上测试都没有成功
最后选择了免root的外挂方案:`lspatch`
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311041738724.png" alt="" width="248">
---
## adb安装apk
由于安卓虚拟机,是将redroid部署在ubunti server上(没有GUI图形界面)
所以操作手机,用scrcpy在电脑上操作即可
可以`adb install xx.apk`安装
也可以将apl文件,直接拖拽到手机窗口,就会自动安装了
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311041738152.png)
---
## 激活shizuku
lspatch的运行依赖shizuku
用adb命令即可激活
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311041738239.png" title="" alt="" width="249">
---
## lspatch优化wechat
采用了免root的方案,原生的apk安装包是不能运行xposed模块的
所以这里要编译优化一下
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311041739333.png" title="" alt="" width="222">
---
## 最后
建立了`交流群`
有兴趣折腾的小伙伴,可以添加微信号:`hackrobot`
发送关键词`加群`,即可自动邀请
- 默认AI gpt对话
- /img 描述词 =>会返回生成的图片

93
公众号/云手机3.md Normal file
View File

@@ -0,0 +1,93 @@
## android13+magisk
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142204976.png" title="" alt="" width="218">
> 新建的redroid容器集成magisk+google play
设置了以下功能
- 微信机器人+AIGC(chatglm+stable duffsion)
- mitmproxy抓包https
- scrcpy云控安卓
- V免签(接入独角数卡)
- 挂游戏( adb+autojs实现自动化)
- 其他~
> 使用lspatch的免root方案有缺陷,还是需要root
使用lspath有以下缺陷
- 微信机器人会掉线,显示`该版本是试用版本`,2-3天/次,不稳定
- 无法使用`应用变量`,修改硬件参数
---
## 微信机器人
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142206761.png)
---
## https抓包
> 在ubuntu安装mitmproxy
在magisk安装`AlwaysTrustUserCerts`就可以解决android7以上系统版本,限制抓包的问题
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142205015.png" title="" alt="" width="246">
---
## scrcpy云控手机
> 通过frp内网穿透
下载开源的安卓scrcpy app,就可以实时远程控制了
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142205821.jpg" title="" alt="" width="258">
---
## V免签+独角数卡
> V免签的原理是监听手机状态栏通知
独角数卡是个人的收款解决方案
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142204763.png" alt="" width="371">
V免签由于要检测状态栏,所有24H挂机,也需要安卓虚拟机
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142205877.png)
---
## 挂游戏
> 打开游戏时,会变成横屏模式
![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142206893.png)
---
## 最后,测试数据
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142205259.jpg" alt="" width="248">

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,55 @@
##
## 可爱猫机器人
> 使用ihttp框架
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202312011716903.png" title="" alt="" width="359">
目前市面上免费的机器人还是很多,
github上开源的都把chatgpt接入作为核心配置,吸引使用
测试过基于windows hook的,文档和能力还差那么一点
比如我想要分享卡片式链接🔗,它就没能力,而作者靠爱发电,佛系迭代中
最终还是选择了`可爱猫机器人`
---
## 唯一标识符wxid
> 不得已使用win hook框架的原因
基于xposed的安卓端的机器人,能力很强大
但是开发者给用户的使用模式,基本是基于GUI图形设置
没有办法对业务逻辑进行编程自动化
最最重要的,就是拿到用户的`wxid`核心标识符,以及其他信息
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202312011716142.png" title="" alt="" width="399">
---
## 如何使用
> 需要win服务器部署
- 可爱猫
- 绿色软件指定版本
- web服务代码
可爱猫本身启动后,会有http server,接受到的消息会触发回调,类webhook
而它自己本身的http服务,我们提交post请求,就能触发业务操作了
所以本质上,还是要会web开发
对想要界面配置的小白不友好 (曾经的wetool就是界面配置典范)
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202312011716997.png" title="" alt="" width="334">

View File

@@ -0,0 +1 @@

View File

@@ -1,3 +0,0 @@
## 微信对话开放平台

View File

@@ -0,0 +1,63 @@
## 人工智能助手chatglm2-6B
> 针对中文优化的对话模型
早前chatgpt需要续费,于是在本地部署了`开源的gpt4all`
但是实际的对话效果很差,对中文不好有,且用cpu进行计算
于是换成了`chatglm2-6B`
用GPU来跑,虽然显存并不高,12G,系统是ubuntu22.04
在本地部署`chatglm-int4的量化模型`
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202308062124713.png" title="" alt="" width="379">
---
## stable diffusion文字生成图片
> 免费开源
早前也是在内网部署了`webui`,就是stable diffusio的网页版本
由于这次想要对接微信机器人
于是就启用了stable diffusion 的api
只需要把启动参数改成`nowebui`就可以了
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202308062124722.png" title="" alt="" width="393">
---
## 微信机器人
为什么要接入微信机器人?
因为,懒得记网页的域名
实现的效果如下:
- 默认智能对话
- /img 文字描述=>生成图片
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202308062124943.png" title="" alt="" width="243">
---
## 总结
> AIGC提升效率
`chatgpt` 和`midjourney`的质量优于开源模型
但是`私有化部署`是企业或小型团队的刚需
随着不断地迭代升级,通过本地的gpu服务器,实现低成本实现个人助手,未来可期

View File

@@ -0,0 +1,88 @@
## 打造1台云手机
> 使用arm开发板
手机挂机有一个最核心的问题:`电池`
而使用`arm`芯片的开发板,就无需屏幕,随时随地使用安卓系统,远程控制
目前性能比较强悍的ARM芯片是RK3588
例如`香橙派`5/5B/以及5 PLUS
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202310141546264.png" title="" alt="" width="266">
如果使用x86的主机,因为架构兼容性问题,某些app可能无法使用
---
## 2种云手机方案
> 单板安装android系统,usb无线调试
rk3588芯片有提供`Android12`系统,通过`TF卡`或者emmc刷入
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202310141546066.png" title="" alt="" width="342">
单个android系统
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202310141546217.png" alt="" width="252">
> 在ubuntu安装`redroid`
redroid是基于docker容器化方案
就可以同时运行`多个实例`,以及不同的`安卓版本`:android8-13
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202310141547553.png" title="" alt="" width="410">
---
## 本地电脑scrcpy控制手机
启用`usb调试`,以及`usb无线调试`
通过路由器的后台,可以看到开发板的ip地址
在电脑中安装2个辅助软件
- adb
- scrcpy
> 连接手机
```shell
adb connect 192.168.31.159:5555
```
远程手机画面
```shell
scrcpy -s 192.168.31.159:5555
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
/opt/homebrew/Cellar/scrcpy/2.0/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 39.2 MB/s (52867 bytes in 0.001s)
[server] INFO: Device: redroid redroid11_arm64 (Android 11)
[server] ERROR: Exception on thread Thread[Thread-4,5,main]
```
---
## 云控手机
> 使用frp内网穿透
客户端配置如下,将tcp代理
```shell
[adb]
type = tcp
privilege_mode = true
local_ip = 192.168.31.159
# Android default adbd port
local_port = 5555
# VPS port
remote_port = 53395
use_encryption = true
use_compression = true
```

View File

@@ -0,0 +1,17 @@
## 树莓派/香橙派/nanopi使用体验
> 开发板对比
在yiqing三年之前,一直用的树莓派(raspberry pi),跑点linux docker服务和python脚本
近年,香橙派开始布局,陆续推出了许多量大管饱的板子,比如orange pi 3lts / orange pi 5B,以及截止今日最新的有orange pi 2w / orange pi 3B等等,树莓派的除了生态以外的劣势就妥妥的暴露出来了
常用的服务
- nanaopi:R4S(软路由openwrt)
- orange pi 3LTS: ubuntu(外设:4g模块/uvc-camera/usb-移动硬盘)
- orange pi 5B: 平板android (微信机器人)
- 零刻(X86的mini主机:windows=>OBS推流+hook微信机器人)

View File

@@ -0,0 +1,49 @@
## 私有化部署AI
> 要有GPU
AI 的服务有很多,普通人常用的有这些形式:
- 对话式机器人
- 文字生成图片
- 文字生成语音
- 文字生成视频
- 视频识别生成字幕
但是商业化应用存在收费和隐私问题,于是就鼓捣了下私有化部署开源项目
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202306262305616.png" title="" alt="" width="314">
---
## Stable Diffusion
> 文字生成图片
这生成..并不是我想要看的😅
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202306262305019.png" title="" alt="" width="340">
---
## GPT4ALL
> 感觉像是人工智障
偷懒下载简单的模型,所以效果真是一言难尽
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202306262305097.jpg" title="" alt="" width="386">
---
## 后记
N卡的GPU驱动下载时间挺久的,然后就是大模型
目前都是提供的了网页版本
后期还是要使用api,接入到微信机器人,方便使用

Some files were not shown because too many files have changed in this diff Show More