Skip to content

Explainer videos and product demos made by your AI agent. Free and open source: a local voice (Kokoro), word timing (Whisper) and a canvas renderer turn a script into a narrated MP4.

Name the search terms when icons finds no match

Vincent Schmalbach2a3caeccc431
diff --git a/src/cli.js b/src/cli.js
index e0b4d19..03695e3 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -313,7 +313,7 @@ function icons(words, print) {
.filter((x) => x.score > 0)
.sort((a, b) => b.score - a.score || a.name.localeCompare(b.name))
.slice(0, 40);
- print(scored.map((x) => `${x.name.padEnd(28)} ${x.tags.slice(0, 6).join(', ')}`).join('\n') || 'no matches', { icons: scored.map((x) => x.name) });
+ print(scored.map((x) => `${x.name.padEnd(28)} ${x.tags.slice(0, 6).join(', ')}`).join('\n') || `no icons match "${words.join(' ')}"`, { icons: scored.map((x) => x.name) });
return 0;
}