vault backup: 2026-01-08 09:34:22

This commit is contained in:
windyboy
2026-01-08 09:34:22 +08:00
parent e967fa874a
commit 0e4d21f721
28 changed files with 3164 additions and 271 deletions
+46 -96
View File
@@ -13,113 +13,63 @@
[[ZeroLuawesome-nanobanana-pro 🚀 An awesome list of curated Nano Banana pro prompts and examples. Your go-to resource for mastering prompt engineering and exploring the creative potential of the Nano banana pro(Nano banana 2) AI image model.]]
### New Clash Config for Openwrt
在 OpenWrt 上安装 Nikki(即 MihomoTProxy 的现代版本)主要有两种方法:**通过 OPKG 软件包管理器安装(推荐)** 和 **手动上传 IPK 包安装**
以下是详细的分步安装指南:
### 准备工作
1. **确认架构**:你需要知道你的路由器 CPU 架构(如 `x86_64`, `aarch64_generic`, `mips_24kc` 等),以便下载对应的核心文件。
2. **更新软件源**:在执行任何安装命令前,务必更新软件包列表。
```bash
opkg update
```
---
### 方法一:使用 OPKG 在线安装(推荐)
如果你的 OpenWrt 固件已经添加了第三方软件源(如 ImmortalWrt 自带源),或者你想添加 Nikki 的官方源,这是最方便的方法。
# Daily Review - 2026-01-07
1. **添加公钥和软件源**
SSH 登录到路由器,执行以下命令(以 `x86_64` 为例,其他架构请替换 URL 中的架构名):
```bash
# 下载公钥
wget https://downloads.nikki-org.io/key-builds.pub -O /etc/opkg/keys/key-builds.pub
## Accomplished
# 添加软件源 (请将 x86_64 替换为你设备的架构)
echo "src/gz nikki https://downloads.nikki-org.io/snapshots/x86_64/generic/packages" >> /etc/opkg/customfeeds.conf
- ✓ Captured 3 web clippings on AI agents and Obsidian tooling
- ✓ Documented Nikki/OpenWrt installation guide for Clash proxy upgrade
- ✓ Set up Memvid memory system for vault semantic search
- ✓ Researched Claude Skills for Obsidian integration (noted installation issues)
# 更新列表
opkg update
```
## Progress Made
2. **安装插件**
```bash
opkg install nikki
```
*系统会自动处理依赖关系并安装。*
---
### 方法二:手动下载 IPK 安装(离线/手动)
如果无法通过源安装,可以手动下载文件上传安装。
#### 1. 下载必要文件
你需要下载两个主要文件:
* **Nikki 插件本体** (`luci-app-nikki` 或 `nikki`): 这是 Web 界面和控制脚本。
* **Mihomo 核心** (`mihomo`): 这是代理程序的二进制核心。
前往 [Nikki Release 页面](https://github.com/nikkinikki-org/OpenWrt-nikki/releases) 下载最新版 `.ipk` 文件。
#### 2. 安装依赖(关键步骤)
Nikki 依赖一些系统组件,必须先安装。SSH 执行:
```bash
opkg update
opkg install kmod-nft-tproxy kmod-nft-socket kmod-tun iptables-nft ip-full yq-go
```
*注意:如果是旧版 OpenWrt(21.02 及以下),可能需要安装 `iptables-mod-tproxy` 等旧版依赖,建议使用 OpenWrt 23.05 或更高版本。*
#### 3. 上传并安装
1. 使用工具(如 WinSCP 或 SCP 命令)将下载好的 `.ipk` 文件上传到路由器的 `/tmp` 目录。
2. 执行安装命令:
```bash
cd /tmp
opkg install mihomo_*.ipk # 先安装核心
opkg install nikki_*.ipk # 后安装插件
```
---
### 方法三:手动替换/更新核心(可选)
如果你安装好插件后发现核心版本太旧,或者需要特定版本,可以手动替换核心。
1. **下载核心**:去 [Mihomo GitHub Releases](https://github.com/MetaCubeX/mihomo/releases) 下载对应架构的 `mihomo-linux-xxx.gz` 文件。
2. **解压并重命名**:解压得到二进制文件,重命名为 `mihomo`。
3. **上传替换**
* 上传到 `/usr/bin/` 目录(或者插件设置中指定的路径)。
* 赋予执行权限:
```bash
chmod +x /usr/bin/mihomo
```
4. **重启服务**:在网页端重启 Nikki 插件。
---
### 安装后检查
安装完成后,刷新 OpenWrt 网页后台(LuCI),你应该能在 **"服务 (Services)"** 菜单下看到 **"Nikki"** 或 **"Mihomo"**。
**常见报错处理:**
* **缺少依赖**:如果安装时提示 `kmod-xxx not found`,说明你的固件内核版本与软件源不匹配,或者固件精简了该模块。这种情况下通常需要更换固件或自行编译固件。
* **核心无法启动**:检查是否下载了错误的 CPU 架构核心,或核心文件没有执行权限 (`chmod +x`)。
安装完成后,即可按照上一条回答中的步骤导入订阅并使用。
## Questions
<!-- What am I curious about today? -->
-
- **[[02_Areas/GFW]]**: Advanced network infrastructure - documented Nikki installation guide, explored hotspot upgrades via TAP device
- **[[01_Projects/AI-Development]]**: Collected comprehensive AI agent systems survey (arXiv 2601.01743v1) covering architectures, reasoning, planning, evaluation
- **[[03_Resources]]**: Added Obsidian integration resources (kepano's skills plugin) and Nano Banana pro prompt examples
- **Vault Infrastructure**: Installed Memvid MCP for semantic memory search across notes
## Insights
<!-- What did I learn or realize? -->
-
- **AI Agent Architecture Evolution**: Modern agent systems balance latency vs accuracy, autonomy vs controllability, and capability vs reliability - critical trade-offs for practical deployment
- **Obsidian Extensibility Gap**: kepano's skills plugin has documented marketplace installation issues; manual git submodule installation may be more reliable
- **Network Proxy Modernization**: Nikki (MihomoTProxy successor) provides cleaner OpenWrt integration with nftables support, replacing legacy iptables solutions
- **Semantic Memory for PKM**: Memvid enables vector-based semantic search across vault content, complementing traditional keyword/tag retrieval
## Questions
- How can I implement multi-agent coordination patterns from the AI Agent Systems paper in practical Claude Code workflows?
- What are the specific breaking points in the Obsidian skills plugin marketplace installation?
- Can Nikki's TProxy work with existing Clash subscription formats without migration?
- What's the optimal strategy for populating vault memory - batch import or selective curation?
- How to integrate Memvid search into daily research workflows?
## Connections
<!-- Links to other notes or ideas -->
-
- [[kepanoobsidian-skills Claude Skills for Obsidian]] ↔ [[CLAUDE.md]] - Plugin could enhance vault-native AI workflows
- [[AI Agent Systems Architectures, Applications, and Evaluation]] ↔ [[01_Projects/AI-Development]] - Taxonomy framework applies to current development patterns
- [[02_Areas/GFW/Clash-Hotspot-Upgrade]] ↔ [[02_Areas/Network & VPN]] - TAP device approach relevant for broader network configs
- Memvid semantic memory ↔ [[06_Metadata]] - New capability layer for cross-vault knowledge retrieval
- [[ZeroLuawesome-nanobanana-pro]] ↔ [[03_Resources]] - Prompt engineering examples for image generation workflows
## For Tomorrow
<!-- What needs follow-up? -->
-
### Top 3 Priorities
1. **Process Inbox**: Move clippings to appropriate PARA locations - AI paper to Resources, network guides to Areas/GFW
2. **Test Obsidian Skills Plugin**: Validate manual installation steps and document workarounds in setup guide
3. **Populate Vault Memory**: Add 5-10 key resource notes to Memvid for semantic search validation
### Open Loops
- [ ] Add YAML frontmatter to new clippings when processing (created, tags, status fields)
- [ ] Review [[02_Areas/GFW/Bills]] for upcoming payment schedules
- [ ] Download full PDF of AI Agent Systems paper (2601.01743) for detailed analysis
- [ ] Test Nikki installation on staging OpenWrt device before production deployment
- [ ] Create dedicated note for "Adaption of Agentic AI" paper link captured today
- [ ] Organize Nano Banana pro prompts into structured resource note
---
*End of day: Ask Claude Code to review and find connections*
*Completed: 2026-01-07 evening | Next review: 2026-01-08 morning*