Commit Graph

85 Commits

Author SHA1 Message Date
Gan, Jimmy 3cf9c0b1da fix: t-youtube digest cron — correct NAS URL, token from .hermes/.env, Telegram 4K limit 2026-07-12 17:04:58 +08:00
Gan, Jimmy edf28970d9 sprint: mark all 4 Agent Queue ACs done — code was already implemented 2026-07-12 15:31:29 +08:00
Gan, Jimmy d2ff8fc911 fix: restore GROUPS_PER_CYCLE=56 (was 0=scan all, causes rate limits)
Deploy t-youtube / Build & Deploy (push) Successful in 3m37s
2026-07-12 14:06:33 +08:00
Gan, Jimmy af24287748 chore: tg_filter emoji fix, sprint spec update, tg_digest script 2026-07-12 01:41:15 +08:00
Gan, Jimmy f1ada7d277 feat: use yt-dlp as primary transcript fetcher, fallback to youtube-transcript-api
- Add _ytdlp_transcript() — fetch transcripts via yt-dlp Python API
  (supports json3/srv3/vtt/srt subtitle formats, cookies.txt auth)
- Add _parse_subtitles() — parse subtitle formats into plain text
- Keep _yttranscript_api_transcript() as fallback
- download_transcript() tries yt-dlp first, then youtube-transcript-api
- Add yt-dlp to requirements.txt
- Update tests to mock both paths (all 23 pass)
- Document Google Data API v3 caption limitations in architecture.md
  (captions.list works, captions.download=403 for non-owned videos)
2026-07-12 01:36:53 +08:00
Gan, Jimmy fd16217076 agent frontend: Agents tab UI + sprint 003.5 spec
Deploy t-youtube / Build & Deploy (push) Successful in 1m43s
2026-07-12 00:15:31 +08:00
Gan, Jimmy 757c4b29c8 feat: agent_worker DeepSeek fallback & Sprint 003 spec
Deploy t-youtube / Build & Deploy (push) Successful in 1m48s
2026-07-11 16:09:29 +08:00
Gan, Jimmy 40a2666e55 ci: revert clone URL to http://gitea:3000 now that container network is properly configured
Deploy t-youtube / Build & Deploy (push) Successful in 2m28s
2026-07-11 14:18:45 +08:00
Gan, Jimmy 82e0be08de ci: use docker:cli container, install git dynamically, mount /volume1
Deploy t-youtube / Build & Deploy (push) Failing after 31s
2026-07-11 14:17:43 +08:00
Gan, Jimmy 8020a66ae7 ci: remove duplicate docker.sock volume mount to fix container creation error
Deploy t-youtube / Build & Deploy (push) Failing after 9s
2026-07-11 14:15:38 +08:00
Gan, Jimmy 39a665b5b9 ci: specify image ubuntu:latest in container block to trigger proper docker container spawn with volume mounts
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-11 14:14:57 +08:00
Gan, Jimmy 554060c665 ci: mount /volume1 into deploy container so docker cli can read host .env file
Deploy t-youtube / Build & Deploy (push) Failing after 2s
2026-07-11 14:14:24 +08:00
Gan, Jimmy a62b8b3473 ci: use localhost 127.0.0.1:3300 for checkout since job runs in host network namespace
Deploy t-youtube / Build & Deploy (push) Failing after 1m9s
2026-07-11 14:00:44 +08:00
Gan, Jimmy 01b918eb91 ci: use host.docker.internal:3300 for checkout to bypass DNS issue
Deploy t-youtube / Build & Deploy (push) Failing after 2s
2026-07-11 13:57:16 +08:00
Gan, Jimmy 6d8f76321f ci: clear build folder before git clone to prevent checkout error
Deploy t-youtube / Build & Deploy (push) Failing after 4s
2026-07-11 13:51:14 +08:00
Gan, Jimmy b81f6ef775 docs: create sprint-002 specification and mark all tasks as completed 2026-07-11 13:45:29 +08:00
Gan, Jimmy 022b024603 Sprint 002: Ingest duration & view count, FTS search, infinite scroll pagination, and transcript accordion
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-11 13:16:59 +08:00
Gan, Jimmy 623dff149c sprint: mark all ACs complete — sync verified OK, TG delivery verified 2026-07-11 12:20:17 +08:00
Gan, Jimmy 20a3469e01 ci: mount docker socket in deploy container for docker-in-docker
Deploy t-youtube / Build & Deploy (push) Failing after 0s
2026-07-11 12:08:09 +08:00
Gan, Jimmy 7f9d6393e7 ci: re-trigger with fixed runner config
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-11 11:46:37 +08:00
Gan, Jimmy 4dfd3c04da ci: retry after runner config fix (nas:ubuntu) 2026-07-11 11:46:23 +08:00
Gan, Jimmy deeb2a04a5 ci: trigger rebuild with nas runner label
Deploy t-youtube / Build & Deploy (push) Failing after 0s
2026-07-11 11:33:20 +08:00
Gan, Jimmy 5313a5b54d ci: trigger rebuild after runner config fix (nas label) 2026-07-11 11:31:21 +08:00
Gan, Jimmy 3ebbd25ca0 fix CI: use nas runner with gitea_gitea network, remove save/load pipe
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-11 09:03:32 +08:00
Gan, Jimmy a2d5d28aaf refactor: reformat tg_filter.py and clean up
Deploy t-youtube / Build & Deploy (push) Failing after 1m30s
2026-07-11 05:24:40 +08:00
Gan, Jimmy 43977205b6 docs: add comprehensive project docs (architecture, progress, configuration, troubleshooting) 2026-07-10 00:18:50 +08:00
Gan, Jimmy 37cc8bfec6 fix CI: single ubuntu-latest job, use host Docker binary for swap
Deploy t-youtube / Build & Deploy (push) Failing after 49s
2026-07-10 00:05:09 +08:00
Gan, Jimmy 5e8ac62672 fix CI: split build (ubuntu) + deploy (nas:host), use host Docker binary for deploy
Deploy t-youtube / Build (push) Successful in 47s
Deploy t-youtube / Deploy (push) Failing after 0s
2026-07-10 00:00:40 +08:00
Gan, Jimmy 1e1eec1ecd add PDD workflow: CLAUDE.md, PDD.md, sprint spec with active symlink 2026-07-09 23:57:04 +08:00
Gan, Jimmy 9c81befaa2 fix CI: apply DOCKER_API_VERSION=1.43 to all docker commands
Deploy t-youtube / Build & Deploy (push) Failing after 39s
2026-07-09 23:57:04 +08:00
Gan, Jimmy 31bb2496a7 debug CI: set -x + ls .env on deploy step
Deploy t-youtube / Build & Deploy (push) Failing after 3m48s
2026-07-09 23:48:36 +08:00
Gan, Jimmy 2cd0ba13dd docs: architecture, sprints, and deployment guide 2026-07-09 23:45:41 +08:00
Gan, Jimmy cc9a4487ac fix CI: set DOCKER_API_VERSION=1.43 (NAS daemon too old for ubuntu-latest Docker CLI)
Deploy t-youtube / Build & Deploy (push) Failing after 1m41s
2026-07-09 23:45:06 +08:00
Gan, Jimmy bc77de05b5 debug CI: show Dockerfile + docker version on build failure
Deploy t-youtube / Build & Deploy (push) Failing after 27s
2026-07-09 23:41:21 +08:00
Gan, Jimmy ca2dc468ca fix CI: clone to /volume1 so host Docker daemon can see build context
Deploy t-youtube / Build & Deploy (push) Failing after 18s
2026-07-09 23:37:59 +08:00
Gan, Jimmy 7659d7187e fix CI: use ubuntu-latest (Docker) not nas:host, clone via gitea:3000
Deploy t-youtube / Build & Deploy (push) Failing after 28s
2026-07-09 23:34:33 +08:00
Gan, Jimmy 67af93999e chore: move PLAN.md to docs/ 2026-07-09 23:33:28 +08:00
Gan, Jimmy 11264efbb3 debug CI: check environment in first step
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-09 23:30:58 +08:00
Gan, Jimmy 22719e5e0d docs: remaining tasks and follow-ups 2026-07-09 23:29:46 +08:00
Gan, Jimmy 2275f9cc1f fix CI: use git -C and absolute paths, avoid cd
Deploy t-youtube / Build & Deploy (push) Failing after 5s
2026-07-09 23:27:06 +08:00
Gan, Jimmy 57dcc8527c fix CI: HTTP fetch + separate steps for debugging
Deploy t-youtube / Build & Deploy (push) Failing after 3s
2026-07-09 23:24:02 +08:00
Gan, Jimmy 505c19eb8a fix CI: single step using existing /volume1/docker/t-youtube repo
Deploy t-youtube / Build & Deploy (push) Failing after 2s
2026-07-09 23:18:16 +08:00
Gan, Jimmy cfa8ae5b04 fix CI: nas:host runs on NAS directly, use localhost:3300 not gitea:3000
Deploy t-youtube / Build & Deploy (push) Failing after 2s
2026-07-09 23:14:33 +08:00
Gan, Jimmy 92dcfd6b04 fix CI: clone to /volume1 shared path, use gitea:3000 hostname
Deploy t-youtube / Build & Deploy (push) Failing after 0s
2026-07-09 23:11:44 +08:00
Gan, Jimmy 429ea40f29 debug CI: add ls to check build dir
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-09 23:07:47 +08:00
Gan, Jimmy 613bff06f4 fix CI: clone into workspace dir, not /tmp
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-09 23:05:14 +08:00
Gan, Jimmy 1946aa845a fix CI: use localhost:3300 for Gitea clone (allows anonymous)
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-09 23:02:17 +08:00
Gan, Jimmy 312e787055 fix CI: clone fresh repo instead of cd into existing dir
Deploy t-youtube / Build & Deploy (push) Failing after 2m9s
2026-07-09 22:57:03 +08:00
Gan, Jimmy dcf3c0ef78 fix CI checkout: use fetch+merge with HTTP fallback
Deploy t-youtube / Build & Deploy (push) Failing after 0s
2026-07-09 22:55:57 +08:00
Gan, Jimmy a2fad2a6e1 ci: auto-deploy on push to main + remove redundant API token (Authelia is auth layer)
Deploy t-youtube / Build & Deploy (push) Failing after 1s
2026-07-09 22:55:10 +08:00