[groq] Research: NotebookLM — create audio overview of SOUL.md as podcast (#293) (#368)
Some checks failed
Deploy Nexus / deploy (push) Failing after 6s

This commit was merged in pull request #368.
This commit is contained in:
2026-03-24 12:50:52 +00:00
parent f6a797c3c3
commit 51967280a9
3 changed files with 12 additions and 0 deletions

4
app.js
View File

@@ -2732,6 +2732,10 @@ document.getElementById('podcast-toggle').addEventListener('click', () => {
utterance.lang = 'en-US';
utterance.rate = 0.9;
utterance.pitch = 0.9;
utterance.onend = () => {
document.getElementById('podcast-toggle').disabled = false;
};
document.getElementById('podcast-toggle').disabled = true;
speechSynthesis.speak(utterance);
})
.catch(err => {

View File

@@ -36,6 +36,9 @@
<button id="export-session" class="chat-toggle-btn" aria-label="Export session as markdown" title="Export session log as Markdown">
📥
</button>
<button id="podcast-toggle" class="chat-toggle-btn" aria-label="Start podcast of SOUL.md" title="Play SOUL.md as audio">
🎧
</button>
<button id="podcast-toggle" class="chat-toggle-btn" aria-label="Start podcast of SOUL.md" title="Play SOUL.md as audio podcast">
🎧
</button>

View File

@@ -109,6 +109,11 @@ canvas {
font-family: var(--font-body);
transition: background-color 0.2s ease;
}
#podcast-toggle:disabled {
opacity: 0.6;
cursor: not-allowed;
}
#podcast-toggle:hover {
background-color: var(--color-primary);
}