@@ -17,265 +17,265 @@ const commands = [
17
17
// Process all videos in a specified YouTube playlist.
18
18
cmd : 'npm run as -- --playlist "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr"' ,
19
19
expectedFiles : [
20
- { file : '2024-09-24-ep1-fsjam-podcast-prompt.md' , newName : '02A -playlist-default.md' } ,
21
- { file : '2024-09-24-ep0-fsjam-podcast-prompt.md' , newName : '02B -playlist-default.md' }
20
+ { file : '2024-09-24-ep1-fsjam-podcast-prompt.md' , newName : '02 -playlist-default.md' } ,
21
+ { file : '2024-09-24-ep0-fsjam-podcast-prompt.md' , newName : '03 -playlist-default.md' }
22
22
]
23
23
} ,
24
24
{
25
25
// Process multiple YouTube videos from URLs listed in a file.
26
26
cmd : 'npm run as -- --urls "content/example-urls.md"' ,
27
27
expectedFiles : [
28
- { file : '2024-09-24-ep1-fsjam-podcast-prompt.md' , newName : '03A -urls-default.md' } ,
29
- { file : '2024-09-24-ep0-fsjam-podcast-prompt.md' , newName : '03B -urls-default.md' }
28
+ { file : '2024-09-24-ep1-fsjam-podcast-prompt.md' , newName : '04 -urls-default.md' } ,
29
+ { file : '2024-09-24-ep0-fsjam-podcast-prompt.md' , newName : '05 -urls-default.md' }
30
30
]
31
31
} ,
32
32
{
33
33
// Process a single local audio file.
34
34
cmd : 'npm run as -- --file "content/audio.mp3"' ,
35
35
expectedFile : 'audio-prompt.md' ,
36
- newName : '04 -file-default.md'
36
+ newName : '06 -file-default.md'
37
37
} ,
38
38
{
39
39
// Process local audio file with title prompts, Whisper 'tiny' model, and Ollama.
40
40
cmd : 'npm run as -- --file "content/audio.mp3" --prompt titles --whisper tiny --ollama LLAMA_3_2_1B' ,
41
41
expectedFile : 'audio-ollama-shownotes.md' ,
42
- newName : '05 -titles-prompt-whisper-tiny-ollama-shownotes.md'
42
+ newName : '07 -titles-prompt-whisper-tiny-ollama-shownotes.md'
43
43
} ,
44
44
{
45
45
// Process local audio file with Whisper 'tiny' model.
46
46
cmd : 'npm run as -- --file "content/audio.mp3" --whisper tiny' ,
47
47
expectedFile : 'audio-prompt.md' ,
48
- newName : '06 -whisper-tiny.md'
48
+ newName : '08 -whisper-tiny.md'
49
49
} ,
50
50
{
51
51
// Process a local audio file with all available prompt options (except smallChapters and longChapters)
52
52
cmd : 'npm run as -- --file "content/audio.mp3" --prompt titles summary mediumChapters takeaways questions' ,
53
53
expectedFile : 'audio-prompt.md' ,
54
- newName : '07 -all-prompts.md'
54
+ newName : '09 -all-prompts.md'
55
55
} ,
56
56
{
57
57
// Process a local audio file with multiple prompt sections, Whisper 'tiny' model, and Ollama.
58
58
cmd : 'npm run as -- --file "content/audio.mp3" --prompt titles summary shortChapters takeaways questions --whisper tiny --ollama' ,
59
59
expectedFile : 'audio-ollama-shownotes.md' ,
60
- newName : '08 -all-prompts-ollama-shownotes.md'
60
+ newName : '10 -all-prompts-ollama-shownotes.md'
61
61
} ,
62
62
{
63
63
// Process playlist videos with titles and longChapters prompts, tiny Whisper model, and Ollama for LLM processing.
64
64
cmd : 'npm run as -- --playlist "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr" --prompt titles longChapters --whisper tiny --ollama' ,
65
65
expectedFiles : [
66
- { file : '2024-09-24-ep1-fsjam-podcast-ollama-shownotes.md' , newName : '09A -prompt-whisper-ollama-shownotes.md' } ,
67
- { file : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' , newName : '09B -prompt-whisper-ollama-shownotes.md' }
66
+ { file : '2024-09-24-ep1-fsjam-podcast-ollama-shownotes.md' , newName : '11 -prompt-whisper-ollama-shownotes.md' } ,
67
+ { file : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' , newName : '12 -prompt-whisper-ollama-shownotes.md' }
68
68
]
69
69
} ,
70
70
{
71
71
// Process multiple YouTube videos from URLs with title prompts, Whisper 'tiny' model, and Ollama.
72
72
cmd : 'npm run as -- --urls "content/example-urls.md" --prompt titles --whisper tiny --ollama' ,
73
73
expectedFiles : [
74
- { file : '2024-09-24-ep1-fsjam-podcast-ollama-shownotes.md' , newName : '10A -prompt-whisper-ollama-shownotes.md' } ,
75
- { file : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' , newName : '10B -prompt-whisper-ollama-shownotes.md' }
74
+ { file : '2024-09-24-ep1-fsjam-podcast-ollama-shownotes.md' , newName : '13 -prompt-whisper-ollama-shownotes.md' } ,
75
+ { file : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' , newName : '14 -prompt-whisper-ollama-shownotes.md' }
76
76
]
77
77
} ,
78
78
{
79
79
// Process podcast RSS feed from default order.
80
80
cmd : 'npm run as -- --rss "https://ajcwebdev.substack.com/feed" --whisper tiny' ,
81
81
expectedFile : '2021-05-10-thoughts-on-lambda-school-layoffs-prompt.md' ,
82
- newName : '11 -rss-whisper-tiny.md'
82
+ newName : '15 -rss-whisper-tiny.md'
83
83
} ,
84
84
{
85
85
// Download JSON file with metadata for each item in the RSS feed.
86
86
cmd : 'npm run as -- --rss "https://ajcwebdev.substack.com/feed" --info' ,
87
87
expectedFile : 'ajcwebdev_info.json' ,
88
- newName : '12 -ajcwebdev-rss-info.json' ,
88
+ newName : '16 -ajcwebdev-rss-info.json' ,
89
89
} ,
90
90
{
91
- cmd : 'npm run docker -- --video "https://www.youtube.com/watch?v=MORMZXEaONk"' ,
91
+ cmd : 'npm run docker-cli -- --video "https://www.youtube.com/watch?v=MORMZXEaONk"' ,
92
92
expectedFile : '2024-09-24-ep0-fsjam-podcast-prompt.md' ,
93
- newName : '15 -docker-video-default.md'
93
+ newName : '17 -docker-video-default.md'
94
94
} ,
95
95
{
96
- cmd : 'npm run docker -- --playlist "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr"' ,
96
+ cmd : 'npm run docker-cli -- --playlist "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr"' ,
97
97
expectedFiles : [
98
- { file : '2024-09-24-ep1-fsjam-podcast-prompt.md' , newName : '16A -docker-playlist-default.md' } ,
99
- { file : '2024-09-24-ep0-fsjam-podcast-prompt.md' , newName : '16B -docker-playlist-default.md' }
98
+ { file : '2024-09-24-ep1-fsjam-podcast-prompt.md' , newName : '18 -docker-playlist-default.md' } ,
99
+ { file : '2024-09-24-ep0-fsjam-podcast-prompt.md' , newName : '19 -docker-playlist-default.md' }
100
100
]
101
101
} ,
102
102
{
103
- cmd : 'npm run docker -- --urls "content/example-urls.md"' ,
103
+ cmd : 'npm run docker-cli -- --urls "content/example-urls.md"' ,
104
104
expectedFiles : [
105
- { file : '2024-09-24-ep1-fsjam-podcast-prompt.md' , newName : '17A -docker-urls-default.md' } ,
106
- { file : '2024-09-24-ep0-fsjam-podcast-prompt.md' , newName : '17B -docker-urls-default.md' }
105
+ { file : '2024-09-24-ep1-fsjam-podcast-prompt.md' , newName : '20 -docker-urls-default.md' } ,
106
+ { file : '2024-09-24-ep0-fsjam-podcast-prompt.md' , newName : '21 -docker-urls-default.md' }
107
107
]
108
108
} ,
109
109
{
110
- cmd : 'npm run docker -- --file "content/audio.mp3"' ,
110
+ cmd : 'npm run docker-cli -- --file "content/audio.mp3"' ,
111
111
expectedFile : 'audio-prompt.md' ,
112
- newName : '18 -docker-file-default.md'
112
+ newName : '22 -docker-file-default.md'
113
113
} ,
114
114
{
115
- cmd : 'npm run docker -- --file "content/audio.mp3" --prompt titles --whisperDocker tiny --ollama LLAMA_3_2_1B' ,
115
+ cmd : 'npm run docker-cli -- --file "content/audio.mp3" --prompt titles --whisper tiny --ollama LLAMA_3_2_1B' ,
116
116
expectedFile : 'audio-ollama-shownotes.md' ,
117
- newName : '19 -docker-titles-prompt-whisper-tiny-ollama-shownotes.md'
117
+ newName : '23 -docker-titles-prompt-whisper-tiny-ollama-shownotes.md'
118
118
} ,
119
119
{
120
- cmd : 'npm run docker -- --file "content/audio.mp3" --whisperDocker tiny' ,
120
+ cmd : 'npm run docker-cli -- --file "content/audio.mp3" --whisper tiny' ,
121
121
expectedFile : 'audio-prompt.md' ,
122
- newName : '20 -docker-whisper-tiny.md'
122
+ newName : '24 -docker-whisper-tiny.md'
123
123
} ,
124
124
{
125
- cmd : 'npm run docker -- --file "content/audio.mp3" --prompt titles summary mediumChapters takeaways questions' ,
125
+ cmd : 'npm run docker-cli -- --file "content/audio.mp3" --prompt titles summary mediumChapters takeaways questions' ,
126
126
expectedFile : 'audio-prompt.md' ,
127
- newName : '21 -docker-all-prompts.md'
127
+ newName : '25 -docker-all-prompts.md'
128
128
} ,
129
129
{
130
- cmd : 'npm run docker -- --file "content/audio.mp3" --prompt titles summary shortChapters takeaways questions --whisperDocker tiny --ollama LLAMA_3_2_1B' ,
130
+ cmd : 'npm run docker-cli -- --file "content/audio.mp3" --prompt titles summary shortChapters takeaways questions --whisper tiny --ollama LLAMA_3_2_1B' ,
131
131
expectedFile : 'audio-ollama-shownotes.md' ,
132
- newName : '22 -docker-all-prompts-ollama-shownotes.md'
132
+ newName : '26 -docker-all-prompts-ollama-shownotes.md'
133
133
} ,
134
134
{
135
- cmd : 'npm run docker -- --playlist "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr" --prompt titles --whisperDocker tiny --ollama LLAMA_3_2_1B' ,
135
+ cmd : 'npm run docker-cli -- --playlist "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr" --prompt titles --whisper tiny --ollama LLAMA_3_2_1B' ,
136
136
expectedFiles : [
137
- { file : '2024-09-24-ep1-fsjam-podcast-ollama-shownotes.md' , newName : '23A -docker-prompt-whisper-ollama-shownotes.md' } ,
138
- { file : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' , newName : '23B -docker-prompt-whisper-ollama-shownotes.md' }
137
+ { file : '2024-09-24-ep1-fsjam-podcast-ollama-shownotes.md' , newName : '27 -docker-prompt-whisper-ollama-shownotes.md' } ,
138
+ { file : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' , newName : '28 -docker-prompt-whisper-ollama-shownotes.md' }
139
139
]
140
140
} ,
141
141
{
142
- cmd : 'npm run docker -- --urls "content/example-urls.md" --prompt titles --whisperDocker tiny --ollama LLAMA_3_2_1B' ,
142
+ cmd : 'npm run docker-cli -- --urls "content/example-urls.md" --prompt titles --whisper tiny --ollama LLAMA_3_2_1B' ,
143
143
expectedFiles : [
144
- { file : '2024-09-24-ep1-fsjam-podcast-ollama-shownotes.md' , newName : '24A -docker-prompt-whisper-ollama-shownotes.md' } ,
145
- { file : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' , newName : '24B -docker-prompt-whisper-ollama-shownotes.md' }
144
+ { file : '2024-09-24-ep1-fsjam-podcast-ollama-shownotes.md' , newName : '29 -docker-prompt-whisper-ollama-shownotes.md' } ,
145
+ { file : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' , newName : '30 -docker-prompt-whisper-ollama-shownotes.md' }
146
146
]
147
147
} ,
148
148
{
149
- cmd : 'npm run docker -- --rss "https://ajcwebdev.substack.com/feed"' ,
149
+ cmd : 'npm run docker-cli -- --rss "https://ajcwebdev.substack.com/feed"' ,
150
150
expectedFile : '2021-05-10-thoughts-on-lambda-school-layoffs-prompt.md' ,
151
- newName : '25 -docker-rss-default.md'
151
+ newName : '31 -docker-rss-default.md'
152
152
} ,
153
153
{
154
- cmd : 'npm run docker -- --rss "https://ajcwebdev.substack.com/feed" --info' ,
154
+ cmd : 'npm run docker-cli -- --rss "https://ajcwebdev.substack.com/feed" --info' ,
155
155
expectedFile : 'ajcwebdev_info.json' ,
156
- newName : '26 -docker-ajcwebdev-rss-info.json' ,
156
+ newName : '32 -docker-ajcwebdev-rss-info.json' ,
157
157
} ,
158
158
{
159
159
// Process local audio file with Dockerized Whisper 'base' model.
160
- cmd : 'npm run as -- --file "content/audio.mp3" --whisperDocker base' ,
160
+ cmd : 'npm run as -- --file "content/audio.mp3" --whisper base' ,
161
161
expectedFile : 'audio-prompt.md' ,
162
- newName : '27 -docker-whisper-docker-base.md'
162
+ newName : '33 -docker-whisper-docker-base.md'
163
163
} ,
164
164
{
165
165
// Process multiple YouTube videos from URLs with title prompts, Whisper 'tiny' model, and ChatGPT GPT_4o_MINI model.
166
166
cmd : 'npm run as -- --urls "content/example-urls.md" --prompt titles --whisper tiny --chatgpt GPT_4o_MINI' ,
167
167
expectedFiles : [
168
- { file : '2024-09-24-ep1-fsjam-podcast-chatgpt-shownotes.md' , newName : '28A -chatgpt-gpt-4o-mini.md' } ,
169
- { file : '2024-09-24-ep0-fsjam-podcast-chatgpt-shownotes.md' , newName : '28B -chatgpt-gpt-4o-mini.md' }
168
+ { file : '2024-09-24-ep1-fsjam-podcast-chatgpt-shownotes.md' , newName : '34 -chatgpt-gpt-4o-mini.md' } ,
169
+ { file : '2024-09-24-ep0-fsjam-podcast-chatgpt-shownotes.md' , newName : '35 -chatgpt-gpt-4o-mini.md' }
170
170
]
171
171
} ,
172
172
{
173
173
// Process a video using ChatGPT for LLM operations.
174
174
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --chatgpt' ,
175
175
expectedFile : '2024-09-24-ep0-fsjam-podcast-chatgpt-shownotes.md' ,
176
- newName : '29 -chatgpt-default.md'
176
+ newName : '36 -chatgpt-default.md'
177
177
} ,
178
178
{
179
179
// Process video with ChatGPT using GPT_4o_MINI model.
180
180
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --chatgpt GPT_4o_MINI' ,
181
181
expectedFile : '2024-09-24-ep0-fsjam-podcast-chatgpt-shownotes.md' ,
182
- newName : '30 -chatgpt-gpt-4o-mini.md'
182
+ newName : '37 -chatgpt-gpt-4o-mini.md'
183
183
} ,
184
184
{
185
185
// Process a video using Claude for LLM operations.
186
186
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --claude' ,
187
187
expectedFile : '2024-09-24-ep0-fsjam-podcast-claude-shownotes.md' ,
188
- newName : '31 -claude-default.md'
188
+ newName : '38 -claude-default.md'
189
189
} ,
190
190
{
191
191
// Process video with Claude using CLAUDE_3_SONNET model.
192
192
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --claude CLAUDE_3_SONNET' ,
193
193
expectedFile : '2024-09-24-ep0-fsjam-podcast-claude-shownotes.md' ,
194
- newName : '32 -claude-shownotes.md'
194
+ newName : '39 -claude-shownotes.md'
195
195
} ,
196
196
{
197
197
// Process a video using Gemini for LLM operations.
198
198
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --gemini' ,
199
199
expectedFile : '2024-09-24-ep0-fsjam-podcast-gemini-shownotes.md' ,
200
- newName : '33 -gemini-shownotes.md'
200
+ newName : '40 -gemini-shownotes.md'
201
201
} ,
202
202
{
203
203
// Process video with Gemini using GEMINI_1_5_FLASH model.
204
204
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --gemini GEMINI_1_5_FLASH' ,
205
205
expectedFile : '2024-09-24-ep0-fsjam-podcast-gemini-shownotes.md' ,
206
- newName : '34 -gemini-shownotes.md'
206
+ newName : '41 -gemini-shownotes.md'
207
207
} ,
208
208
{
209
209
// Process a video using Cohere for LLM operations
210
210
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --cohere' ,
211
211
expectedFile : '2024-09-24-ep0-fsjam-podcast-cohere-shownotes.md' ,
212
- newName : '35 -cohere-shownotes.md'
212
+ newName : '42 -cohere-shownotes.md'
213
213
} ,
214
214
{
215
215
// Process video with Cohere using COMMAND_R_PLUS model.
216
216
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --cohere COMMAND_R_PLUS' ,
217
217
expectedFile : '2024-09-24-ep0-fsjam-podcast-cohere-shownotes.md' ,
218
- newName : '36 -cohere-shownotes.md'
218
+ newName : '43 -cohere-shownotes.md'
219
219
} ,
220
220
{
221
221
// Process a video using Mistral for LLM operations
222
222
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --mistral' ,
223
223
expectedFile : '2024-09-24-ep0-fsjam-podcast-mistral-shownotes.md' ,
224
- newName : '37 -mistral-shownotes.md'
224
+ newName : '44 -mistral-shownotes.md'
225
225
} ,
226
226
{
227
227
// Process video with Mistral using MIXTRAL_8x7b model.
228
228
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --mistral MIXTRAL_8x7b' ,
229
229
expectedFile : '2024-09-24-ep0-fsjam-podcast-mistral-shownotes.md' ,
230
- newName : '38 -mistral-shownotes.md'
230
+ newName : '45 -mistral-shownotes.md'
231
231
} ,
232
232
{
233
233
// Process a video using Fireworks for LLM operations
234
234
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --fireworks' ,
235
235
expectedFile : '2024-09-24-ep0-fsjam-podcast-fireworks-shownotes.md' ,
236
- newName : '39 -fireworks-shownotes.md'
236
+ newName : '46 -fireworks-shownotes.md'
237
237
} ,
238
238
{
239
239
// Process a video using Together for LLM operations
240
240
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --together' ,
241
241
expectedFile : '2024-09-24-ep0-fsjam-podcast-together-shownotes.md' ,
242
- newName : '40 -together-shownotes.md'
242
+ newName : '47 -together-shownotes.md'
243
243
} ,
244
244
{
245
245
// Process a video using BLANK for LLM operations
246
246
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --groq' ,
247
247
expectedFile : '2024-09-24-ep0-fsjam-podcast-groq-shownotes.md' ,
248
- newName : '41 -groq-shownotes.md'
248
+ newName : '48 -groq-shownotes.md'
249
249
} ,
250
250
{
251
251
// Process a video using Deepgram for transcription
252
252
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --deepgram' ,
253
253
expectedFile : '2024-09-24-ep0-fsjam-podcast-prompt.md' ,
254
- newName : '42 -deepgram-prompt.md'
254
+ newName : '49 -deepgram-prompt.md'
255
255
} ,
256
256
{
257
257
// Process video using Deepgram and Llama.
258
258
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --deepgram --ollama' ,
259
259
expectedFile : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' ,
260
- newName : '43 -deepgram-ollama-shownotes.md'
260
+ newName : '50 -deepgram-ollama-shownotes.md'
261
261
} ,
262
262
{
263
263
// Process a video using AssemblyAI for transcription
264
264
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --assembly' ,
265
265
expectedFile : '2024-09-24-ep0-fsjam-podcast-prompt.md' ,
266
- newName : '44 -assembly-prompt.md'
266
+ newName : '51 -assembly-prompt.md'
267
267
} ,
268
268
{
269
269
// Process video using AssemblyAI and Llama.
270
270
cmd : 'npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --assembly --ollama' ,
271
271
expectedFile : '2024-09-24-ep0-fsjam-podcast-ollama-shownotes.md' ,
272
- newName : '45 -assembly-ollama-shownotes.md'
272
+ newName : '52 -assembly-ollama-shownotes.md'
273
273
} ,
274
274
{
275
275
// Process an audio file using AssemblyAI with speaker labels
276
276
cmd : 'npm run as -- --video "https://ajc.pics/audio/fsjam-short.mp3" --assembly --speakerLabels' ,
277
277
expectedFile : '2024-05-08-fsjam-short-prompt.md' ,
278
- newName : '46 -assembly-speaker-labels-prompt.md'
278
+ newName : '53 -assembly-speaker-labels-prompt.md'
279
279
}
280
280
]
281
281
0 commit comments