Repository navigation
- Sets itself up. The install is one line,
npx skills add kar2phi/video-lens. On the
first video, video-lens checks what is missing, says what it would install and asks once.
On yes it installs youtube-transcript-api (and yt-dlp, if you want chapters and richer
metadata) into its own folder,~/.local/share/video-lens/venv, and carries on with the
same video. It never touches your system Python, so Homebrew's and Debian's
"externally-managed-environment" error no longer applies. mlx-whisper goes in the same
way when you accept local transcription. Recommendations find yt-dlp there too. - Update hint. When the installed youtube-transcript-api is older than a known-good
release, the report run says so and offers the update (setup.py --upgrade). - New-version notice. At most once a day, when a report starts, video-lens fetches
version.jsonfrom this repo on GitHub (one plain GET, nothing about you or your videos).
If a newer video-lens is out, the agent says so in one line after the report and offers
the update; it never updates without asking. Turn it off with
VIDEO_LENS_NO_UPDATE_CHECK=1; it is also off whenCIis set.
With it: video-lens-recs 0.3, which offers the yt-dlp install when it is missing.
Added
scripts/setup.pyinstalls youtube-transcript-api, yt-dlp or mlx-whisper into
~/.local/share/video-lens/venv;scripts/venv_env.pyre-runs the scripts with that
venv's Python and finds yt-dlp onPATH, then in the venv. Preflight prints
SETUP_NEEDED:andLIBRARY_OUTDATED:;references/setup.mdtells the agent to ask once
and carry on with the same video. The README gains a manual-install block.scripts/update_check.py: preflight printsSKILL_OUTDATED:whenversion.jsonon main
lists a newer version. The timestamp is written before the fetch, so offline runs don't
retry; only version-shaped strings reach the agent.VIDEO_LENS_VERSION_URLpoints it
elsewhere (tests and evals run with the check off).references/setup.md§5 covers the
update, bynpx skills updateor, for a clone,git pulland reinstall.- video-lens-recs:
SETUP_NEEDED: yt-dlpandERROR:YTDLP_MISSINGare handled by offering
the install into video-lens's venv.
Commits: 1eca5e8, d18f2bb.