Compare commits
10 Commits
a755ee3b20
...
dev/1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d846b819d | ||
|
|
409633d890 | ||
|
|
b2c61a1b6b | ||
|
|
339616a40c | ||
|
|
18b3367e3e | ||
|
|
025e00c170 | ||
|
|
ce01b688aa | ||
|
|
9ad87c432b | ||
|
|
5fb49b44a3 | ||
|
|
77f40e8154 |
43
AI/config配置.md
Normal 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
@@ -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
@@ -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(带参数)
|
||||||
|
|
||||||
|
#视频号
|
||||||
|
|
||||||
|
#小商店
|
||||||
|
|
||||||
|
#天气
|
||||||
|
|
||||||
|
#日期
|
||||||
BIN
images/00af689fe837bb00c626fb49d61c32b67c3a9af8.png
Normal file
|
After Width: | Height: | Size: 368 KiB |
BIN
images/03e6557d736c73dc927724623b97102c56ce0bfc.png
Normal file
|
After Width: | Height: | Size: 867 KiB |
BIN
images/09255d47a0288a504b630d7333a163e984b38246.png
Normal file
|
After Width: | Height: | Size: 185 KiB |
BIN
images/095aefb1a18e8810b7cd839ea1913bdb1162a239.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
images/0d67af84f2b6be1207fb2c696e5f2186da287eda.png
Normal file
|
After Width: | Height: | Size: 707 KiB |
BIN
images/0e0a1126f0054a617b5d635685e7e55fa04c910f.png
Normal file
|
After Width: | Height: | Size: 391 KiB |
BIN
images/17b0fc6e60b6bdb096d72c085918519fd56b20b5.png
Normal file
|
After Width: | Height: | Size: 157 KiB |
BIN
images/216c27e58ac470347bbd456ffa550bec5fcab570.png
Normal file
|
After Width: | Height: | Size: 359 KiB |
BIN
images/3be248090253d399eea8645cb2472df99de446a2.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
images/3c8011df1031f5177237b496d68559d3aabcf66c.png
Normal file
|
After Width: | Height: | Size: 431 KiB |
BIN
images/3d1c7839d2d43915d1fceba7f3ece8d8d54718bf.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
images/3e71b6ec81769cffb0241b4071cc1032d29ee36f.png
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
images/3eafd4cc25af8a2b5871b019b8b66b5d71ecefe5.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
images/3fb93a2844187c26d3246c19a346bcc48aa79210.png
Normal file
|
After Width: | Height: | Size: 571 KiB |
BIN
images/463074b4440da28461dbe2b9999304bb2a3113f7.jpg
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
images/4ac026c4669338bf873a7dc84359391ec3f4b179.png
Normal file
|
After Width: | Height: | Size: 179 KiB |
BIN
images/4eede0eb69f0f4d743d5f42bef36818f685a0138.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
images/52f9ed75ba546d2d95744b838bdc66a0a1ca4b0e.webp
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
images/56d9c973c076c9a1ab9e58bf9a6607a355b5c672.png
Normal file
|
After Width: | Height: | Size: 655 KiB |
BIN
images/56e7b093b471605473ed695bdcf9833d8c1dd3e4.png
Normal file
|
After Width: | Height: | Size: 312 KiB |
BIN
images/5cd084165cdde4c1704af81b75070ae403550979.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
images/5d069124f6819fdfd6e14513d693caa9c58e17cd.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
images/5e22960a3209601d927827310e6da4ca4b28c095.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
images/5faa912ef68c9cdd585449dc134fad98f91918d8.png
Normal file
|
After Width: | Height: | Size: 326 KiB |
BIN
images/601048a19952909ac9b7786146552abc27ba9e80.png
Normal file
|
After Width: | Height: | Size: 363 KiB |
BIN
images/604607b686923693e6491e2bd8c26c917877455d.png
Normal file
|
After Width: | Height: | Size: 519 KiB |
BIN
images/6a782e2ed1ea8bc73a3bc15f9a1320991e58ee91.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
images/6e85c24f3aca6bfd20bd864c7ded54d0576d2aa1.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
images/6f113c171915532b84447a7e0e0add4a4f341bbc.png
Normal file
|
After Width: | Height: | Size: 412 KiB |
BIN
images/6f7457c11a346eef72a26699ff059886861bf8a7.png
Normal file
|
After Width: | Height: | Size: 562 KiB |
BIN
images/716b12455e20be0d60f6aaecb1ab434a8e7bb45d.png
Normal file
|
After Width: | Height: | Size: 493 KiB |
BIN
images/733852b5fea48b7211a141f321f9d690bce9086a.png
Normal file
|
After Width: | Height: | Size: 618 KiB |
BIN
images/7385eb9e1d2548fb9a38151dbb0b9ddf490e6354.jpg
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
images/73a2b6be5e44dbe6740b9cfb3f11fde2f8f6ded6.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
images/742bc1a14e37db4324f6b4bca7b78b5cd40b07d8.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
images/7550ee6c99b4b7644b7e37bf9313b3684ae712a5.png
Normal file
|
After Width: | Height: | Size: 755 KiB |
BIN
images/786baa5a1ec63ec20d1a7231b4ab2e796fd4c6f4.png
Normal file
|
After Width: | Height: | Size: 187 KiB |
BIN
images/7bead8fa57f0a27e6ea86bf48e8888748afd69c9.png
Normal file
|
After Width: | Height: | Size: 619 KiB |
BIN
images/7cd4df27f6b04f372b9a03ed64c108582b871dbd.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
images/7fec9fe1b6b8eb8585f10a00a5989db727e7fbef.png
Normal file
|
After Width: | Height: | Size: 974 KiB |
BIN
images/830f9b3c73bad290953730eb8d876018e599fc5e.jpg
Normal file
|
After Width: | Height: | Size: 131 KiB |
BIN
images/83345ebdc6cd4a4ab9677d378834b19ef7b044e6.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
images/84c5b5ea70c862f9b25da9ef63434ee7e7f729e9.png
Normal file
|
After Width: | Height: | Size: 346 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 6.4 KiB |
BIN
images/8625fbbe22f0878f73578e599b0dfe76c582a9d3.webp
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
images/8fee07c2d3c1839a335c9e375cfc21ecadccb3d7.png
Normal file
|
After Width: | Height: | Size: 411 KiB |
BIN
images/914b1f58c15fcc3ea682b5a8c97411cb2f55078d.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
images/94fbe0594e5f3a3958bfefb56690a21197eafe69.png
Normal file
|
After Width: | Height: | Size: 975 KiB |
BIN
images/956818ebc1d59412f38afee7d51b8a592924b415.webp
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
images/969606425260ac7dc9ba304ba42b567c02c176ba.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
images/9a377dcd81497fef5ee28e197cd4685d0dcc3cd2.png
Normal file
|
After Width: | Height: | Size: 606 KiB |
BIN
images/9f939f1eec7c517baedc505d3a65c77907ab0dfd.png
Normal file
|
After Width: | Height: | Size: 214 KiB |
BIN
images/a22771ca729bdcd0605283bc8defb369840b5f09.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
images/a8818bc396fe8dd0bbbfdfa41d7954e17124e323.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
images/ab229be0b264a73b45f7fd01c1f47b108d2c3abc.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
images/ac2502270fdf41cfebbeb7abf20da0cd988fde6a.png
Normal file
|
After Width: | Height: | Size: 148 KiB |
BIN
images/ba5c350869bcba17d26f21380c0dd4d95bf0a229.png
Normal file
|
After Width: | Height: | Size: 308 KiB |
BIN
images/bbde773f1e1242d7ba59488545647a4815494a60.png
Normal file
|
After Width: | Height: | Size: 272 KiB |
BIN
images/bc7654569b35fc1c04fde1c45fa9f6c979f2a455.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
images/bdf63f669643bf536897b9588ecdfb8fa85d60b7.png
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
images/c5eecedef283254acc2de6db20a915901af448fd.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
images/c85c35f101a589904bec4452b3945c33ce0f43e6.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
images/cadfd310ff5d7034e01b772c8593c053b7d61e8c.png
Normal file
|
After Width: | Height: | Size: 383 KiB |
BIN
images/cd4cdb568f802c1d7d736efcaf48ea0edb6d1c88.png
Normal file
|
After Width: | Height: | Size: 322 KiB |
BIN
images/d0c36e0810587535f5ad16b4f539aa620a714312.png
Normal file
|
After Width: | Height: | Size: 409 KiB |
BIN
images/d47f28f55a459ad01e732cc1c4eaeb6d4b814875.png
Normal file
|
After Width: | Height: | Size: 107 KiB |
BIN
images/d98a57005bedb29c731b6c60436a99259e6e1bce.png
Normal file
|
After Width: | Height: | Size: 262 KiB |
BIN
images/db3f34fcb168b4a5770571ebdc791fb7a6962821.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
images/dd1c2130be88d7122c3937832447664c70e196df.png
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
images/ddedcd3e959fbb0e41fe4ae78ff9782a572456d2.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
images/e146e5ac3105af8ced5d05cbb374c3370a243196.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
images/e4a34abf75962a64959285dc37fc2bc62fda7ffd.png
Normal file
|
After Width: | Height: | Size: 300 KiB |
BIN
images/e7111d13695c758357680d8682e0fb20ea5fc806.png
Normal file
|
After Width: | Height: | Size: 734 KiB |
BIN
images/e96cfe986f6762acbb0db691c010e2763094d0f2.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
images/eb3bd154c503c6a86f896f1321c15d1878d53bb6.jpg
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
images/f912813c7779be23c90eb7e92b3a4e1d1f740c05.jpg
Normal file
|
After Width: | Height: | Size: 52 KiB |
@@ -1,5 +1,3 @@
|
|||||||
keep
|
keep
|
||||||
|
|
||||||
youtube [action3/ android-Cam]
|
youtube [action3/ android-Cam]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
25
nomadvps/如何成为数字游民.md
Normal 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工具软件`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 旅行,赚钱和社交
|
||||||
37
nomadvps/我为什么创建.md
Normal 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
@@ -0,0 +1,7 @@
|
|||||||
|
nanopi 带壳 R4S
|
||||||
|
|
||||||
|
阿里巴巴 一键铺货
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`opernwrt``软路由`装`docker安装[NAS/ homeasstant/wordpress ]
|
||||||
3
pve/install img.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```
|
||||||
|
qm importdisk 100 /var/lib/vz/template/iso/xx.img local
|
||||||
|
```
|
||||||
35
wordpress/涨粉秘籍.md
Normal 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">
|
||||||
51
公众号/chrome插件开发2:图书搜索.md
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
## chrome插件:图书搜索
|
||||||
|
|
||||||
|
> 注意:并不是比价软件(目前还没做)
|
||||||
|
|
||||||
|
以前喜欢看书,以及买书,所有在互联网平台筛选后,然后去书城浏览一下值不值得买,就是一个惯性的操作
|
||||||
|
|
||||||
|
但是操作起来,比较繁琐,通常要
|
||||||
|
|
||||||
|
- 复制书名
|
||||||
|
|
||||||
|
- 打开书城网站,粘贴=>搜索
|
||||||
|
|
||||||
|
- 在一堆结果中查找
|
||||||
|
|
||||||
|
为什么是一堆结果,因为只有`ISBN`是唯一的出版号,如果搜索中文,就会匹配N多关键词
|
||||||
|
|
||||||
|
> 用了插件后,打开页面就会自动显示[`位置/书架/库存/价格`]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
在移动互联网时代,书城机构也紧跟步伐,取消了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">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
后续会追加
|
||||||
|
|
||||||
|
- 城市图书馆/学校图书馆
|
||||||
|
|
||||||
|
- 特色书店
|
||||||
|
|
||||||
|
- 互联网平台:微信读书/京东/豆瓣 (确定电子书价格)
|
||||||
|
|
||||||
|
- 该图书分类/领域,有新书时,消息通知
|
||||||
|
|
||||||
|
|
||||||
45
公众号/linux安装安卓虚拟机.md
Normal 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`进行目标检测
|
||||||
|
|
||||||
|

|
||||||
59
公众号/云手机2:安卓环境配置.md
Normal 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文件,直接拖拽到手机窗口,就会自动安装了
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 激活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
@@ -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抓包
|
||||||
|
|
||||||
|
> 在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挂机,也需要安卓虚拟机
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 挂游戏
|
||||||
|
|
||||||
|
> 打开游戏时,会变成横屏模式
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 最后,测试数据
|
||||||
|
|
||||||
|
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142205259.jpg" alt="" width="248">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1
公众号/单干:成为超级个体.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
55
公众号/可爱猫机器人.md
Normal 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">
|
||||||
1
公众号/建了微信群.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## 微信对话开放平台
|
|
||||||
|
|
||||||
|
|
||||||
63
公众号/微信机器人接入.md
Normal 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服务器,实现低成本实现个人助手,未来可期
|
||||||
|
|
||||||
|
|
||||||
88
公众号/打造1台云手机.md
Normal 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
|
||||||
|
```
|
||||||
17
公众号/树莓派/香橙派/开发板.md
Normal 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微信机器人)
|
||||||
49
公众号/私有化部署.md
Normal 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,接入到微信机器人,方便使用
|
||||||