Files
t-youtube/PLAN.md
T
2026-07-09 23:29:46 +08:00

62 lines
2.4 KiB
Markdown

# Remaining Tasks
## P0 — Immediate Follow-ups
### 1. Deploy Sprint 1 code to NAS (Docker rebuild)
Sprint 1 fixes (`575fdab`+, agent_worker.py, proxy support, scroll-based mark-read) are committed and pushed to Gitea, but **NAS container is running old code**`agent_worker.py` missing.
- Rebuild Docker image with latest code
- Restart container
- Verify `AGENT_ENABLED=true` and `QWEN_BASE_URL=http://localhost:8080` in container env
### 2. Fix daily sync cron
`t-youtube-daily-sync` errored last run (Jul 9 03:55). Check the sync script at `run_sync.py` for the failure cause. The VPS-based `fetch_and_sync.sh` may have replaced the local sync cron — verify which is the active pipeline.
### 3. Verify tg-group-filter first delivery
Cron was fixed from `deliver: local``deliver: all`. First run at ~22:18 should deliver to Telegram. Check that the filter output reaches the user.
---
## P1 — High Value
### 4. nas-tools main deploy (sidebar refactor)
Dev CI is green. Sidebar now includes t-youtube, Media Management, Hermes. Just needs:
```bash
git checkout main
git merge dev
git push origin main
```
Then verify production deploy on `nas.jimmygan.com`.
### 5. Connect Google AI Pro to Hermes
User has Google AI Pro plan accessed via `ccg` → Antigravity proxy (`localhost:8081`). Configure Hermes to use it (Option 1 chosen: custom provider pointing at the proxy). This unlocks Gemini models at no extra cost, improving summarization and agent quality.
---
## P2 — Product & Brand
### 6. t-youtube Sprint 2 (UX Overhaul)
- Full-text search across video titles
- Batch select / mark multiple videos read
- Infinite scroll (cursor-based pagination)
- Duration + view count in list
- Transcript accordion in detail view
### 7. t-youtube → public asset (brand play)
Already built: vim-keyboard YouTube reader with AI summaries. Could be:
- Twitter/X thread: "I built a better YouTube reader"
- Open-source README with screenshots
- Blog post about architecture (FastAPI + Svelte 5 + DeepSeek)
---
## P3 — Infrastructure
### 8. Proxy env support in n8n / other services
For stable operation from China.
### 9. t-youtube DB backup to MBP
Single source of truth. Add cron: `ssh nas "cat /volume1/docker/t-youtube/data/t_youtube.db" > ~/backups/t_youtube/$(date +%F).db`
### 10. Cleanup old Gmail labels
Old labels (Bank, Brokers, Fund, Login Notice, jobs, 购物) still in sidebar — not deleted, just archived.