Skip to content

Commit 2d7cc3b

Browse files
HugoGresseclaude
andauthored
Improve scripts for youtube/subtitltles/thumbnails (#280)
* Update thumbnail generation * Improve resiliency of the script * Move to OpenRouter and add filters * Add exclude id to subtitle upload * Fix yt to openplanner * Address Copilot review on scripts - youtubeAPI: guard undefined playlist items before spread - youtubeBatchEdit: derive tag year from session date, not run date - youtubeSubtitleEdit: fix OPENROUTER_MODEL default in doc comment - thumbnails README: fix background asset link .jpg -> .png Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 9c6ce48 commit 2d7cc3b

21 files changed

Lines changed: 2493 additions & 117 deletions

scripts/.env.example

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
YOUTUBE_PLAYLIST_ID=YOUTUBE_PLAYLIST_ID
22
OPENPLANNER_EVENT_ID=
33
OPENPLANNER_API_KEY=
4+
5+
# Speech-to-text (youtubeSubtitleEdit.js)
46
GLADIA_API_KEY=
5-
OPENAI_API_KEY=
7+
GLADIA_MODEL=solaria-3
8+
9+
# Keyword extraction via OpenRouter (youtubeSubtitleEdit.js)
10+
OPENROUTER_API_KEY=
11+
OPENROUTER_MODEL=z-ai/glm-5.2
12+
13+
# Thumbnails source dir for youtubeBatchEdit.js (defaults to youtube-thumbnails/output/<eventId>)
14+
THUMBNAILS_DIR=

0 commit comments

Comments
 (0)