feat: Research: NotebookLM — create audio overview of SOUL.md as podcast (#293)
Some checks failed
CI / validate (pull_request) Failing after 7s
CI / auto-merge (pull_request) Has been skipped

Refs #293
Agent: groq
This commit is contained in:
Alexander Whitestone
2026-03-24 08:50:16 -04:00
parent f6a797c3c3
commit fc2d8bed02
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);
}