diff --git a/src/pages/book/book.md b/src/pages/book/book.md index ad9b0a9..fc6fd30 100755 --- a/src/pages/book/book.md +++ b/src/pages/book/book.md @@ -1,3 +1,122 @@ +# 无人直播教程 + +2016年1月14日更新 + +## Youtube直播 + +首先推荐arm开发板 [香橙派4pro](http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-4-Pro.html) ,4gb版本 260元左右 + +可以使用技术栈实现无人直播 + +- [shellcrash](https://github.com/juewuy/ShellCrash) + +- python+ffmpeg (实时转播) + +- [docker-chrome浏览器 ](https://github.com/m1k1o/neko)+ (油猴脚本外挂[auto dismiss](https://greasyfork.org/zh-CN/scripts/557378-youtube-studio-auto-dismiss)) + + + +--- + +## 刷linux系统 + +准备`TF 卡`一张,建议64gb + +买一个usb3.0的`读卡器` + +在官方网站的百度网盘下载 `ubuntu server` 操作系统 + +在电脑下载软件` balenaEtcher` + +20260114234337_20260114_234355_341.png + +把系统镜像,刷写到TF 后, + +开发板插网线,插电,就可以ssh登录了,账号密码 `orangepi` + +``` +ssh orangepi@开发板ip地址 +``` + +--- + +## shellcrash + +![20260114235234_20260114_235250_2088.png](https://minioweb.hackrobot.cn/hackrobot/20260114235234_20260114_235250_2088.png) + +shellcrash可以看作`飞机`,加油之后科学上网才能飞往美国(全球其他国家) + +加油步骤 + +- 去[nomadro.com](https://nomadro.com/),买vps服务器 和 静态住宅ip + +- 谷歌搜索 [八合一](https://github.com/mack-a/v2ray-agent)`一键脚本` + +进入香橙派系统后,复制一下命令并回车 + +``` +export url='https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master' \ + && wget -q --no-check-certificate -O /tmp/install.sh $url/install.sh \ + && bash /tmp/install.sh \ + && . /etc/profile &> /dev/null +``` + +按照提示,进行安装 + +--- + +## chrome浏览器 + +在电脑的浏览器,可以实时打开开发板里面的docker容器浏览器 + +![20260108045701_20260114_235117_1788.png](https://minioweb.hackrobot.cn/hackrobot/20260108045701_20260114_235117_1788.png) + +> 数据持久化 + +``` +mkdir -p ~/neko-chromium-profile +chown -R 1000:1000 ~/neko-chromium-profile +``` + +> 自定义策略 + +让浏览器可以运行外挂脚本 + +``` +mkdir -p ~/neko-policies/managed +chown -R 1000:1000 ~/neko-policies +``` + +写入配置文件 + +``` +cat < ~/neko-policies/managed/policies.json +{ + "ExtensionInstallForcelist": [ + "dhdgffkkebhmkfjojejmpbldmpobfkfo;https://clients2.google.com/service/update2/crx" + ], + "ExtensionInstallAllowlist": [ + "*" + ], + "ExtensionInstallBlocklist": [], + "DownloadRestrictions": 0, + "AllowFileSelectionDialogs": true, + "URLAllowlist": ["file:///home/neko/Downloads/*"], + "DefaultCookiesSetting": 4, + "RestoreOnStartup": 4, + "RestoreOnStartupURLs": ["https://nomadro.com"] +} +EOF + +``` + + + + + + + + # 前言 ## 🚀 数字游民:地理套利与自动化杠杆 diff --git a/src/pages/book/info.md b/src/pages/book/info.md index eb2fc87..8447164 100755 --- a/src/pages/book/info.md +++ b/src/pages/book/info.md @@ -1,3 +1,4 @@ + # 低成本工作室: 云手机 > 电子书+视频教程