docs: 添加TOOLS.md记录Git认证和项目路径
This commit is contained in:
parent
f8894dd3f3
commit
03ac970c30
83
TOOLS.md
83
TOOLS.md
@ -1,40 +1,43 @@
|
|||||||
# TOOLS.md - Local Notes
|
# TOOLS.md - 项目工具笔记
|
||||||
|
|
||||||
Skills define _how_ tools work. This file is for _your_ specifics — the stuff that's unique to your setup.
|
## Git 认证
|
||||||
|
|
||||||
## What Goes Here
|
### Gitea 服务器
|
||||||
|
- **地址**: http://192.168.3.71:8418
|
||||||
Things like:
|
- **用户名**: openclaw
|
||||||
|
- **密码**: Password1!
|
||||||
- Camera names and locations
|
|
||||||
- SSH hosts and aliases
|
### Push 命令
|
||||||
- Preferred voices for TTS
|
```bash
|
||||||
- Speaker/room names
|
git add -A && git commit -m "message" && git push
|
||||||
- Device nicknames
|
```
|
||||||
- Anything environment-specific
|
|
||||||
|
---
|
||||||
## Examples
|
|
||||||
|
## 网站路径
|
||||||
```markdown
|
|
||||||
### Cameras
|
- **网站根目录**: `alacarte-novel-website/`
|
||||||
|
- **章节JSON**: `alacarte-novel-website/data/chapter-*.json`
|
||||||
- living-room → Main area, 180° wide angle
|
- **章节HTML**: `alacarte-novel-website/chapters/chapter-*.html`
|
||||||
- front-door → Entrance, motion-triggered
|
- **JS配置**: `alacarte-novel-website/js/app.js`
|
||||||
|
- **阅读器**: `alacarte-novel-website/reader.html`
|
||||||
### SSH
|
|
||||||
|
---
|
||||||
- home-server → 192.168.1.100, user: admin
|
|
||||||
|
## 通知脚本
|
||||||
### TTS
|
|
||||||
|
```bash
|
||||||
- Preferred voice: "Nova" (warm, slightly British)
|
./notify.sh "章节标题" "概要" "精彩看点"
|
||||||
- Default speaker: Kitchen HomePod
|
```
|
||||||
```
|
|
||||||
|
发送到微信推送。
|
||||||
## Why Separate?
|
|
||||||
|
---
|
||||||
Skills are shared. Your setup is yours. Keeping them apart means you can update skills without losing your notes, and share skills without leaking your infrastructure.
|
|
||||||
|
## 章节更新流程
|
||||||
---
|
|
||||||
|
1. 创建 `data/chapter-XX.json`
|
||||||
Add whatever helps you do your job. This is your cheat sheet.
|
2. 创建 `chapters/chapter-XX.html`
|
||||||
|
3. 更新 `js/app.js` 版本号
|
||||||
|
4. Git提交推送
|
||||||
|
5. 执行notify.sh通知
|
||||||
Loading…
Reference in New Issue
Block a user